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