Hi You probably installed cpt-city from zip files before. You have to remove the entire /home/paolo/.qgis/cpt-city directory, and try the update again.
It's because the permissions of the contents of the original zip file(not the one downloaded by the manager) are messed up (no write permissions). Let me know what you think! Etienne On Tue, Aug 7, 2012 at 8:21 AM, Paolo Cavallini <[email protected]> wrote: > Hi all. > Just installed the new plugin, I get an error: > > === > An error has occured while executing Python code: > > Traceback (most recent call last): > File > "/home/paolo/.qgis//python/plugins/colorrampmanager/colorrampmanager.py", > line 143, in on_pbtnUpdateCheck_clicked > self.checkUpdate('',True,self.dlg.windowTitle()) > File > "/home/paolo/.qgis//python/plugins/colorrampmanager/colorrampmanager.py", > line 182, in checkUpdate > return self.installUpdate(installDir,gui,title) > File > "/home/paolo/.qgis//python/plugins/colorrampmanager/colorrampmanager.py", > line 202, in installUpdate > (ret,version) = cpt_city_update( installDir, True ) > File > "/home/paolo/.qgis//python/plugins/colorrampmanager/cpt_city_update.py", > line 194, in cpt_city_update > zf.extractall(datadir) > File "/usr/lib/python2.7/zipfile.py", line 964, in extractall > self.extract(zipinfo, path, pwd) > File "/usr/lib/python2.7/zipfile.py", line 952, in extract > return self._extract_member(member, path, pwd) > File "/usr/lib/python2.7/zipfile.py", line 996, in _extract_member > target = file(targetpath, "wb") > IOError: [Errno 13] Permesso negato: > '/home/paolo/.qgis/cpt-city/ukmo/COPYING.xml' > > Python version: > 2.7.3rc2 (default, Apr 22 2012, 22:50:19) > [GCC 4.6.3] > > > QGIS version: > 1.9.0-Master Master, 84706ae > > === > but: > $ ls -l /home/paolo/.qgis/cpt-city/ukmo/COPYING.xml > -r--r--r-- 1 paolo paolo 753 nov 29 2011 > /home/paolo/.qgis/cpt-city/ukmo/COPYING.xml > > Thanks. > > -- > Paolo Cavallini - Faunalia > www.faunalia.eu > Full contact details at www.faunalia.eu/pc > Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
