Bug report #6811
QGIS crashes on startup on 64-bit Ubuntu
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Ubuntu||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||worksforme|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||15956|
[email protected] $ qgis
Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_GB]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_GB]
qgis.bin: /build/buildd/sip4-4.13.2/siplib/siplib.c:10938: sipEnumType_alloc: Assertion `(((currentType)->td_flags & 0x0007) == 0x0003)' failed.
Aborted (core dumped)
Unfortunately, while both of those previous issues have now been closed, they don't specify how to solve the problem. I'm installing qgis from the oneiric repo, and I've tried both the stable and the nightly build. Both have exactly the same behaviour.
#2 Updated by Martin Dobias about 7 years ago
- Priority changed from Severe/Regression to Normal
This must be a packaging problem - most likely you have got a wrong blend of PyQt4 and SIP related packages for some reason - due to custom PPAs or something like that - at least that's my impression from other bugs with the same error message: https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/993652
Please check where your packages come from:
apt-cache policy python-sip
apt-cache policy python-qt4
There's barely anything that we could do about that. Removing blocker priority.
As a last resort you could remove python-qgis package - QGIS should at least start, but you won't be able to run python plugins.