I get a similar error when build qgis from svn. Reported it back in August, still happening as of last week. http://lists.osgeo.org/pipermail/qgis-developer/2009-August/007543.html
<http://lists.osgeo.org/pipermail/qgis-developer/2009-August/007543.html>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. - Jamie On Thu, Sep 24, 2009 at 11:59 AM, Micha Silver <mi...@arava.co.il> wrote: > This is aimed for Ubuntu package maintainers mostly. > > 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. > I was getting errors when running apt-get update with both the regular > ubuntu repository and with ubuntugis. The error was: > dpkg: dependency problems prevent configuration of python-qgis-common: > python-qgis-common depends on python-qgis (>= 1.3.0-1~hardy3); however: > Package python-qgis is not configured yet. > dpkg: error processing python-qgis-common (--configure): > dependency problems - leaving unconfigured > Errors were encountered while processing: > python-qgis-common > > 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! > > Anyway: > Running dpkg --configure python-qgi python-qgis-common, I saw this: > mi...@rms:~$ sudo dpkg --configure python-qgis-common python-qgis > Setting up python-qgis (1.3.0-1~hardy3) ... > > Setting up python-qgis-common (1.3.0-1~hardy3) ... > Compiling > /usr/share/qgis/python/plugins/plugin_installer/ui_qgsplugininstallerbase.py > ... > File > "/usr/share/qgis/python/plugins/plugin_installer/ui_qgsplugininstallerbase.py", > line 16 > QgsPluginInstallerDialogBase.setWindowIcon(QtGui.QIcon(" > ^ > SyntaxError: EOL while scanning single-quoted string > > pycentral: pycentral pkginstall: error byte-compiling files (88) > pycentral pkginstall: error byte-compiling files (88) > > I then opened the file ui_qgsplugininstallerbase.py and deleted the newline > after QtGui.QIcon(" > so the new line looks like: > QgsPluginInstallerDialogBase.setWindowIcon(QtGui.QIcon("")) > > Then I could run dpkg --configure successfully. > > Regards, > Micha > _______________________________________________ > 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