Can't build using superbuild

I followed the documentation but cmake gives errors. Following an earlier issue, I added the -DUSE_SYSTEM_dep flag but make still gives errors for boost, python_qt and paraview. Is there updated documentation for how to compile from source?
My cmake command looked like this in the end:
cmake -DENABLE_veloview:BOOL=ON -DUSE_SYSTEM_python:BOOL=ON -DUSE_SYSTEM_boost:BOOL=ON -DUSE_SYSTEM_qt:BOOL=ON -DUSE_SYSTEM_pythonqt:BOOL=ON ../VeloView/Superbuild
Thanks,

@vishisht, which OS are you trying to build on?

Hello Tim,
I'm using Ubuntu 14.04.4 LTS.
Thanks,
Vishi

I'm currently investigating the Linux build. We've had several people ask about it but haven't published official instructions yet. I'll update you here once I have it building.

Thanks. The error that I get with the current configuration is:
CMake Warning at /home/vishi/Software/Velo/build/paraview/src/paraview/CMake/ParaViewPlugins.cmake:981 (message):
GUI resource files in plugins are no longer supported.  The same
functionality can be obtained using Hints in the Server Manager xml files.
See the Major API Changes document for details.
Call Stack (most recent call first):
VelodyneHDL/CMakeLists.txt:161 (add_paraview_plugin)
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so
CMake Error at /home/vishi/Software/Velo/build/paraview/src/paraview/CMake/ParaViewPlugins.cmake:1190 (PYTHON_ADD_MODULE):
Unknown CMake command "PYTHON_ADD_MODULE".
Call Stack (most recent call first):
VelodyneHDL/CMakeLists.txt:199 (WRAP_PLUGIN_FOR_PYTHON)
-- Configuring incomplete, errors occurred!
Any ideas? It is done building all the dependencies and is building the velodyneHDL source. I have tried adding the python include files and libraries with no change.
Regards,
Vishi

What version of CMake are you running? ("cmake --version")

cmake version <IP_ADDRESS>

Upgrade to 3.2 and try again:
sudo apt-get install software-properties-common sudo add-apt-repository ppa:george-edison55/cmake-3.x sudo apt-get update sudo apt-get install --reinstall cmake

Fails on pythonqt after I upgraded to cmake version 3.2.2
/usr/include/python3.4m/tupleobject.h:62:75: note: in definition of macro 'PyTuple_SET_ITEM'
#define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject )(op))->ob_item[i] = v)
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QVariant PythonQt::evalCode(PyObject, PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:702:125: error: 'PyString_AS_STRING' was not declared in this scope
globals = PyObject_GetAttrString(PyImport_ImportModule(PyString_AS_STRING(PyObject_GetAttrString(object, "module"))),"dict");
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:706:64: error: cannot convert 'PyCodeObject*' to 'PyObject* {aka _object*}' for argument '1' to 'PyObject* PyEval_EvalCode(PyObject*, PyObject*, PyObject*)'
r = PyEval_EvalCode((PyCodeObject*)pycode, globals , dict);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QStringList PythonQt::introspectObject(PyObject*, PythonQt::ObjectType)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:893:43: error: 'PyString_AsString' was not declared in this scope
results << PyString_AsString(doc);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:921:39: error: 'PyString_AsString' was not declared in this scope
keystr = PyString_AsString(key);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:929:36: error: 'PyClass_Type' was not declared in this scope
if (value->ob_type == &PyClass_Type || value->ob_type == &PyType_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:934:36: error: 'PyClass_Type' was not declared in this scope
if (value->ob_type != &PyClass_Type
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In function 'int {anonymous}::custom_system_exit_exception_handler()':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1278:20: error: 'Py_FlushLine' was not declared in this scope
if (Py_FlushLine())
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1295:24: error: 'PyInt_Check' was not declared in this scope
if (PyInt_Check(value))
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1296:39: error: 'PyInt_AsLong' was not declared in this scope
exitcode = (int)PyInt_AsLong(value);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'void PythonQt::initPythonQtModule(bool, const QByteArray&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1439:72: error: 'Py_InitModule' was not declared in this scope
_p->_pythonQtModule = Py_InitModule(name.constData(), PythonQtMethods);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QString PythonQt::getReturnTypeOfWrappedMethodHelper(const PythonQtObjectPtr&, const QString&, const QString&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1496:33: error: 'PyClass_Type' was not declared in this scope
if (methodObject->ob_type == &PyClass_Type || methodObject->ob_type == &PyType_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1510:54: error: 'PyString_AsString' was not declared in this scope
className = PyString_AsString(classNameObject);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1544:51: error: 'PyString_AsString' was not declared in this scope
type = QString(PyString_AsString(s)) + "." + type;
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'PyObject* PythonQt::helpCalled(PythonQtClassInfo*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1652:62: error: 'PyString_FromString' was not declared in this scope
return PyString_FromString(info->help().toLatin1().data());
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'bool PythonQtPrivate::isMethodDescriptor(PyObject*) const':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1728:28: error: 'PyClass_Check' was not declared in this scope
!PyClass_Check(object)) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QString PythonQtPrivate::getSignature(PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1744:29: error: 'PyClass_Type' was not declared in this scope
if (object->ob_type == &PyClass_Type || object->ob_type == &PyType_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1759:41: error: 'PyString_AsString' was not declared in this scope
docstr = PyString_AsString(doc);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1766:42: error: 'PyString_AsString' was not declared in this scope
signature = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1785:39: error: 'PyString_AsString' was not declared in this scope
funcName = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1792:41: error: 'PyString_AsString' was not declared in this scope
funcName = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1811:46: error: 'PyString_AsString' was not declared in this scope
arguments << PyString_AsString(name);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1816:40: error: 'PyString_AsString' was not declared in this scope
varargs = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1822:44: error: 'PyString_AsString' was not declared in this scope
varkeywords = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1833:42: error: 'PyString_AsString' was not declared in this scope
defaults << PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In static member function 'static PyObject* PythonQtPrivate::wrapMemoryAsBuffer(const void*, Py_ssize_t)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1885:47: error: 'PyBuffer_FromMemory' was not declared in this scope
return PyBuffer_FromMemory((void*)data, size);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In static member function 'static PyObject* PythonQtPrivate::wrapMemoryAsBuffer(void*, Py_ssize_t)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1891:49: error: 'PyBuffer_FromReadWriteMemory' was not declared in this scope
return PyBuffer_FromReadWriteMemory(data, size);
^
make[5]: *** [CMakeFiles/PythonQt.dir/src/PythonQtConversion.cpp.o] Error 1
make[5]: *** [CMakeFiles/PythonQt.dir/src/PythonQt.cpp.o] Error 1
make[4]: *** [CMakeFiles/PythonQt.dir/all] Error 2
make[3]: *** [all] Error 2
CMake Error at /home/vishi/Software/Velo/build/pv-pythonqt-build.cmake:26 (message):
Failed!!!
make[2]: *** [pythonqt/src/pythonqt-stamp/pythonqt-build] Error 1
make[1]: *** [CMakeFiles/pythonqt.dir/all] Error 2
make: *** [all] Error 2

The reason for your error is not immediately coming to my mind. I'll update with the build instructions when I get through it myself. I'm doing this on my own time, so it might be a few days.

Thanks much.

Hi @vishisht, can you try the updated build instructions located here: https://github.com/Kitware/VeloView/blob/master/Documentation/VeloView_Developer_Guide.rst#linux-build-instructions
Once you're able to build, I will close this issue.

Still getting an error at pythonqt build step. Here is the error.
Scanning dependencies of target pythonqt
[ 56%] Creating directories for 'pythonqt'
[ 58%] Performing download step (git clone) for 'pythonqt'
Cloning into 'pythonqt'...
Switched to a new branch 'patched-3'
Branch patched-3 set up to track remote branch patched-3 from origin.
[ 59%] No patch step for 'pythonqt'
[ 61%] Performing update step for 'pythonqt'
Current branch patched-3 is up to date.
[ 62%] Performing configure step for 'pythonqt'
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.4m.so (found version "3.4.3")
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake (found version "4.8.6")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELWITHDEBINFO
MACOSX_APP_INSTALL_PREFIX

-- Build files have been written to: /home/vishi/Software/Velo/build/pythonqt/src/pythonqt-build
[ 63%] Performing build step for 'pythonqt'
[  4%] [  4%] [  4%] [  4%] [  5%] Generating src/moc_PythonQt.cxx
Generating src/gui/moc_PythonQtScriptingConsole.cxx
Generating src/moc_PythonQtSignalReceiver.cxx
Generating src/moc_PythonQtStdDecorators.cxx
Generating generated_cpp/com_trolltech_qt_uitools/moc_com_trolltech_qt_uitools0.cxx
[  7%] [  8%] [  9%] Generating generated_cpp/com_trolltech_qt_core_builtin/moc_com_trolltech_qt_core_builtin0.cxx
[ 10%] [ 11%] Generating generated_cpp/com_trolltech_qt_gui_builtin/moc_com_trolltech_qt_gui_builtin0.cxx
Generating generated_cpp/com_trolltech_qt_core/moc_com_trolltech_qt_core0.cxx
Generating generated_cpp/com_trolltech_qt_core/moc_com_trolltech_qt_core1.cxx
Generating generated_cpp/com_trolltech_qt_core/moc_com_trolltech_qt_core2.cxx
[ 12%] [ 14%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui0.cxx
[ 15%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui1.cxx
Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui2.cxx
[ 16%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui3.cxx
[ 17%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui4.cxx
[ 18%] [ 20%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui6.cxx
Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui5.cxx
[ 21%] [ 22%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui7.cxx
Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui8.cxx
[ 23%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui9.cxx
[ 24%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui10.cxx
[ 25%] Generating generated_cpp/com_trolltech_qt_gui/moc_com_trolltech_qt_gui11.cxx
Scanning dependencies of target PythonQt
[ 27%] [ 28%] [ 29%] [ 30%] [ 31%] Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtClassInfo.cpp.o
Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtClassWrapper.cpp.o
Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtConversion.cpp.o
Building CXX object CMakeFiles/PythonQt.dir/src/PythonQt.cpp.o
Building CXX object CMakeFiles/PythonQt.dir/src/PythonQtImporter.cpp.o
In file included from /usr/include/python3.4m/pytime.h:6:0,
from /usr/include/python3.4m/Python.h:65,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtPythonInclude.h:93,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtInstanceWrapper.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.h:46,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassInfo.h:41,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassInfo.cpp:42:
/usr/include/python3.4m/object.h:435:23: error: expected unqualified-id before ';' token
PyType_Slot slots; / terminated by slot==0. /
^
make[5]: *** [CMakeFiles/PythonQt.dir/src/PythonQtClassInfo.cpp.o] Error 1
make[5]: *** Waiting for unfinished jobs....
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp: In function 'void initializeSlots(PythonQtClassWrapper)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:159:29: error: 'struct PyNumberMethods' has no member named 'nb_divide'
wrap->_base.as_number.nb_divide = (binaryfunc)PythonQtInstanceWrapper_div;
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:191:29: error: 'struct PyNumberMethods' has no member named 'nb_inplace_divide'
wrap->_base.as_number.nb_inplace_divide = (binaryfunc)PythonQtInstanceWrapper_idiv;
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:216:29: error: 'struct PyNumberMethods' has no member named 'nb_nonzero'
wrap->base.as_number.nb_nonzero = (inquiry)PythonQtInstanceWrapper_nonzero;
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp: In function 'int PythonQtClassWrapper_init(PythonQtClassWrapper*, PyObject*, PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:248:35: error: 'PyTypeObject' has no member named 'ob_type'
if (!superType || (superType->ob_type != &PythonQtClassWrapper_Type)) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp: In function 'PyObject* PythonQtClassWrapper_classname(PythonQtClassWrapper*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:262:100: error: 'PyString_FromString' was not declared in this scope
return PyString_FromString((QString("Class") + type->classInfo()->className()).toLatin1().data());
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp: In function 'PyObject* PythonQtClassWrapper_getattro(PyObject*, PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:318:46: error: 'PyString_AsString' was not declared in this scope
if ((attributeName = PyString_AsString(name)) == NULL) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:345:58: error: 'PyString_FromString' was not declared in this scope
PyObject* initName = PyString_FromString("init");
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:388:100: error: 'Py_FindMethod' was not declared in this scope
PyObject* internalMethod = Py_FindMethod( PythonQtClassWrapper_methods, obj, (char*)attributeName);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp: At global scope:
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:468:1: error: invalid conversion from 'const char*' to 'Py_ssize_t {aka long int}' [-fpermissive]
};
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:468:1: error: invalid conversion from 'PyObject* ()(PyObject, PyObject*) {aka _object* ()(_object, _object*)}' to 'setattrofunc {aka int ()(_object, _object*, _object*)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:468:1: error: cannot convert 'int ()(PyObject, PyObject*, PyObject*) {aka int ()(_object, _object*, _object*)}' to 'PyBufferProcs*' in initialization
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:468:1: error: invalid conversion from 'long unsigned int' to 'const char*' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:468:1: error: invalid conversion from 'initproc {aka int ()(_object, _object*, _object*)}' to 'allocfunc {aka _object* ()(_typeobject, long int)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtClassWrapper.cpp:468:1: error: invalid conversion from 'PyObject* ()(PyTypeObject, Py_ssize_t) {aka _object* ()(_typeobject, long int)}' to 'newfunc {aka _object* ()(_typeobject, _object*, _object*)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp: In function 'void PythonQtImporter_dealloc(PythonQtImporter*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:162:9: error: 'PythonQtImporter' has no member named 'ob_type'
self->ob_type->tp_free((PyObject )self);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp: In function 'PyObject PythonQtImporter_load_module(PyObject*, PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:236:39: error: 'PyString_FromFormat' was not declared in this scope
subname.toLatin1().constData());
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp: At global scope:
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'const char*' to 'Py_ssize_t {aka long int}' [-fpermissive]
};
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'destructor {aka void ()(_object)}' to 'printfunc {aka int ()(_object, _IO_FILE*, int)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'PyObject* ()(PyObject, PyObject*) {aka _object* ()(_object, _object*)}' to 'setattrofunc {aka int ()(_object, _object*, _object*)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'long unsigned int' to 'const char*' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: cannot convert 'char*' to 'traverseproc {aka int ()(_object, int ()(_object, void*), void*)}' in initialization
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: cannot convert 'PyMethodDef*' to 'PyMemberDef*' in initialization
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'initproc {aka int ()(_object, _object*, _object*)}' to 'allocfunc {aka _object* ()(_typeobject, long int)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'PyObject* ()(PyTypeObject, Py_ssize_t) {aka _object* ()(_typeobject, long int)}' to 'newfunc {aka _object* ()(_typeobject, _object*, _object*)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'PyObject* ()(PyTypeObject, PyObject*, PyObject*) {aka _object* ()(_typeobject, _object*, _object*)}' to 'freefunc {aka void ()(void)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:443:1: error: invalid conversion from 'void ()(void)' to 'inquiry {aka int ()(_object)}' [-fpermissive]
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp: In static member function 'static void PythonQtImport::init()':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtImporter.cpp:798:36: error: 'Py_InitModule4' was not declared in this scope
NULL, PYTHON_API_VERSION);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static PyObject* PythonQtConv::ConvertQtValueToPython(const PythonQtMethodInfo::ParameterInfo&, const void*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:81:41: error: 'PyString_FromString' was not declared in this scope
return PyString_FromString(charPtr);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static PyObject* PythonQtConv::ConvertQtValueToPythonInternal(int, const void*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:132:41: error: 'PyInt_FromLong' was not declared in this scope
return PyInt_FromLong(((char)data));
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static void* PythonQtConv::handlePythonToQtAutoConversion(int, PyObject*, void*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:290:63: error: 'PyInt_AS_LONG' was not declared in this scope
Qt::CursorShape val = (Qt::CursorShape)PyInt_AS_LONG(obj);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:302:63: error: 'PyInt_AS_LONG' was not declared in this scope
Qt::GlobalColor val = (Qt::GlobalColor)PyInt_AS_LONG(obj);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:321:63: error: 'PyInt_AS_LONG' was not declared in this scope
Qt::GlobalColor val = (Qt::GlobalColor)PyInt_AS_LONG(obj);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:339:63: error: 'PyInt_AS_LONG' was not declared in this scope
Qt::GlobalColor val = (Qt::GlobalColor)PyInt_AS_LONG(obj);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static void* PythonQtConv::ConvertPythonToQt(const PythonQtMethodInfo::ParameterInfo&, PyObject*, bool, PythonQtClassInfo*, void*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:390:29: error: 'PyString_Type' was not declared in this scope
if (obj->ob_type == &PyString_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:392:51: error: 'PyString_AS_STRING' was not declared in this scope
const char* data = PyString_AS_STRING(obj);
^
make[5]: *** [CMakeFiles/PythonQt.dir/src/PythonQtClassWrapper.cpp.o] Error 1
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:598:37: error: 'PyInt_AS_LONG' was not declared in this scope
val = PyInt_AS_LONG(obj);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static QStringList PythonQtConv::PyObjToStringList(PyObject*, bool, bool&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:679:23: error: 'PyString_Type' was not declared in this scope
(val->ob_type == &PyString_Type ||
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static QString PythonQtConv::PyObjGetRepresentation(PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:700:39: error: 'PyString_AS_STRING' was not declared in this scope
r = QString(PyString_AS_STRING(str));
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static QString PythonQtConv::PyObjGetString(PyObject*, bool, bool&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:709:24: error: 'PyString_Type' was not declared in this scope
if (val->ob_type == &PyString_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:710:39: error: 'PyString_AS_STRING' was not declared in this scope
r = QString(PyString_AS_STRING(val));
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:714:52: error: 'PyString_AS_STRING' was not declared in this scope
r = QString::fromUtf8(PyString_AS_STRING(ptmp));
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:721:41: error: 'PyString_AS_STRING' was not declared in this scope
r = QString(PyString_AS_STRING(str));
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static QByteArray PythonQtConv::PyObjGetBytes(PyObject*, bool, bool&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:736:24: error: 'PyString_Type' was not declared in this scope
if (val->ob_type == &PyString_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:737:38: error: 'PyString_GET_SIZE' was not declared in this scope
long size = PyString_GET_SIZE(val);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:738:42: error: 'PyString_AS_STRING' was not declared in this scope
r = QByteArray(PyString_AS_STRING(val), size);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static int PythonQtConv::PyObjGetInt(PyObject*, bool, bool&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:766:24: error: 'PyInt_Type' was not declared in this scope
if (val->ob_type == &PyInt_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:767:26: error: 'PyInt_AS_LONG' was not declared in this scope
d = PyInt_AS_LONG(val);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:771:28: error: 'PyInt_AS_LONG' was not declared in this scope
d = PyInt_AS_LONG(val);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:784:27: error: 'PyInt_AsLong' was not declared in this scope
d = PyInt_AsLong(val);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static qint64 PythonQtConv::PyObjGetLongLong(PyObject*, bool, bool&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:799:24: error: 'PyInt_Type' was not declared in this scope
if (val->ob_type == &PyInt_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:800:26: error: 'PyInt_AS_LONG' was not declared in this scope
d = PyInt_AS_LONG(val);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:806:28: error: 'PyInt_AS_LONG' was not declared in this scope
d = PyInt_AS_LONG(val);
^
In file included from /usr/include/python3.4m/pytime.h:6:0,
from /usr/include/python3.4m/Python.h:65,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtPythonInclude.h:93,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtInstanceWrapper.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.h:46,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:42:
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static quint64 PythonQtConv::PyObjGetULongLong(PyObject*, bool, bool&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:831:32: error: 'PyInt_Type' was not declared in this scope
if (PyObject_TypeCheck(val, &PyInt_Type)) {
^
/usr/include/python3.4m/object.h:473:22: note: in definition of macro 'PyObject_TypeCheck'
(Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:832:26: error: 'PyInt_AS_LONG' was not declared in this scope
d = PyInt_AS_LONG(val);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:838:28: error: 'PyInt_AS_LONG' was not declared in this scope
d = PyInt_AS_LONG(val);
^
In file included from /usr/include/python3.4m/pytime.h:6:0,
from /usr/include/python3.4m/Python.h:65,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtPythonInclude.h:93,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtInstanceWrapper.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.h:46,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:42:
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static double PythonQtConv::PyObjGetDouble(PyObject*, bool, bool&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:866:34: error: 'PyInt_Type' was not declared in this scope
if (PyObject_TypeCheck(val, &PyInt_Type)) {
^
/usr/include/python3.4m/object.h:473:22: note: in definition of macro 'PyObject_TypeCheck'
(Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:867:28: error: 'PyInt_AS_LONG' was not declared in this scope
d = PyInt_AS_LONG(val);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static QVariant PythonQtConv::PyObjToQVariant(PyObject*, int)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:896:24: error: 'PyString_Type' was not declared in this scope
if (val->ob_type==&PyString_Type || val->ob_type==&PyUnicode_Type) {
^
In file included from /usr/include/python3.4m/pytime.h:6:0,
from /usr/include/python3.4m/Python.h:65,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtPythonInclude.h:93,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtInstanceWrapper.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.h:46,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:42:
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:900:41: error: 'PyInt_Type' was not declared in this scope
} else if (PyObject_TypeCheck(val, &PyInt_Type)) {
^
/usr/include/python3.4m/object.h:473:22: note: in definition of macro 'PyObject_TypeCheck'
(Py_TYPE(ob) == (tp) || PyType_IsSubtype(Py_TYPE(ob), (tp)))
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp: In static member function 'static PyObject* PythonQtConv::QStringToPyObject(const QString&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtConversion.cpp:1097:34: error: 'PyString_FromString' was not declared in this scope
return PyString_FromString("");
^
make[5]: *** [CMakeFiles/PythonQt.dir/src/PythonQtImporter.cpp.o] Error 1
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In constructor 'PythonQt::PythonQt(int, const QByteArray&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:169:52: error: cannot convert 'char*' to 'wchar_t*' for argument '1' to 'void Py_SetProgramName(wchar_t*)'
Py_SetProgramName(const_cast<char*>("PythonQt"));
^
In file included from /usr/include/python3.4m/Python.h:85:0,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtPythonInclude.h:93,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtInstanceWrapper.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.h:46,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:42:
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In static member function 'static PyObject* PythonQtPrivate::dummyTuple()':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:495:65: error: 'PyString_FromString' was not declared in this scope
PyTuple_SET_ITEM(dummyTuple, 0 , PyString_FromString("dummy"));
^
/usr/include/python3.4m/tupleobject.h:62:75: note: in definition of macro 'PyTuple_SET_ITEM'
#define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject )(op))->ob_item[i] = v)
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'PythonQtClassWrapper PythonQtPrivate::createNewPythonQtClassWrapper(PythonQtClassInfo*, PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:525:62: error: 'PyString_FromString' was not declared in this scope
PyObject* className = PyString_FromString(info->className());
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In static member function 'static PyObject* PythonQtPrivate::createNewPythonQtEnumWrapper(const char*, PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:560:53: error: 'PyString_FromString' was not declared in this scope
PyObject* className = PyString_FromString(enumName);
^
In file included from /usr/include/python3.4m/Python.h:85:0,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtPythonInclude.h:93,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQtInstanceWrapper.h:45,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.h:46,
from /home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:42:
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:563:48: error: 'PyInt_Type' was not declared in this scope
PyTuple_SET_ITEM(baseClasses, 0, (PyObject*)&PyInt_Type);
^
/usr/include/python3.4m/tupleobject.h:62:75: note: in definition of macro 'PyTuple_SET_ITEM'
#define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject )(op))->ob_item[i] = v)
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QVariant PythonQt::evalCode(PyObject, PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:702:125: error: 'PyString_AS_STRING' was not declared in this scope
globals = PyObject_GetAttrString(PyImport_ImportModule(PyString_AS_STRING(PyObject_GetAttrString(object, "module"))),"dict");
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:706:64: error: cannot convert 'PyCodeObject*' to 'PyObject* {aka _object*}' for argument '1' to 'PyObject* PyEval_EvalCode(PyObject*, PyObject*, PyObject*)'
r = PyEval_EvalCode((PyCodeObject*)pycode, globals , dict);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QStringList PythonQt::introspectObject(PyObject*, PythonQt::ObjectType)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:893:43: error: 'PyString_AsString' was not declared in this scope
results << PyString_AsString(doc);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:921:39: error: 'PyString_AsString' was not declared in this scope
keystr = PyString_AsString(key);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:929:36: error: 'PyClass_Type' was not declared in this scope
if (value->ob_type == &PyClass_Type || value->ob_type == &PyType_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:934:36: error: 'PyClass_Type' was not declared in this scope
if (value->ob_type != &PyClass_Type
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In function 'int {anonymous}::custom_system_exit_exception_handler()':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1278:20: error: 'Py_FlushLine' was not declared in this scope
if (Py_FlushLine())
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1295:24: error: 'PyInt_Check' was not declared in this scope
if (PyInt_Check(value))
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1296:39: error: 'PyInt_AsLong' was not declared in this scope
exitcode = (int)PyInt_AsLong(value);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'void PythonQt::initPythonQtModule(bool, const QByteArray&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1439:72: error: 'Py_InitModule' was not declared in this scope
_p->_pythonQtModule = Py_InitModule(name.constData(), PythonQtMethods);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QString PythonQt::getReturnTypeOfWrappedMethodHelper(const PythonQtObjectPtr&, const QString&, const QString&)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1496:33: error: 'PyClass_Type' was not declared in this scope
if (methodObject->ob_type == &PyClass_Type || methodObject->ob_type == &PyType_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1510:54: error: 'PyString_AsString' was not declared in this scope
className = PyString_AsString(classNameObject);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1544:51: error: 'PyString_AsString' was not declared in this scope
type = QString(PyString_AsString(s)) + "." + type;
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'PyObject* PythonQt::helpCalled(PythonQtClassInfo*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1652:62: error: 'PyString_FromString' was not declared in this scope
return PyString_FromString(info->help().toLatin1().data());
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'bool PythonQtPrivate::isMethodDescriptor(PyObject*) const':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1728:28: error: 'PyClass_Check' was not declared in this scope
!PyClass_Check(object)) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In member function 'QString PythonQtPrivate::getSignature(PyObject*)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1744:29: error: 'PyClass_Type' was not declared in this scope
if (object->ob_type == &PyClass_Type || object->ob_type == &PyType_Type) {
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1759:41: error: 'PyString_AsString' was not declared in this scope
docstr = PyString_AsString(doc);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1766:42: error: 'PyString_AsString' was not declared in this scope
signature = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1785:39: error: 'PyString_AsString' was not declared in this scope
funcName = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1792:41: error: 'PyString_AsString' was not declared in this scope
funcName = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1811:46: error: 'PyString_AsString' was not declared in this scope
arguments << PyString_AsString(name);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1816:40: error: 'PyString_AsString' was not declared in this scope
varargs = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1822:44: error: 'PyString_AsString' was not declared in this scope
varkeywords = PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1833:42: error: 'PyString_AsString' was not declared in this scope
defaults << PyString_AsString(s);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In static member function 'static PyObject* PythonQtPrivate::wrapMemoryAsBuffer(const void*, Py_ssize_t)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1885:47: error: 'PyBuffer_FromMemory' was not declared in this scope
return PyBuffer_FromMemory((void*)data, size);
^
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp: In static member function 'static PyObject* PythonQtPrivate::wrapMemoryAsBuffer(void*, Py_ssize_t)':
/home/vishi/Software/Velo/build/pythonqt/src/pythonqt/src/PythonQt.cpp:1891:49: error: 'PyBuffer_FromReadWriteMemory' was not declared in this scope
return PyBuffer_FromReadWriteMemory(data, size);
^
make[5]: *** [CMakeFiles/PythonQt.dir/src/PythonQtConversion.cpp.o] Error 1
make[5]: *** [CMakeFiles/PythonQt.dir/src/PythonQt.cpp.o] Error 1
make[4]: *** [CMakeFiles/PythonQt.dir/all] Error 2
make[3]: *** [all] Error 2
CMake Error at /home/vishi/Software/Velo/build/pv-pythonqt-build.cmake:26 (message):
Failed!!!
make[2]: *** [pythonqt/src/pythonqt-stamp/pythonqt-build] Error 1
make[1]: *** [CMakeFiles/pythonqt.dir/all] Error 2
make: *** [all] Error 2

It looks like you need python 2 rather than python 3. Could you install that and try again? You may need to uninstall python 3.

Thanks for your response. Now I'm able to get to the velodyne compile, but get the error on PYTHON_ADD_MODULE. My cmake version is 3.2.2.
[ 73%] Completed 'paraview'
[ 77%] Built target paraview
[ 88%] Built target pcap
[ 90%] Performing configure step for 'veloview'
CMake Error at CMakeLists.txt:27 (include):
include called with wrong number of arguments.  include() only takes one
file.
-- Eigen found (include: /home/vishi/Software/Velo/build/install/include/eigen3)
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   thread
--   chrono
--   regex
--   date_time
--   filesystem
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   atomic
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   timer
CMake Warning at /home/vishi/Software/Velo/build/paraview/src/paraview/CMake/ParaViewPlugins.cmake:981 (message):
GUI resource files in plugins are no longer supported.  The same
functionality can be obtained using Hints in the Server Manager xml files.
See the Major API Changes document for details.
Call Stack (most recent call first):
VelodyneHDL/CMakeLists.txt:161 (add_paraview_plugin)
CMake Error at /home/vishi/Software/Velo/build/paraview/src/paraview/CMake/ParaViewPlugins.cmake:1190 (PYTHON_ADD_MODULE):
Unknown CMake command "PYTHON_ADD_MODULE".
Call Stack (most recent call first):
VelodyneHDL/CMakeLists.txt:199 (WRAP_PLUGIN_FOR_PYTHON)
-- Configuring incomplete, errors occurred!
See also "/home/vishi/Software/Velo/build/veloview/src/veloview-build/CMakeFiles/CMakeOutput.log".
See also "/home/vishi/Software/Velo/build/veloview/src/veloview-build/CMakeFiles/CMakeError.log".
make[2]: *** [veloview/src/veloview-stamp/veloview-configure] Error 1
make[1]: *** [CMakeFiles/veloview.dir/all] Error 2
make: *** [all] Error 2

This still looks like a CMake version problem. Are you sure you don't have two CMake binaries on your system?

Turns out it was a python issue. When I included the python 2.7 paths consistently, I was able to build successfully. But when I run the program, I get a core dump.

I had Paraview installed separately. I removed it and I don't get this exception. Getting another error now. But should be able to figure it out. Thanks a lot for your help.

Happy to help! I'll close this issue but if you get stuck again, feel free to open another.

...So how do I properly configure to use python 2.7?

Might help someone else: this is how I configured on my Ubuntu 16.04. Bonus: how to just configure everything from the command line so you don't have to open ccmake, or whatever
cmake ../VeloView/Superbuild/ -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2.7 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/python2.7/config-x86_64-linux-gnu/libpython2.7.so -DPYTHON_INCLUDE_DIR:FILEPATH=/usr/include/python2.7/  -DENABLE_veloview=ON -DUSE_SYSTEM_boost=ON -DUSE_SYSTEM_python=ON -DUSE_SYSTEM_qt=ON


Teach TSan about Swift Task and Actor model (on top of new task hook machinery)

I have identified the following conceptual synchronization points at
which task data and computation can cross thread boundaries. We need to
model these in TSan to avoid false positives:
Awaiting an async task (AsyncTask::waitFuture), which has two cases:
The task has completed (AsyncTask::completeFuture). Everything
that happened during task execution "happened before" before the
point where we access its result. We synchronize on the awaited
task.
The task is still executing: the current execution is suspended and
the waiting task is put into the list of "waiters". Once the awaited
task completes, the waiters will be scheduled. In this case, we
synchronize on the waiting task.
Note: there is a similar relationship for task groups which I still have
to investigate. I will follow-up with an additional patch and tests.
Actor job execution (swift::runJobInExecutorContext):
Job scheduling (swift::swift_task_enqueue) precedes/happens before job
execution. Also all job executions (switching actors or suspend/resume)
are serially ordered.
Note: the happens-before edge for schedule->execute isn't strictly
needed in most cases since scheduling calls through to libdispatch's
dispatch_async_f, which we already intercept and model in TSan.
However, I am trying to model Swift Task semantics to increase the
chance of things to continue to work in case the "task backend" is
switched out.
All of this implemented on top of a new task hook machinery.
rdar://74256733

Please make sure you test this patch against the Apple Silicon host. We are currently seeing issues with TSAN there and may have to disable these tests under the banner of rdar://75006869

Closing in favor of #36216.


Low level swarming error doesn't notify

Adding a bunch of new staging builders hit:
Swarming task creation API responded with HTTP 403: {"error": {"message": "user<EMAIL_ADDRESS>does not have permission \"swarming.tasks.actAs\""}}

https://ci.chromium.org/p/flutter/builders/staging/Staging_build_linux test_ownership
But we didn't get notified that these errors were happening.

cc @CaseyHillers

Closing as WAI.


Confusing about the configurations

Dear Authors,
Many thanks for such amazing work and I am very interested in your work.
Recently, It tried to run the code on two GPU via:
bash train.sh 0,1 \     --options options/data/cifar100_2-2.yaml options/data/cifar100_order1.yaml options/model/cifar_dytox.yaml \     --name dytox \     --data-path MY_PATH_TO_DATASET \     --output-basedir PATH_TO_SAVE_CHECKPOINTS \     --memory-size 1000
I am happy that I can successfully get the results you reported, which is 64.82 exactly.

HOWEVER, I am still a bit confused, how can I get the result as around 70.20 reported in the paper?
Looking forward to your reply, and I would be truly grateful if you could help with this. Thank you.
Best,
Haoran

Those results were obtained with distributed memory while training with many GPUs (more than 2, thus giving more rehearsal than the white line with only 2 GPUs).
Those gray results were the original results in the paper. They make sense as we limit the rehearsal per-process, however for a fair evaluation, I've gray them out, as you should compare with the other newer results instead.


feat: add antham/gommit

antham/gommit: Enforce git message commit consistency
$ aqua g -i antham/gommit

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

"""

Command and output
# Show version
$ gommit version
v2.9.0

# Test good commit message
$ gommit check message 'chore(module): simple commit'
Everything is ok

# Test bad commit message :
$ gommit check message 'chore(module):bad commit'
----

Message  :
           chore(module):bad commit

Error(s) : - No template match commit message

=======

Your message must match one of those following patterns :

----

An extended commit :

[build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test](module): A commit message

* first line
* second line
* and so on...


onPropertyPaneFieldChanged not triggered for custom property pane fields

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[X] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
Microsoft Edge - Version 118.0.2088.46 (Official build) (64-bit)
SPFx version
1.16.1
Node.js version
16.18.1
etc

Describe the bug / error
The onPropertyPaneFieldChanged function is not triggered for custom property pane fields. This means that developers cannot use this function to respond to changes in custom property pane fields.
Steps to reproduce

Create a web part with a custom property pane field.
Add a handler for the onPropertyPaneFieldChanged event.
Change the value of the custom property pane field.

Expected behavior
The onPropertyPaneFieldChanged event handler should be triggered on change of all the property pane fields out of the box or the custom property pane fields

Hi there, is this issue occurring with all custom property pane fields?
Did you set the property pane to be non-reactive? If so, that function won't be called until the pane is closed: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/basics/integrate-with-property-pane#handle-field-changes

Hi @nick-pape I am going to do some tests tomorrow with different custom property panes, For example, custom property controls, PnP SPFx property control etc and out of the box one.
I will provide the feedback after my tests

Hi @nick-pape,
I have tried with both reactive and non-reactive property pane mode. As an example, I have created the following SPFx web part with a custom property pane [Async Dropdown Control].
https://github.com/ejazhussain/spfx-projects/tree/main/webparts/o365c-property-controls
Let me know if you need anything else from me

This may be an issue with PnP. Can you re-file this ticket there?
When defining a custom property pane field, the changeCallback parameter of onRender must be called on update. It looks like these components, e.g. PropertyPaneAsyncDropdown only specify a custom onPropertyChange, so you would need to manually call onPropertyPaneFieldChanged from there (after directly updating the property bag).

For this to be automatic, the custom component's onRender function needs to accept changeCallback from SPFx, and call it when it detects some sort of change in the cutom field:
https://github.com/ejazhussain/spfx-projects/blob/main/webparts/o365c-property-controls/src/common/controls/PropertyPaneAsyncDropdown/PropertyPaneAsyncDropdown.ts#L50C3-L50C46
e.g.
onRender: (
      domElementToMountTo: HTMLElement,
      context?: unknown,
      changeCallback?: (targetProperty?: string, newValue?: unknown) => void
    ) => {


💡 [REQUEST] - Add preloader to the website

[x] I am from GSSoC'23.
[x] I would like to be assigned this task.

Section
Description

Concise Description
Add a preloader to the website for better user experience

Solution Proposed
I suggest implementing a simple preloader animation that is displayed while the website content is being loaded. This will give users a visual indication that the website is still loading and prevent them from experiencing a blank or unresponsive page during the loading process.

Alternative Solutions

Additional Context
Currently, when visiting the website, there is no visual indication that the content is being loaded. Users may perceive the website as slow or unresponsive during this time. By adding a preloader, we can improve the user experience and provide a more polished look and feel to the website.

Screenshots

Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct.

[x] I follow the Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme of this repository.

Hi @Prajwal0225
Thank you for creating the issue but this feature is already implemented


Wait for APNs response before resolving

Fixes #192

/azp run

Good catch @jeffbocala , thank you, not sure how it was changed for this state! Could you please fix (uncomment) test at https://github.com/destinationstransfers/passkit/blob/53afef54e5140e7da3a73c9add5f7a4025670639/tests/template.ts#L90 ?

/azp run


Unable to pull from internal repo

Hello :)
at my work we have a gitserver which is only reachable internally thereby signed by our inhouse CA while im able to add the Server Cert under the Settings/Repositories im not able to create an application with this repo.
I get the following error
Unable to create application: application spec is invalid: InvalidSpecError: Unable to get app details: rpc error: code = Internal desc = Failed to fetch git repo: `git fetch origin --tags --force` failed exit status 128: fatal: unable to access 'https://abc.defg.de/sandro/wordpress.git/': gnutls_handshake() failed: Key usage violation in certificate has been detected.
Checking the Repository i see a lot of similar issue but no solution :(
So i wonder if you might have a fix for this :)

Link to upstream bug: https://github.com/argoproj/argo-cd/issues/4840

issue has been found in the upstream issue :)


bitemporal

system time parameter on write and delete
read latest/current or all

Closing backlog issue, the issue has regression test


Implement index based list access for complex lists

Index base list access for complex lists (e.g. lists of relationships) needs to work differently than for simple lists.
Essentially this becomes a projection of the list entry column and all it's children

To reproduce bug:
it("foo") {
    val g = initGraph("CREATE (:F {val: 1}), (:F {val: 1}), (:F {val: 1})")

    g.cypher(
      """
        |MATCH (n)
        |WITH collect(n) AS list
        |RETURN list[2] AS n
      """.stripMargin).show
  }

This should print
╔═══════════════════╗
║ n                 ║
╠═══════════════════╣
║ (:`F` {`val`: 1}) ║
╚═══════════════════╝
(1 row)

Currently it prints an empty node, because labels and properties have been lost.


Implement logging in

Users should be allowed to log in through the program. This should be done through a "popup" window when user presses the "Log in" button in the main window. If no email/password combination is found the program should prompt the user to log in.
Login information should be kept in the program's appdata folder. Email can be saved as plaintext but password should be saved in as encrypted string for safety reasons.
This should be done before release.

I dun did it.

Implemented on 00b8242


The automated release is failing 🚨

:rotating_light: The automated release from the intern/implement-ci-cd branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the intern/implement-ci-cd branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

Cannot push to the Git repository.
semantic-release cannot push the version tag to the branch intern/implement-ci-cd on the remote Git repository with URL<EMAIL_ADDRESS>This can be caused by:

a misconfiguration of the repositoryUrl option
the repository being unavailable
or missing push permission for the user configured via the Git credentials on your CI environment

Good luck with your project ✨
Your semantic-release bot :package::rocket:

:rotating_light: The automated release from the intern/implement-ci-cd branch failed. :rotating_light:
I recommend you give this issue a high priority, so other packages depending on you can benefit from your bug fixes and new features again.
You can find below the list of errors reported by semantic-release. Each one of them has to be resolved in order to automatically publish your package. I’m sure you can fix this 💪.
Errors are usually caused by a misconfiguration or an authentication problem. With each error reported below you will find explanation and guidance to help you to resolve it.
Once all the errors are resolved, semantic-release will release your package the next time you push a commit to the intern/implement-ci-cd branch. You can also manually restart the failed CI job that runs semantic-release.
If you are not sure how to resolve this, here are some links that can help you:

Usage documentation
Frequently Asked Questions
Support channels

If those don’t help, or if this issue is reporting something you think isn’t right, you can always ask the humans behind semantic-release.

Cannot push to the Git repository.
semantic-release cannot push the version tag to the branch intern/implement-ci-cd on the remote Git repository with URL<EMAIL_ADDRESS>This can be caused by:

a misconfiguration of the repositoryUrl option
the repository being unavailable
or missing push permission for the user configured via the Git credentials on your CI environment

Good luck with your project ✨
Your semantic-release bot :package::rocket:


Support generation of single offspring

The offspring generation code right now implicitly relies on there being a reasonably large number of offspring for mutation/crossover. I should try to make it independent of this.

Resolved by #5 (forgot to put this in the PR description).


OAK-9591 - Implement hashcode() and equals() method in ItemDefinitionImpl

…Impl

Please rather leverage the methods https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html#hash-java.lang.Object...- and https://docs.oracle.com/javase/8/docs/api/java/util/Objects.html#equals-java.lang.Object-java.lang.Object- to implement those methods.

@kwin Can you please merge it?


Add trivy to PR validation

It uses filesystem scanning and parsign go.mod to see for any potential issues. We don't need to waste time building the image since it's distroless.

Yes, it will help us to verify that no dependencies got any knowns CVEs.


Spotty authorization problems with build cache

I'm getting spotty authorization problems with the docker image gradle/build-cache-node:7.0.  Often, these are fixed just by rerunning the build.  The authorization problems show up like this

Could not load entry 3d051d9314a361db3fc251c66e52a5d4 for task ':lib:compileJava' from remote build cache: Loading entry from 'https://buildcache.diffplug.com/3d051d9314a361db3fc251c66e52a5d4' response status 401: Unauthorized`

The cache node is setup like this:

Side bug: this dashboard always says "The cache is empty." even though I know that it is not...
Expected Behavior
Either my authorization should be correct or not.  Rerunning a build with the same user/pass shouldn't work one time and not another.
Current Behavior
I'm getting intermittent authorization failures with gradle build cache.
Context
It makes it harder to get a project's CI pipeline humming with buildcache.  I'm still not sure if anonymous access requires username='anonymous', but it seems to reduce auth failures so I put it in.
Steps to Reproduce (for bugs)

start gradle/build-cache-node:7.0 from dockerhub
setup with anonymous read and authorized write
use it in a build
I get misc failures on my local machine and in CI, using anonymous or authorized access

Your Environment

Here's the scan that matches the travis build linked above:

Build scan URL: https://scans.gradle.com/s/uoysmfufflbmw/switches

I've just encountered this in CI:
> Task :buildSrc:compileJava FROM-CACHE
   ...
> Task :client:gulp_permanent
Could not load entry 41470a8fe662a8c35d00b91de7055e12 for task ':client:gulp_permanent' from remote build cache: Loading entry from 'https://buildcache.diffplug.com/41470a8fe662a8c35d00b91de7055e12' response status 401: Unauthorized
   ...
> Task :client:gulp_revProd FROM-CACHE

Seems like the cache is coming and going within a single build...

@nedtwigg could you share the log file file with me? (see in the cache data dir). You can email it to me via luke at gradle dot com.

@nedtwigg the problem is that you have the wrong cache address.
You have:
https://buildcache.diffplug.com/
It should be:
https://buildcache.diffplug.com/cache

Thanks!  I have changed the URL as suggested, and it does seem to have improved.  But it definitely worked intermittently with the old URL.  It seems the buildcache makes some attempt to redirect that sorta works?  Would be better to fail hard than work intermittently with the wrong URL.

It seems the buildcache makes some attempt to redirect that sorta works?

There's nothing there like that. There's no reason that it should have worked intermittently. If you still see this after changing the config, please reopen.

I can't reopen this, but I have always had /cache/ at the end of the address and I have this problem.


Better name

for the package and @varexplode.

Thank you for this package!
It is similar to what I requested here in https://github.com/JuliaDebug/JuliaInterpreter.jl/issues/298.
Maybe @fastdebug ?

What about Infiltrator.jl?

Infiltrator.jl and @infiltrate? I kinda like it, tbh :D

I think I like Infiltrator.jl/@infiltrate and GiveMeAPrompt.jl/@prompt the best so far.

I wish we could change @infiltrator macro's name to something simpler. I always get the spelling incorrect.

@stab 🗡 😄

Indeed, @aminya.  Especially since GitHub will tag random users.  ;)


Update .mergify.yml

Codecov Report

Merging #114 (255669d) into master (8d94330) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 255669d differs from pull request most recent head 88309f5. Consider uploading reports for the commit 88309f5 to get more accurate results

@@            Coverage Diff            @@
##            master      #114   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           91        91
=========================================
  Hits            91        91

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Update Variation

Extract variationToProps from variationsToProps and use it to properly update the variation
https://github.com/pure-ui/styleguide/blob/15ad92bc9d0cc0ca83974e14bc8b5575edd3044b/plugin/default-plugins/playground/frontend/components/PlaygroundList/index.js#L71

Not needed anymore as we simply refetch all the variations


Remove credentials from ADAM pipeline

Resolves #107. First two commits are validated. I ran into an error during VQSR, which I believe 	c9abdf2 should fix, so I'm validating that now. Should have results by morning.

Remove needs work when validation is done.

Remove needs work when validation is done.

So I've validated the credential removal part, but I'm running into a new fascinating bug (w00t!) that I haven't been able to root cause yet. Essentially, the BAM written out from ADAM and uploaded to S3 is corrupt. I'm modifying the scripts right now so that I can keep HDFS up after the ADAM pipeline completes so that I can root cause whether the issue is in ADAM's output or in the upload to S3. I'll report back as I know more.

Actually, @hannes-ucsc, this is good to go WRT #107. I'll remove the needs work tag and open a new issue/PR for the new bug I'm working through.


ITS A VIRUS!!!!

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[ ] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
it is insataling crackmapexec
Environment
- OS : KALI Linux
- Python :
- Script version :

config.json
..

is a swiss army knife for pentesting Windows/Active Directory environments.
From enumerating logged on users and spidering SMB shares to executing psexec style attacks, auto-injecting Mimikatz/Shellcode/DLL’s into memory using Powershell, dumping the NTDS.dit and more.

 Dude seriously start slow.
First learn to read source code.
Second think twice before saying things like that.

is a swiss army knife for pentesting Windows/Active Directory environments.
From enumerating logged on users and spidering SMB shares to executing psexec style attacks, auto-injecting Mimikatz/Shellcode/DLL’s into memory using Powershell, dumping the NTDS.dit and more.


Will the vaccinated CSV format change again?

The vaccine_doses_administered_statewise changed yesterday.
I want to know would it change again in the coming future? Because I would need to do changes to my program when they happen.
Also, why are the stats one day late nowadays on the API, but not on the website?

Hi the changes were made to accommodate the new data i.e the breakup of doses statewise and reflect the same on website in coming days.We would try our best not to change it again.
Regarding the date the data released on 27th April'21 is for 26th April'21.
If you have any more things to ask please message here.


Documentation regarding nuget?

I was about to ask the official repository  when I found the closed issue https://github.com/haplokuon/netDxf/issues/156.
It would be better if it is documented in README that only GITHUB is the official source. Even better if some guideline is there on how to use this library without nuget.
The one at https://www.nuget.org/packages/netDXF/ is from a 3rd party. If possible please publish an official Nuget.

If you have read that post you already know the answer. No, I have no plans of publishing anything at NuGet, if I change my mind I will make it public, this is all I have time for. And, no, I will not write in the Readme what this library is not or what does not do. Why don't you take over and maintain it? Contact the owner and keep it updated, if you are so interested on it.


Fixed issue #1441 | Medium Issue (Rust)

Pull Request Type
What kind of change does this PR introduce?

Solved an issue/task

What is the current behavior?

Issue Number: https://github.com/fork-commit-merge/fork-commit-merge/issues/1441
What is the new behavior?

Fahrenheit to Celsius and Celsius to Fahrenheit conversions.

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


Improve xml navigation type checking by using xml subtyping

Purpose
Allow below:
xml<xml:Element> x = x1/<child>;
xml<xml:Element> y = x1/**/<child>;

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/30336
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

LGTM


Popup info: Folder contains emphasized items ?

What does this mean?

Yeah, that's what I thought of too.
I had green dot on the right side and the folder was green too, only the emphasized items were missing.
Perhaps, my brain played a trick on me or it is something with the IDE. I will come back if it should happen again.
Thanks for the quick response!

+1

however nothing in that folder is emphasized, so I have no idea how to get rid of that. :-/

@vphantom Do you have any file/folder excludes configured? What does the SCM viewlet show?

I also have a folder claiming "Contains emphasized items", but all of its descendant files are green.  Reloading the window doesn't fix this.  Is there any way to determine which items are "emphasized" ?

also keen on a fix

"Contains emphasized items", but all of its descendant files are green. Reloading the window doesn't fix this. Is there any way to determine which items are "emphasized"

All of the descendant files are meant. The message 'contains emphasized items' is just there to explain the dot, which means there are any kind decorations in the descendants

@jrieken If I understand you correctly, you are saying that items with the green dot (indicating they have uncommitted modifications) trigger their parent folder to become red with the "Contains Emphasized Items" message?
If so, there seems to be some kind of inconsistency; most of the time I see the "this folder containing modified files" indicated by the parent folder becoming orange and showing a dot, while the modified file shows as orange with an M.
The red colour and "emphasized items" message usually appears when I have a file containing syntactical errors.
Have I misunderstood you?

@jrieken If I understand you correctly, you are saying that files in green trigger their parent folder to become red with the "Contains Emphasized Items" message?
If so, there seems to be some kind of inconsistency; most of the time I see:
green: new, untracked files
orange: files with uncommitted modifications
red: files with errors
where the folder takes the "highest priority" colouring from the files inside it and shows a dot, while each file takes the appropriate colour and shows either "U" (untracked), "M" (modified), or a number indicating the count of syntax errors...
Have I misunderstood you?

Have I misunderstood you?

Yes. The message "Contains Emphasized Items" means that there is any kind of decoration in any of the children. The color of the dot is the one with the highest priority, usually errors or warnings. You can check the problems view for the errors and warnings current known to the editor - it should contain a problem that lives inside that subtree. Iff not check your explorer exclude settings and file a separate issue with steps to reproduce.

Thank you for your help.
There was nothing in the Problems window, but committing all files "reset" the folder structure to all-white (as expected) and the problem appears resolved.  If I come across this again I will open a new issue as you suggest.


feat: Forward command continuation response requests

Closes #77

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 16 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-1.2%) to 39.308%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/client.rs
0
5
0.0%

src/server.rs
0
11
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/send.rs
1
34.67%

Totals

Change from base Build<PHONE_NUMBER>:
-1.2%

Covered Lines:
193

Relevant Lines:
491

💛  - Coveralls

Oh, sorry @jakoschiko! I enabled auto-merge but forgot we disabled "require at least one approval".

There is only one solution, force-push on main!


Create cesar.txt

Adding CESAR School
https://cesar.school

@overalt Please provide us with:

the university official website URL, if different from the domain you are submitting
an URL of a page on the official website where an IT-related long-term (>1 year) course is offered by the university
an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.

@overalt I am sorry, this request remains unanswered for a while. I have to close it without merging. Please reopen and comment if you have an update regarding the abovementioned issue. Thank you for the understanding!


The method or operation is not implemented

Hello guys,
thank you so much for providing the DCA AccBot (I got the info from Kicom's video ;o)
However, so far I was not able to run it successfully. All the PowerShell scripts finished OK. But when the Azure function runs, following message in the monitor appears:

2021-10-14 20:05:00.031 Executing 'AccumulationBotFunction' (Reason='Timer fired at 2021-10-14T20:05:00.0135520+00:00', Id=9f330565-e023-4e84-ac1d-015c360365c8) - Information
2021-10-14 20:05:00.183 - The method or operation is not implemented. - Error
2021-10-14 20:05:00.186 - Executed 'AccumulationBotFunction' (Failed, Id=9f330565-e023-4e84-ac1d-015c360365c8, Duration=160ms) - Error
2021-10-14 20:05:00.265 - The method or operation is not implemented. - Error

Any thoughts?
Thank you. Honza B.

Hello Honza,
thank you for sending us feedbacks. We have discovered a bug which we have fixed in the current release.
Will you please try to download the current release and deploy AccBot again?
Btw. Can you please let us know which exchange you want to launch AccBot for?
Regards,
Crynners


Add signed images support

Superseded by https://github.com/balena-os/balena-raspberrypi/pull/1117


Script not working form project root

The script does not work when executing from project root. I did as the readme suggested. However if I changed directory to app the script did work.

the working directory of the executable script was changed from a relative path to the path returned by project.getRootDir().


Kitchen Sink : Dragon game

Describe the feature
Dragon game is endless runner genre, where players control a character (in this case, a dragon) that automatically moves forward, and the player's task is to make the character jump over obstacles to avoid collisions.
Additional information

[ ] Would you be willing to help implement this feature?

Hey @akshayw1, I'm gonna review your PR soon; I'm gonna assign you this issue now.


❌ It's impossible to download and play this video

I really can't play anything on the bot, whether it's spotify songs or youtube and when i use a spotify link to a song it still gives the same error in the console
Note : i have it hosted on heroku
Discord :

Plain text :

Spotify link :

Try this,
https://github.com/yt-dlp/yt-dlp/issues/11462#issuecomment-2471110704

Work for me
https://github.com/yt-dlp/yt-dlp/issues/9399#issuecomment-1986693206

@TheSkiRteQPL how did you pass the oauth[+PROFILE] argument?

cause im getting this error, i should pass my @ tag or my profile name?

I have no oauth and no cookies key’s, default code with update from previous comment


fix(controller): prevent overlapping config:set operations

Uses a file lock to ensure that multiple gunicorn processes can be coordinated in the container. If a deis config:set is in progress, another client attempting config:set will try to obtain the lock for 5 seconds, then return an error:
$ deis config:set POWERED_BY=Second
Creating config... Error:
409 CONFLICT
error: Config changes already in progress.
[Errno 11] Resource temporarily unavailable

Closes #4746.
Closes #4758.

Code LGTM, but pending official LGTM :tm: until some unit tests are added in.
Would the unit test be as easy to create the file then try to create config?

Would the unit test be as easy to create the file then try to create config?

That's what I'm planning to do, because after some thought I'm having a hard time thinking of how to coordinate two threaded clients in a reliable way for tests.

This is ready for review now. I added a unit test to cover this 409 case, but let me know if you can think of better ways to test this.
I tried to move the SimpleFlock logic to the Config.save() method, but the behavior reverted: somehow the operations get serialized so the last config:set wins, which is essentially the current behavior we're trying to fix here. Leaving it attached to the ConfigSetView.create() method achieves the desired behavior. I'll put more thought into it for deis/controller#594 since it will also require different unit tests. I appreciate the goal of keeping logic in models rather than views, but for v1 LTS I'm hoping this fix is adequate.

I'm always happy to ship working code over perfect code, especially if we're sun-setting most of this.


Trino server is down

When I try to connect to the Trino server in the usual way I'm now getting:
Http503Error: error 503: service unavailable

@caldeirav @erikerlandson @dvizzini107 @HeatherAck

Fixed by fixing fix in #1364.


need some kind of reauthenticate

if cookie authcode expires, need to refresh it

This might not be necessary.  The cookie is good for at least 24 hours.  In our Excel Add-in we don't handle the case of somebody leaving Excel open for multiple days without using Calcbench then trying to use it again.


Bug fixes

Validate against Removed/Removing states for environment object, when add a service to it

https://github.com/rancher/rancher/issues/2334
https://github.com/rancher/rancher/issues/1644

integration test fix

LGTM


Rollout Problem

When rolling out policy here. The nested function policy(index) ALWAYS assumes dreamer is None (i.e. never going to the else section).

I think its correct, can put a debug point to be sure, but
def fun1():
  dreamer = None

  def fun2():
    nonlocal dreamer
    if dreamer == None:
      print("dreamer was none")
      dreamer = 1
    else :
      print("dreamer working!")
  return fun2

myfunc = fun1()
myfunc()
myfunc()
myfunc()

prints the following :
dreamer was none
dreamer working!
dreamer working!

which is as expected.

Hi I think I see the problem now after more testing. The default config results in a train_every=0.76<1, which causes the trainer to create a new function object for rollout every step.


Get rid of rack warning

rack 2.1.0 introduces a deprecation warning
https://github.com/rack/rack/commit/626272b2bc6b270bbd3d2aa6aaa64722350f42be#diff-894804c816a11584eb28499cb8bbe396R6
that rails is triggering,
https://github.com/rails/rails/blob/1e14a2405b5e19b6758842dbd6d377c68d7f57ae/actionpack/lib/action_dispatch/middleware/static.rb#L20
but in later versions this warning will be removed
https://github.com/rack/rack/commit/f80e65d5dde251ee446e4c0bd038f8bc4ec30314#diff-894804c816a11584eb28499cb8bbe396L6
This warning was causing CI failures on rack 2.1.0:
rack 2.0.8: https://travis-ci.org/rspec/rspec-rails/jobs/635322909
rack 2.1.0: https://travis-ci.org/rspec/rspec-rails/jobs/635434487

Looks green. Please approve/merge at will to give way to other pull requests. @JonRowe @benoittgt

I'll go ahead and merge.

Thanks!


WIP: fix doc build warnings

Closes #2951
After #2949
Closes #2954

Implements more standard package imports for sub-packages (see https://github.com/neuropoly/spinalcordtoolbox/issues/2951#issuecomment-710053812)
Fixes various doc warnings
Removes the unnecessary set_image_data_format() calls that cancel each other since functionality seems to have been obsoleted (see https://github.com/neuropoly/spinalcordtoolbox/issues/2954#issuecomment-713138372)

Seems like the import order has some side-effects. Currently running into #2954

Can you give it a look @joshuacwnewton? I fixed all but the WARNING: autodoc: failed to import module ${sct_something}.
I will create a separate issue for that one, it's a bigger problem.

There are some warnings on RTD that don't appear locally for me:

#2966 will also help with some warnings.


Help Wanted?

I've built a bunch of stuff using this repo.
But I don't have the time to investigate what's missing and have no idea what direction you're thinking on taking this or what's still needed to be added.
But if you have some ideas to implement I'd really enjoy it if I could help out where I can.

Hey Rob! :D
You're still using this as a basis for dev?! That's awesome :)
I hope you've been working from the inuit branch - I've made a number of changes, most importantly using mixins for all components (as per Zurb's Foundation) instead of placeholders.
I'd love to make this framework more approachable, but with limited time I only update things here and there when I see an opportunity.
The biggest things I can see are:

[ ] replace master with the content from the inuit branch
[ ] changing the repo name to something more meaningful - this is a framework, not a styleguide
[ ] replace the actual styleguide with docs on the thinking behind the framework. GatsbyJs would be great here.
[ ] move docs to the gh-pages branch exclusively to keep master clean
[ ] make importing the framework into a project easier (with a script?) - cloning it doesn't feel right because the user doesn't necessarily want upstream changes once they begin work... or do they? In that case, do we split core away from custom? If so, how do we make it easy to install core via npm, while allowing non-core to be added to a project without any ties to upstream? So many unknowns here, and are the gains worthwhile the effort?

These are pretty much my biggest frustrations.
What are your biggest frustrations with the project? That may be a good place to start, too.

basis for dev

Oh yeah. Every project I touch uses this framework (I'm locked to commits before 4c2c72b587a3698257c42fc68d5ed72c448390f3 since that would introduce way too many breaking changes that I don't have the energy to fix up).
When I have some free time I'll get started on the master branch. I think that solves my onboarding problem which is my major concern right now.
The only downfalls I've experienced are...

Onboarding new devs to the framework- I started working on some docs to explain the reasoning of the structure as well as explaining some css principles/patterns, but can't remember how far I got and how much company-internals are in there not relevant to the actual framework.

Updating to have new fancy structure (one project exists on pre-0dd99d828ef43093b025474b264f114dee7649b5 and that's my favourite commit 😢)

Support for external fonts or default fonts is a feature that can be done it just takes too long in my opinion. That's been the only pain I've experienced. This would help with a more seamless integration into existing projects as well as start-up time on new projects. This is easy to add for a project, but I doubt anyone who isn't familiar with the framework would be able to add it easily.

Over the last few years I've added many small features to solve niche problems on a project, but at the moment I can't really recall any of them except the above external font.
But yeah I'd love to help out as much as I can! I really dig this framework and after playing around with the new bootstrap4 I realised how awesome this framework is in comparison to other options.
Also Come up with that name! It's so awkward calling it "this framework" all the time 😅

Yup, Bootstrap is horrid. Foundation is much better, but it still feels like a tool better suited to prototyping than building custom experiences from scratch.
Oh wow - https://github.com/larrybotha/styleguide/commit/0dd99d828ef43093b025474b264f114dee7649b5 things have moved on since then O.o
I've opened a new issue here for the name: https://github.com/larrybotha/styleguide/issues/12
Ye, fonts are a bit of a pain to setup. Regarding external fonts - do you mean using @import statements inside your CSS?

Oh yeah it's a while back. Recently started up a new project so it's really the only chance I get to use a newer version unless I get a chance to spend a few hours updating...
My uses haven't been with @import, more that the font was already loaded by something else.
The font-face mixin was getting in the way so I added a new param to skip https://github.com/larrybotha/styleguide/blob/inuit/scss/core/mixins/_font-face.scss#L6-L12 and changed my font set up to this...
// /custom/config/_fonts.scss
/**
 * Base Font Face
 *
 * This font is enabled via custom/base/_fonts.scss
 */
$font-base          : "Source Sans Pro";
$font-base-path     : "";
$font-base-filename : "";
$font-base-stack    : $font-base, sans-serif;

// custom/base/_fonts.scss
/*------------------------------------*\
    $BASE FONT
\*------------------------------------*/
@include font-face(
  $font-base,
  $font-base-filename,
  $font-base-path,
  $weight: normal,
  $style: normal,
  $skip_load: true # <-- this is the custom param I pass to font-face
);

Which is okay, it just wasn't an intuitive solution in my opinion.

Ye, that could be solved by checking if $font-base-path or $font-base-filename are empty inside font-face. Also, there are too many parameters in the font-face call - that should be changed to a map so that you don't need to pass empty strings through.
Created https://github.com/larrybotha/styleguide/issues/13 for just that!

Made a bunch of changes to this project:

structure more closely follows ITCSS
merged inuit branch
made grids modular and explicitly importable, greatly reducing compile size
improved variable definitions
simplified font face declarations
updated the name of the project
added a note to the readme for installing via degit
added tests
added CI
published to NPM (still trying to get semantic-release to actually deploy a version number...)

Still some work to do, primarily with documentation, but everything is much leaner, more modular, and less coupled now.
Font face declarations are much more manageable now:

_fonts.scss
_font-faces.scss
_font-face.scss (mixin)

Sweeto!
I'll need to look at how long it'll take to refactor our work to work with latest, where would be a good place for me to help out?

@robguy21 I wouldn't refactor your existing work to get up to date with the latest changes, but new projects will benefit from the new structure.
I'd have a look at the utility mixins and classes, however; there's a lot to gain  from using those. The idea is similar to SUIT CSS / Tailwind, but allows one to choose whether they would like to use an explicit class, or a mixin inside a component. You get the same CSS properties whether building a component or applying a utility class in HTML.
The remaining tasks are primarily around documentation, so not much else to do here without getting your hands really dirty.

Busy setting this up in a new project- any thing I should focus on when contribing to the docs?


Files are now explicitly opened in UTF-8...

…(which XML requires anyway) rather than default encodings. This ensures BOM-prepended files are handled properly. Provided test case.
Fixes #72

XML allows other encodings, forcing it to UTF-8 isn't the correct solution. I'll investigate a bit.

XML allows other encodings, forcing it to UTF-8 isn't the correct solution. I'll investigate a bit.

Yes, this a bit of a workaround for something that should be an explicit option, i.e. specifying the encoding for any given file rather than relying on the lib to pick one for you (argparse was defaulting to cp1252 on Windows, which is never really used for xml...). That's really a call for you, I think a reasonable scheme would be:

--enc-a <encoding> for the left file
--enc-b <encoding> for the right file
--enc <encoding> for both files at once

All of them should be optional and defaulting to utf-8, and probably --enc-a/b should supersede --enc if present (so someone could set --enc as a global default then override it for specific files where necessary).
But in the meantime this is a very small workaround that covers the most common case.

Yes, this a bit of a workaround for something that should be an explicit option, i.e. specifying the encoding for any given file rather than relying on the lib to pick one for you (argparse was defaulting to cp1252 on Windows, which is never really used for xml...). That's really a call for you, I think a reasonable scheme would be:

--enc-a <encoding> for the left file
--enc-b <encoding> for the right file
--enc <encoding> for both files at once

All of them should be optional and defaulting to utf-8, and probably --enc-a/b should supersede --enc if present (so someone could set --enc as a global default then override it for specific files where necessary).
But in the meantime this is a very small workaround that covers the most common case.

Adding explicit encodings is reasonable, but the XML file does specify the encoding and lxml is using that, so it should not be necessary.

Adding explicit encodings is reasonable, but the XML file does specify the encoding and lxml is using that, so it should not be necessary.

lxml is in fact not doing that, because argparse is not giving it the chance. It's argparse that opens the file, not lxml.

lxml is in fact not doing that, because argparse is not giving it the chance. It's argparse that opens the file, not lxml.

Aha, maybe we should change that then. Getting rid of the FileType() calls still works on OSX at least. See what happens on Windows.

Aha, maybe we should change that then. Getting rid of the FileType() calls still works on OSX at least. See what happens on Windows.

Yeah, switching the parameters to str works on Windows too. It changes the exception thrown on bad or inaccessible files though (because now it's lxml doing it, rather than argparse). No biggie for me, just wondering if anybody relies on it (probably not). There might be a performance increase too, according to lxml docs.

Yeah, switching the parameters to str works on Windows too. It changes the exception thrown on bad or inaccessible files though (because now it's lxml doing it, rather than argparse). No biggie for me, just wondering if anybody relies on it (probably not). There might be a performance increase too, according to lxml docs.

Superseded by #74

Superseded by #74

What do you mean with "bad"? If the file doesn't exist I get exactly the same message.

What do you mean with "bad"? If the file doesn't exist I get exactly the same message.

Maybe another windows-specific behavior? See below trying to use non-existing files with the old behavior:
(venv) C:\Utils\pycharm_prj\xmldiff>python -c "from xmldiff.main import diff_command; diff_command(['filea', 'fileb'])"
usage: -c [-h] [-v] [-f {diff,xml,old}] [-w] [-p] [-F F] [--unique-attributes [UNIQUE_ATTRIBUTES]] [--ratio-mode {fast,accurate,faster}] [--fast-match] file1 file2
-c: error: argument file1: can't open 'filea': [Errno 2] No such file or directory: 'filea'

And with the new behavior from #74 :
(venv) C:\Utils\pycharm_prj\xmldiff>python -c "from xmldiff.main import diff_command; diff_command(['filea', 'fileb'])"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Utils\pycharm_prj\xmldiff\xmldiff\main.py", line 147, in diff_command
    result = diff_files(
  File "C:\Utils\pycharm_prj\xmldiff\xmldiff\main.py", line 51, in diff_files
    return _diff(
  File "C:\Utils\pycharm_prj\xmldiff\xmldiff\main.py", line 35, in _diff
    left_tree = parse_method(left, parser)
  File "src\lxml\etree.pyx", line 3521, in lxml.etree.parse
  File "src\lxml\parser.pxi", line 1859, in lxml.etree._parseDocument
  File "src\lxml\parser.pxi", line 1885, in lxml.etree._parseDocumentFromURL
  File "src\lxml\parser.pxi", line 1789, in lxml.etree._parseDocFromFile
  File "src\lxml\parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile
  File "src\lxml\parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc
  File "src\lxml\parser.pxi", line 725, in lxml.etree._handleParseResult
  File "src\lxml\parser.pxi", line 652, in lxml.etree._raiseParseError
OSError: Error reading file 'filea': failed to load external entity "filea"

Maybe another windows-specific behavior? See below trying to use non-existing files with the old behavior:
(venv) C:\Utils\pycharm_prj\xmldiff>python -c "from xmldiff.main import diff_command; diff_command(['filea', 'fileb'])"
usage: -c [-h] [-v] [-f {diff,xml,old}] [-w] [-p] [-F F] [--unique-attributes [UNIQUE_ATTRIBUTES]] [--ratio-mode {fast,accurate,faster}] [--fast-match] file1 file2
-c: error: argument file1: can't open 'filea': [Errno 2] No such file or directory: 'filea'

And with the new behavior from #74 :
(venv) C:\Utils\pycharm_prj\xmldiff>python -c "from xmldiff.main import diff_command; diff_command(['filea', 'fileb'])"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Utils\pycharm_prj\xmldiff\xmldiff\main.py", line 147, in diff_command
    result = diff_files(
  File "C:\Utils\pycharm_prj\xmldiff\xmldiff\main.py", line 51, in diff_files
    return _diff(
  File "C:\Utils\pycharm_prj\xmldiff\xmldiff\main.py", line 35, in _diff
    left_tree = parse_method(left, parser)
  File "src\lxml\etree.pyx", line 3521, in lxml.etree.parse
  File "src\lxml\parser.pxi", line 1859, in lxml.etree._parseDocument
  File "src\lxml\parser.pxi", line 1885, in lxml.etree._parseDocumentFromURL
  File "src\lxml\parser.pxi", line 1789, in lxml.etree._parseDocFromFile
  File "src\lxml\parser.pxi", line 1177, in lxml.etree._BaseParser._parseDocFromFile
  File "src\lxml\parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc
  File "src\lxml\parser.pxi", line 725, in lxml.etree._handleParseResult
  File "src\lxml\parser.pxi", line 652, in lxml.etree._raiseParseError
OSError: Error reading file 'filea': failed to load external entity "filea"

Yeah, I think it tries to open it as if it's a URI, or something.

Yeah, I think it tries to open it as if it's a URI, or something.


Using 'jwt' method with read-only access

As I understand it, this method was added to verify from the server side that the token is signed by an authorized user.
But this method requires passing 'encryptedSeedHex' in the payload. And 'encryptedSeedHex' is not available with read-only access (empty string).
I suggest to make this method without the requirement to pass 'encryptedSeedHex'.

encryptedSeedHex is required for the user to prove their identity. Soon we will send encryptedSeedHex with ReadOnly access level and the jwt message will work.

encryptedSeedHex is required for the user to prove their identity. Soon we will send encryptedSeedHex with ReadOnly access level and the jwt message will work.

But does encryptedSeedHex give you access to decrypt received private messages? I would not like to get such rights only for user authorization on the server.
It would be great to have a mode for authorization on third-party services without access to private messages, but the ability to get and verify the token. It's not even read-only, it's auth-only.

It only allows you to decrypt private messages if the iframe allows it aka the user has granted permission. We're moving to a more granular permissions model where apps can request what they want (prove identity, decrypt messages, sign transactions, etc)

The permission Require approval for all transactions now also gives encryptedSeedHex, so I tried to use jwt method for server-side identity prove , but it requires AccessLevel.ApproveAll. Why does it require maximum access?

ApproveAll is the lowest permission level you can request now. ReadOnly is defunct

Thank you, my mistake was that I didn't pass the current level to the jwt method.
But several people have already written that they do not understand what they give the rights to in the authorization window (I ask for the minimum) and are afraid to authorize.
Require approval for all transactions for some people, it looks like my app is asking for the approval for all transactions. And some people don't understand what red crosses mean.
Do you plan to make the labels more understandable to users, not developers?

This original issue is solved. Opening a new issue for making access levels more user friendly.


Add two methods Epochs, Evoked

It would be super useful to have these methods added to the Epochs, and Evoked.
raw.time_as_index and raw.index_as_time

What s the use case ? Can you just divide by info['sfreq']?
On Tuesday, 29 March 2016, Teon L Brooks<EMAIL_ADDRESS>wrote:

It would be super useful to have these methods added to the Epochs, and
Evoked.
raw.time_as_index and raw.index_as_time
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/mne-tools/mne-python/issues/3083

yes, but it is a function that exists. it seems like it should be propagated since it's convenient, it takes into account the rounding business as well

it's mostly needed for time_as_index. it deals with the fact that you might have a baseline period and just by multiply by the sfreq isn't enough, you would have to adjust for baseline

time_as_index makes sense. The other one is just a matter of e.times[idx]

@agramfort okay with you to deprecate raw.index_as_time then and point people toward inst.times[idx]?

yes