Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#779 closed enhancement (invalid)

Python error at startup

Reported by: cdavila Owned by: nobody
Priority: major: does not work as expected Milestone:
Component: Build/Install Version: Trunk
Keywords: Cc: frankie@…, niccolo@…
Must Fix for Release: No Platform: Debian
Platform Version: testing Awaiting user input: no

Description

Both 0.8.1 and 0.9 give an error when program is starting. When it tries to connect python it doesn't find SIP and Qt and so python can't be used. After installing python-sip4 and python-qt4 packages error disappeared.

So, my question is: shouldn't these packages be established as dependencies?

Change History (8)

comment:1 by wonder, 17 years ago

Yes, you're right, those packages contain files needed by PyQGIS and should be established as dependencies.

However, I'm wondering what error do you get at startup with QGIS 0.8.1 as it doesn't include python bindings.

Martin

in reply to:  1 comment:2 by cdavila, 17 years ago

Replying to wonder:

However, I'm wondering what error do you get at startup with QGIS 0.8.1 as it doesn't include python bindings.

Martin

QGIS packages are 0.8.1-3 but both splashscreen and about info show 0.9.0-Preview-1.

Without python-sip4 and python-qt4 error is:

Couldn't load SIP module. Python support will be disabled.

After installing only python-sip4 error is:

Couldn't load PyQt bindings. Python support will be disabled.

comment:3 by wonder, 17 years ago

... and from what source do you have the package?

in reply to:  3 comment:4 by cdavila, 17 years ago

Replying to wonder:

... and from what source do you have the package?

http://debian.gfoss.it/

comment:5 by pcavallini, 16 years ago

I think it is a packaging problem. Should be solved now. Could you please check and close it? Thanks. pc

comment:6 by cdavila, 16 years ago

I'm afraid it's not solved. I have uninstalled python-qt4 and python-sip packages with no warning about any qgis package depending on them. After that, error dialog reappears when starting qgis:
Could not load SIP module
Python support will be diabled
Tested with 0.9.2~rc20080131 packages from debian.gfoss.it

comment:7 by pcav, 16 years ago

Cc: frankie@… niccolo@… added
Resolution: invalid
Status: newclosed

It is not a QGIS bug, but a package one. Forwarding it to packagers, to establish correct dependencies.

comment:8 by (none), 15 years ago

Milestone: Version 0.9.2

Milestone Version 0.9.2 deleted

Note: See TracTickets for help on using tickets.