[Qgis-user] python error-color ramp manager- cpt-city choices are now gone

Patty Rehn quicksilversystems at gmail.com
Fri Oct 9 10:09:12 PDT 2015


Hi all-
I am sorry if I am asking in the wrong place.

I have managed to lose the cpt-city color ramps. I was trying to use the
color ramp manager plugin (although it was experimental) as I am struggling
to represent 3 sets of data on the same map.  Maybe all the cpt-city color
ramps were already installed but I attempted to update them (or something
like that) and now they are gone.
Uninstalling, reinstalling the plugin does not help.  I found the zip
package of cpt-city-qgis ramps but I have no idea how to put it back in. I
apparently do not need the color ramp manager but I would really like to
have the cpt-city colors back.

My python error follows.
Thank you for your help
Patty

An error has occured while executing Python code:
 Traceback (most recent call last):
  File
"C:/Users/Linnea/.qgis2/python/plugins\colorrampmanager\colorrampmanager.py",
line 155, in on_pbtnUpdateCheck_clicked
    self.checkUpdate('',True,self.dlg.windowTitle())
  File
"C:/Users/Linnea/.qgis2/python/plugins\colorrampmanager\colorrampmanager.py",
line 200, in checkUpdate
    return self.installUpdate(installDir,gui,title)
  File
"C:/Users/Linnea/.qgis2/python/plugins\colorrampmanager\colorrampmanager.py",
line 228, in installUpdate
    (ret,version) = cpt_city_update( installDir, True, packageType )
  File
"C:/Users/Linnea/.qgis2/python/plugins\colorrampmanager\cpt_city_update.py",
line 260, in cpt_city_update
    zf.extractall(datadir)
  File "C:\PROGRA~1\QGISPI~1\apps\Python27\lib\zipfile.py", line 1036, in
extractall
    self.extract(zipinfo, path, pwd)
  File "C:\PROGRA~1\QGISPI~1\apps\Python27\lib\zipfile.py", line 1024, in
extract
    return self._extract_member(member, path, pwd)
  File "C:\PROGRA~1\QGISPI~1\apps\Python27\lib\zipfile.py", line 1071, in
_extract_member
    os.makedirs(upperdirs)
  File "C:\PROGRA~1\QGISPI~1\apps\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\PROGRA~1\QGISPI~1\apps\Python27\lib\os.py", line 150, in makedirs
    makedirs(head, mode)
  File "C:\PROGRA~1\QGISPI~1\apps\Python27\lib\os.py", line 157, in makedirs
    mkdir(name, mode)
WindowsError: [Error 5] Access is denied:
'C:\\PROGRA~1\\QGISPI~1\\apps\\qgis\\resources\\cpt-city'
Python version:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
QGIS version:  2.10.1-Pisa Pisa, d20c5b7
Python path:
['C:/PROGRA~1/QGISPI~1/apps/qgis/./python/plugins\\processing',
'C:/PROGRA~1/QGISPI~1/apps/qgis/./python',
u'C:/Users/Linnea/.qgis2/python', u'C:/Users/Linnea/.qgis2/python/plugins',
'C:/PROGRA~1/QGISPI~1/apps/qgis/./python/plugins',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\matplotlib-1.3.1-py2.7-win-amd64.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\nose-1.3.3-py2.7.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\tornado-4.0.1-py2.7-win-amd64.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\backports.ssl_match_hostname-3.4.0.2-py2.7.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\certifi-14.05.14-py2.7.egg',
'C:\\PROGRA~1\\QGISPI~1\\bin\\python27.zip',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\DLLs',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\plat-win',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\lib-tk',
'C:\\PROGRA~1\\QGISPI~1\\bin', 'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\PIL',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\pytz-2012j-py2.7.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\win32',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg',
'C:\\PROGRA~1\\QGISPI~1\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg',
u'C:/Users/Linnea/.qgis2//python',
'C:\\Users\\Linnea\\.qgis2\\python\\plugins\\midvatten',
'C:\\Users\\Linnea\\.qgis2\\python\\plugins\\midvatten\\tools',
'C:\\Users\\Linnea\\.qgis2\\python\\plugins\\mmqgis/forms',
'C:\\PROGRA~1\\QGISPI~1\\apps\\qgis\\python\\plugins\\fTools\\tools',
'C:/Users/Linnea/Documents/GIS DataBase/paisley']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151009/9ba18595/attachment.html>


More information about the Qgis-user mailing list