Hi, it looks like something really strange is happening in your case: the errors are related to conversion between Python and Qt types. Thus I suspect your installation might contain some incompatible pieces or something like that. - have you installed qgis from a package or from source? - did you have some previous version of qgis installed? - is this happening from the time you've installed qgis or it might be caused by some upgrade? - what versions of packages python, python-qt4, python-sip4 do you have installed?
Martin On Mon, Jul 7, 2008 at 2:50 PM, Salvator*eL*arosa <[EMAIL PROTECTED]> wrote: > > > > Salvator*eL*arosa wrote: >> >> >> Can somebody help me? >> >> When launching QGIS some plugins (almost all) not loads >> correctly. Here the log shell: >> >> Loaded /usr/lib/qgis/libcopyrightlabelplugin.so >> Loaded /usr/lib/qgis/libdelimitedtextplugin.so >> Loaded /usr/lib/qgis/libdelimitedtextprovider.so >> Loaded /usr/lib/qgis/libgeorefplugin.so >> Loaded /usr/lib/qgis/libgpsimporterplugin.so >> Loaded /usr/lib/qgis/libgpxprovider.so >> Loaded /usr/lib/qgis/libgrassplugin.so >> Loaded /usr/lib/qgis/libgrassprovider.so >> Loaded /usr/lib/qgis/libgridmakerplugin.so >> Loaded /usr/lib/qgis/libogrprovider.so >> Loaded /usr/lib/qgis/libpggeoprocessingplugin.so >> Loaded /usr/lib/qgis/libpostgresprovider.so >> Loaded /usr/lib/qgis/libquickprintplugin.so >> Loaded /usr/lib/qgis/libscalebarplugin.so >> Loaded /usr/lib/qgis/libspitplugin.so >> Loaded /usr/lib/qgis/libwfsplugin.so >> Loaded /usr/lib/qgis/libwfsprovider.so >> Loaded /usr/lib/qgis/libwmsprovider.so >> <module 'mapserver_export' from >> '/usr/share/qgis/python/plugins/mapserver_export/__init__.pyc'> >> <module 'mapserver_export' from >> '/usr/share/qgis/python/plugins/mapserver_export/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File >> "/usr/share/qgis/python/plugins/mapserver_export/mapserverexport.py", line >> 46, in initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'plugin_installer' from >> '/usr/share/qgis/python/plugins/plugin_installer/__init__.pyc'> >> <module 'plugin_installer' from >> '/usr/share/qgis/python/plugins/plugin_installer/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File >> "/usr/share/qgis/python/plugins/plugin_installer/installer_plugin.py", >> line 33, in initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'arpat' from '/home/sam/.qgis//python/plugins/arpat/__init__.pyc'> >> <module 'arpat' from '/home/sam/.qgis//python/plugins/arpat/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/arpat/ArpatPlugin.py", line 58, in >> initGui >> self.toolBar = self.iface.addToolBar("ARPAT") >> TypeError: argument 1 of QgisInterface.addToolBar() has an invalid type >> <module 'bettertable' from >> '/home/sam/.qgis//python/plugins/bettertable/__init__.pyc'> >> <module 'bettertable' from >> '/home/sam/.qgis//python/plugins/bettertable/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/bettertable/BetterTablePlugin.py", >> line 34, in initGui >> self.iface.addToolBarIcon(self.actionOpenTable) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'centroids' from >> '/home/sam/.qgis//python/plugins/centroids/__init__.pyc'> >> <module 'centroids' from >> '/home/sam/.qgis//python/plugins/centroids/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/centroids/generateCentroids.py", >> line 60, in initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'extractnodes' from >> '/home/sam/.qgis//python/plugins/extractnodes/__init__.pyc'> >> <module 'extractnodes' from >> '/home/sam/.qgis//python/plugins/extractnodes/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/extractnodes/extractNodes.py", >> line 56, in initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'findbyattr' from >> '/home/sam/.qgis//python/plugins/findbyattr/__init__.pyc'> >> <module 'geoprocessing' from >> '/home/sam/.qgis//python/plugins/geoprocessing/__init__.pyc'> >> <module 'geoprocessing' from >> '/home/sam/.qgis//python/plugins/geoprocessing/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/geoprocessing/__init__.py", line >> 15, in classFactory >> return Geoprocessing(iface) >> File "/home/sam/.qgis//python/plugins/geoprocessing/geoprocessing.py", >> line 31, in __init__ >> userPluginPath = >> QFileInfo(QgsApplication.qgisUserDbFilePath()).path()+"/python/plugins/geoprocessing" >> TypeError: argument 1 of QFileInfo() has an invalid type >> <module 'myTest' from >> '/home/sam/.qgis//python/plugins/myTest/__init__.pyc'> >> <module 'myTest' from >> '/home/sam/.qgis//python/plugins/myTest/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/myTest/testplugin.py", line 31, in >> initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'randompoints' from >> '/home/sam/.qgis//python/plugins/randompoints/__init__.pyc'> >> <module 'randompoints' from >> '/home/sam/.qgis//python/plugins/randompoints/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/randompoints/generateRandom.py", >> line 59, in initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'srsmanagement' from >> '/home/sam/.qgis//python/plugins/srsmanagement/__init__.pyc'> >> <module 'srsmanagement' from >> '/home/sam/.qgis//python/plugins/srsmanagement/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File >> "/home/sam/.qgis//python/plugins/srsmanagement/projectionManagement.py", >> line 66, in initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'tablemanager' from >> '/home/sam/.qgis//python/plugins/tablemanager/__init__.pyc'> >> <module 'tablemanager' from >> '/home/sam/.qgis//python/plugins/tablemanager/__init__.pyc'> >> Error in sys.excepthook: >> Traceback (most recent call last): >> File "<string>", line 2, in qgis_except_hook >> File "<string>", line 11, in qgis_except_hook_msg >> TypeError: argument 1 of QgsMessageOutput.setTitle() has an invalid type >> >> Original exception was: >> Traceback (most recent call last): >> File "<string>", line 1, in <module> >> File "/home/sam/.qgis//python/plugins/tablemanager/tableManager.py", >> line 45, in initGui >> self.iface.addToolBarIcon(self.action) >> TypeError: argument 1 of QgisInterface.addToolBarIcon() has an invalid >> type >> <module 'mapserver_export' from >> '/usr/share/qgis/python/plugins/mapserver_export/__init__.pyc'> >> <module 'plugin_installer' from >> '/usr/share/qgis/python/plugins/plugin_installer/__init__.pyc'> >> <module 'arpat' from '/home/sam/.qgis//python/plugins/arpat/__init__.pyc'> >> <module 'bettertable' from >> '/home/sam/.qgis//python/plugins/bettertable/__init__.pyc'> >> <module 'centroids' from >> '/home/sam/.qgis//python/plugins/centroids/__init__.pyc'> >> <module 'extractnodes' from >> '/home/sam/.qgis//python/plugins/extractnodes/__init__.pyc'> >> <module 'findbyattr' from >> '/home/sam/.qgis//python/plugins/findbyattr/__init__.pyc'> >> <module 'geoprocessing' from >> '/home/sam/.qgis//python/plugins/geoprocessing/__init__.pyc'> >> <module 'myTest' from >> '/home/sam/.qgis//python/plugins/myTest/__init__.pyc'> >> <module 'randompoints' from >> '/home/sam/.qgis//python/plugins/randompoints/__init__.pyc'> >> <module 'srsmanagement' from >> '/home/sam/.qgis//python/plugins/srsmanagement/__init__.pyc'> >> <module 'tablemanager' from >> '/home/sam/.qgis//python/plugins/tablemanager/__init__.pyc'> >> Warning: Object::connect: No such signal QgsDbSourceSelect::finished() >> Warning: Object::connect: (sender name: 'QgsDbSourceSelectBase') >> >> >> Bye >> > > Hello everyone, > someone can help me understand these errors in QGIS? > > I am not using more because of this mistake! > > ----- > Salvatore Larosa > GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2) > -- > View this message in context: > http://www.nabble.com/qgis0.10_lenny-tp18232251p18315971.html > Sent from the qgis-user mailing list archive at Nabble.com. > > _______________________________________________ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-user > _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user