Opened 14 years ago

Closed 14 years ago

#2623 closed bug (fixed)

Error startin qgis-dev

Reported by: aperi2007 Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.5.0
Component: Build/Install Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Debian
Platform Version: 7 Awaiting user input: no

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']

Change History (5)

comment:1 by lutra, 14 years ago

Resolution: fixed
Status: newclosed

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.

comment:2 by lucacasagrande, 14 years ago

Platform: WindowsDebian
Resolution: fixed
Status: closedreopened

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 (r265: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']

comment:3 by pcav, 14 years ago

Priority: critical: causes crash or data corruptionmajor: does not work as expected

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)?

comment:4 by lucacasagrande, 14 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

comment:5 by lucacasagrande, 14 years ago

Resolution: fixed
Status: reopenedclosed

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

Note: See TracTickets for help on using tickets.