I get a similar error when build qgis from svn. Reported it back in August, still happening as of last week. <div><br></div><div><a href="http://lists.osgeo.org/pipermail/qgis-developer/2009-August/007543.html">http://lists.osgeo.org/pipermail/qgis-developer/2009-August/007543.html</a></div>
<div><br></div><div><a href="http://lists.osgeo.org/pipermail/qgis-developer/2009-August/007543.html"></a>I get the error dialog when I start qgis, and then another when I close. I fix it the same way, by removing the newline on line 16 of ui_qgsplugininstallerbase.py.</div>
<div><br></div><div>- Jamie<br><br><div class="gmail_quote">On Thu, Sep 24, 2009 at 11:59 AM, Micha Silver <span dir="ltr"><<a href="mailto:micha@arava.co.il">micha@arava.co.il</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This is aimed for Ubuntu package maintainers mostly.<br>
<br>
I think there's a small typo in one of the python scripts in the python_installer plugin that trips up installation of python-qgis and python-qgis-common.<br>
I was getting errors when running apt-get update with both the regular ubuntu repository and with ubuntugis. The error was:<br>
dpkg: dependency problems prevent configuration of python-qgis-common:<br>
python-qgis-common depends on python-qgis (>= 1.3.0-1~hardy3); however:<br>
Package python-qgis is not configured yet.<br>
dpkg: error processing python-qgis-common (--configure):<br>
dependency problems - leaving unconfigured<br>
Errors were encountered while processing:<br>
python-qgis-common<br>
<br>
Note that this error was somewhat bogus since the package *was* installed, and the python installer and other python plugins all seemed to work fine!<br>
<br>
Anyway:<br>
Running dpkg --configure python-qgi python-qgis-common, I saw this:<br>
micha@RMS:~$ sudo dpkg --configure python-qgis-common python-qgis<br>
Setting up python-qgis (1.3.0-1~hardy3) ...<br>
<br>
Setting up python-qgis-common (1.3.0-1~hardy3) ...<br>
Compiling /usr/share/qgis/python/plugins/plugin_installer/ui_qgsplugininstallerbase.py ...<br>
File "/usr/share/qgis/python/plugins/plugin_installer/ui_qgsplugininstallerbase.py", line 16<br>
QgsPluginInstallerDialogBase.setWindowIcon(QtGui.QIcon("<br>
^<br>
SyntaxError: EOL while scanning single-quoted string<br>
<br>
pycentral: pycentral pkginstall: error byte-compiling files (88)<br>
pycentral pkginstall: error byte-compiling files (88)<br>
<br>
I then opened the file ui_qgsplugininstallerbase.py and deleted the newline after QtGui.QIcon("<br>
so the new line looks like:<br>
QgsPluginInstallerDialogBase.setWindowIcon(QtGui.QIcon(""))<br>
<br>
Then I could run dpkg --configure successfully.<br>
<br>
Regards,<br>
Micha<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br></div>