Bug report #2623

Error startin qgis-dev

Added by aperi2007 - over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Low
Assignee:nobody -
Category:Build/Install
Affected QGIS version: Regression?:No
Operating System:Debian Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:12683

Description

After update qgis to last version trunk was appeared this error starting qgis dev

Impossibile caricare PyQGIS.
Il supporto Python verrà disabilitato.

In english

"was impossible to load PyQGIS.
pyton support will be disabled"

I try to uninstall all and to reinstall again but the error is again.

Traceback (most recent call last):
File "", line 1, in
ImportError: dynamic module does not define init function (initcore)

Versione Python:
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]

Versione di QGIS:
1.5.0-Trunk 'Trunk', 13226

Percorso Python:
['C:/OSGeo4W/apps/qgis-dev/./python', 'C:\\\\Users\\\\peri/.qgis/python', 'C:\\\\Users\\\\peri/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis-dev/./python/plugins', 'C:\\\\OSGeo4W\\\\apps\\\\gdal-16\\\\pymod', 'C:\\\\', 'C:\\\\OSGeo4W\\\\bin\\\\python25.zip', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\DLLs', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib\\\\plat-win', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib\\\\lib-tk', 'C:\\\\OSGeo4W\\\\apps\\\\qgis-dev\\\\bin', 'C:\\\\OSGeo4W\\\\apps\\\\Python25', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib\\\\site-packages', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\win32', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\win32\\\\lib', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\Pythonwin', 'C:\\\\OSGeo4W\\\\apps\\\\Python25\\\\lib\\\\site-packages\\\\wx-2.8-msw-unicode']

History

#1 Updated by Giovanni Manghi over 10 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

it has already been fixed today, you'll see the effects with the next qgis-dev update with osgeo4w (tomorrow).

Reopen if after updating with the new dev release the problem shows again.

#2 Updated by Luca Casagrande over 10 years ago

  • Resolution deleted (fixed)
  • Status changed from Closed to Feedback

The same error happen with latest trunk (13354) on Ubuntu Lucid

this is the error:

Impossibile caricare [[PyQGIS]].
Il supporto Python verrà disabilitato.

Traceback (most recent call last):
  File "", line 1, in 
[[ImportError]]: dynamic module does not define init function (initcore)

Versione Python:
2.6.5 (commit:0f397015 (SVN r266):79063, Apr 16 2010, 14:15:55) 
[GCC 4.4.3]

Versione di QGIS:
1.5.0-Trunk 'Trunk', 13354

Percorso Python:
['/usr/local/share/qgis/python', '/home/luca/.qgis/python', '/home/luca/.qgis/python/plugins', '/usr/local/share/qgis/python/plugins', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode', '/usr/local/lib/python2.6/dist-packages']

#3 Updated by Paolo Cavallini over 10 years ago

Sounds a stupid comment, but have you installed python-qgis_1.5.0_amd64.deb python-qgis-common_1.5.0_all.deb and dependencies (in particular python-sip4)?

#4 Updated by Luca Casagrande over 10 years ago

Trying to build 1.4.0 from source, I have found the error:

SIP is required in version 4.7 or later!

The version shipped with Lucid and installed in my system is the 4.10.1.
Can this be related to the sip detection as in this link:
http://www.orocos.org/forum/rtt/rtt-dev/kdl-not-detecting-sip-410-python-bindings

Bye
Luca

#5 Updated by Luca Casagrande over 10 years ago

  • Resolution set to fixed
  • Status changed from Feedback to Closed

I opened a specific ticket here:
https://trac.osgeo.org/qgis/ticket/2678

Also available in: Atom PDF