Summary: Updating from nightly builds breaks python-qgis-common I've experienced the same problem as reported by Matteo. I see where someone posted on stackexchange but it was closed as off-topic. http://gis.stackexchange.com/questions/29094/how-to-install-qgis-on-ubuntu-12-04
Any insight on resolving this would be terrific. JD My Platform = Ubuntu 12.04 64 Bit, QGIS version 1.9.0-Master QGIS code revision exported Compiled against Qt4.8.1 Running against Qt4.8.1 Compiled against GDAL/OGR1.7.3 Running against GDAL/OGR1.7.3 GEOS Version 3.2.2 PostgreSQL Client Version 9.1.5 SpatiaLite Version 3.0.0-beta QWT Version 5.2.2 PROJ.4 Version 470 QScintilla2 Version > 6. python error (Matteo Ghetta) > ------------------------------ > > Message: 6 > Date: Mon, 3 Dec 2012 14:39:34 +0100 > From: Matteo Ghetta <matteo.ghe...@gmail.com> > To: qgis-user@lists.osgeo.org > Subject: [Qgis-user] python error > Message-ID: > <CAMMN2u2sve7tpML6641NHd=ipsofhlmqrckieehaqz_jbip...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi guys, > I've updated qgis from the nightly repos but I got some errors > (ubuntu > 12.04): > > Configurazione di python-qgis-common > (1.9.0+git20121201+80fa7aa~precise-ubuntugis1)... > Compiling > /usr/share/qgis/python/plugins/sextante/admintools/httplib2/__init__.py > ... > SyntaxError: ('from __future__ imports must occur at the beginning of > the > file', > ('/usr/share/qgis/python/plugins/sextante/admintools/httplib2/__init__.py', > 26, None, 'from __future__ import generators\n')) > pycentral: pycentral pkginstall: error byte-compiling files (496) > pycentral pkginstall: error byte-compiling files (496) > dpkg: errore nell'elaborare python-qgis-common (--configure): > il sottoprocesso vecchio script di post-installation ha restituito > lo > stato di errore 1 > dpkg: problemi con le dipendenze impediscono la configurazione di > python-qgis: > python-qgis dipende da python-qgis-common (= > 1.9.0+git20121201+80fa7aa~precise-ubuntugis1), ma: > Il pacchetto python-qgis-common non ? ancora configurato. > dpkg: errore nell'elaborare python-qgis (--configure): > problemi con le dipendenze - lasciato non configurato > Segnalazione apport non scritta poich? il messaggio di errore indica > la > presenza di un fallimento precedente. > Si sono verificati degli errori nell'elaborazione: > python-qgis-common > python-qgis > E: Sub-process /usr/bin/dpkg returned an error code (1) > > and starting qgis: > > Impossibile caricare PyQGIS. > Il supporto Python verr? disabilitato. > > Traceback (most recent call last): > File "", line 1, in > ImportError: No module named qgis.core > > Versione Python: > 2.7.3 (default, Aug 1 2012, 05:27:35) > [GCC 4.6.3] > Versione di QGIS: > 1.9.0-Master 'Master', exported > > > > And obviously I can't use plugins... > Some ideas? > > Regards > > Matteo _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user