{"action":"created","issue":{"url":"https://api.github.com/repos/pvbrowser/pvb/issues/4","labels_url":"https://api.github.com/repos/pvbrowser/pvb/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/pvbrowser/pvb/issues/4/comments","events_url":"https://api.github.com/repos/pvbrowser/pvb/issues/4/events","html_url":"https://github.com/pvbrowser/pvb/issues/4","id":57144848,"number":4,"title":"problem compiling pvbrowser with the python binding","user":{"login":"gentooza","id":10772286,"avatar_url":"https://avatars.githubusercontent.com/u/10772286?v=3","gravatar_id":"","url":"https://api.github.com/users/gentooza","html_url":"https://github.com/gentooza","followers_url":"https://api.github.com/users/gentooza/followers","following_url":"https://api.github.com/users/gentooza/following{/other_user}","gists_url":"https://api.github.com/users/gentooza/gists{/gist_id}","starred_url":"https://api.github.com/users/gentooza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentooza/subscriptions","organizations_url":"https://api.github.com/users/gentooza/orgs","repos_url":"https://api.github.com/users/gentooza/repos","events_url":"https://api.github.com/users/gentooza/events{/privacy}","received_events_url":"https://api.github.com/users/gentooza/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-10T08:34:32Z","updated_at":"2015-02-10T09:24:55Z","closed_at":null,"body":"Hello pvbrowser community\r\n\r\nPvbrowser compile and works perfectly under my system, but I have not succes making rllib standalone working with python.\r\n\r\nI've tried the build_python_interface script with this errors:\r\n\r\n<code>\r\ng++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include/python2.7\r\ng++: fatal error: no input files\r\ncompilation terminated.\r\nmake: *** [qtdatabase.o] Error 4\r\ng++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include/python2.7\r\ng++: fatal error: no input files\r\ncompilation terminated.\r\nmake: *** [language_binding_rllib_wrap_python.o] Error 4\r\ncp: no se puede efectuar `stat' sobre «lib_pv.so»: No existe el archivo o el directorio\r\ncp: no se puede efectuar `stat' sobre «lib_rllib.so»: No existe el archivo o el directorio\r\ng++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DUSE_INETD -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include/python2.7\r\ng++: fatal error: no input files\r\ncompilation terminated.\r\nmake: *** [qtdatabase.o] Error 4\r\ng++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DUSE_INETD -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/include/python2.7\r\ng++: fatal error: no input files\r\ncompilation terminated.\r\nmake: *** [language_binding_rllib_wrap_python.o] Error 4\r\ncp: no se puede efectuar `stat' sobre «lib_pv.so»: No existe el archivo o el directorio\r\ncp: no se puede efectuar `stat' sobre «lib_rllib.so»: No existe el archivo o el directorio\r\n</code>\r\n\r\ncompiling pvbrowser gives me the same errors.\r\nmy <b>system specifications</b> are a bare Ubuntu 14.04 64 bits\r\n\r\nIf I try this piece of code:\r\n\r\n<syntaxhighlight lang=\"python\">\r\nimport sys, os\r\npvslib_path = '/opt/pvb/language_bindings/python/mt'\r\nsys.path.insert(0, pvslib_path)\r\nimport rllib\r\n</syntaxhighlight>\r\n\r\nI get this error:\r\n\r\n<code>\r\n File \"./main.py\", line 48, in <module>\r\n    import MtoDBc_data\r\n  File \"/home/prointegra/Documentos/desarrollo/respositorios_git_dev/MtoDB_/MtoDBc_data.py\", line 11, in <module>\r\n    import rllib\r\n  File \"/opt/pvb/language_bindings/python/mt/rllib.py\", line 26, in <module>\r\n    _rllib = swig_import_helper()\r\n  File \"/opt/pvb/language_bindings/python/mt/rllib.py\", line 22, in swig_import_helper\r\n    _mod = imp.load_module('_rllib', fp, pathname, description)\r\nImportError: dynamic module does not define init function (init_rllib)\r\n</code>\r\n\r\nthanks!\r\n"},"comment":{"url":"https://api.github.com/repos/pvbrowser/pvb/issues/comments/73668369","html_url":"https://github.com/pvbrowser/pvb/issues/4#issuecomment-73668369","issue_url":"https://api.github.com/repos/pvbrowser/pvb/issues/4","id":73668369,"user":{"login":"gentooza","id":10772286,"avatar_url":"https://avatars.githubusercontent.com/u/10772286?v=3","gravatar_id":"","url":"https://api.github.com/users/gentooza","html_url":"https://github.com/gentooza","followers_url":"https://api.github.com/users/gentooza/followers","following_url":"https://api.github.com/users/gentooza/following{/other_user}","gists_url":"https://api.github.com/users/gentooza/gists{/gist_id}","starred_url":"https://api.github.com/users/gentooza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gentooza/subscriptions","organizations_url":"https://api.github.com/users/gentooza/orgs","repos_url":"https://api.github.com/users/gentooza/repos","events_url":"https://api.github.com/users/gentooza/events{/privacy}","received_events_url":"https://api.github.com/users/gentooza/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T09:24:55Z","updated_at":"2015-02-10T09:24:55Z","body":"Hello\r\n\r\nI forgot to mention I had already installed swig\r\nOk, is insteresting to know this about the pvserver. But I would be ienterested simply to read data from a daemon. (i don't know if the GIL will be a problem in this case) :-/\r\n\r\nIN theory I follow the isntructions from the readme file. I don't know what could be wrong"}}