Hi,
I had the same problem and the solution is to edit the
/usr/share/qgis/python/plugins/sextante/tests/SagaTest.py.
The first lines should look like:
----
from sextante.tests.TestData import points, points2, polygons, polygons2,
lines, union,\
table, polygonsGeoJson, raster
----
The problem was that "table, polygonsGeoJson" or I can't remember exactly which
words were duplicated.
Delete them or just paste the above line over its correspondent and everything
will be peachy.
Good luck,
Tudor Barascu
________________________________
From: Nick Hopton <nhop...@gmail.com>
To: qgis-user@lists.osgeo.org
Sent: Friday, April 5, 2013 12:13 PM
Subject: [Qgis-user] Master update problem
Ubuntu 12.04 (amd64), Master, nightly repository.
Hi all, attempting to update Master yesterday and again earlier today left
me with no Python support. The problem appears to be with python-qgis and
and python-qgis-common. The message from the update manager is shown below.
Any ideas?
Regards,
Nick.
============
installArchives() failed: Setting up python-qgis-common
(1.9.0+git20130401+af7d6f8~precise1) ...
Compiling /usr/share/qgis/python/plugins/sextante/tests/SagaTest.py ...
Sorry: IndentationError: ('unexpected indent',
('/usr/share/qgis/python/plugins/sextante/tests/SagaTest.py', 5, 4, '
table, polygonsGeoJson, raster\n'))
pycentral: pycentral pkginstall: error byte-compiling files (539)
pycentral pkginstall: error byte-compiling files (539)
dpkg: error processing python-qgis-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-qgis:
python-qgis depends on python-qgis-common (=
1.9.0+git20130401+af7d6f8~precise1); however:
Package python-qgis-common is not configured yet.
dpkg: error processing python-qgis (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup
error from a previous failure.
Errors were encountered while processing:
python-qgis-common
python-qgis
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Setting up python-qgis-common (1.9.0+git20130401+af7d6f8~precise1) ...
Compiling /usr/share/qgis/python/plugins/sextante/tests/SagaTest.py ...
Sorry: IndentationError: ('unexpected indent',
('/usr/share/qgis/python/plugins/sextante/tests/SagaTest.py', 5, 4, '
table, polygonsGeoJson, raster\n'))
pycentral: pycentral pkginstall: error byte-compiling files (539)
pycentral pkginstall: error byte-compiling files (539)
dpkg: error processing python-qgis-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-qgis:
python-qgis depends on python-qgis-common (=
1.9.0+git20130401+af7d6f8~precise1); however:
Package python-qgis-common is not configured yet.
dpkg: error processing python-qgis (--configure):
dependency problems - leaving unconfigured
============
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Master-update-problem-tp5044751.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user