Re: [Qgis-user] Any errors when installing plugins under XP ?
> ... maybe you need to call os.makedirs() instead of os.mkdir() as it > has to create first "python" and then "plugins" directory? > > Martin Thanks. I've implemented it as an additional security. However it's not very elegant way... ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Any errors when installing plugins under XP ?
2008/10/28 Borys Jurgiel <[EMAIL PROTECTED]>: > Tuesday 21 of October 2008 22:06:47 Tara Athan napisał(a): >> I am using a QGIS 1.0 windows build on XP. >> I am trying to install the Geoprocessor plugin. I get the error message >> Python error >> >> An error has occured while executing Python code: >> >> Traceback (most recent call last): >> File "C:/Program >> Files/QGIS-Dev/./python/plugins\plugin_installer\installer_gui.py", line >> 202, in requestFinished >> un.extract(tmpPath, pluginDir) # final extract. >> File "C:/Program >> Files/QGIS-Dev/./python/plugins\plugin_installer\unzip.py", line 29, in >> extract >> os.mkdir(dir) >> WindowsError: [Error 3] The system cannot find the path specified: >> u'C:/Documents and Settings/Tara/.qgis/python/plugins' > > Another words, it seems Pluigin Installer can't create missing directories > (python/plugins). Has anybody else experienced such error? Unfortunatelly I > can't replicate it, though I'm doing what only crosses my mind ;) The > Installer always creates missing directories. ... maybe you need to call os.makedirs() instead of os.mkdir() as it has to create first "python" and then "plugins" directory? Martin ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Any errors when installing plugins under XP ?
Tuesday 21 of October 2008 22:06:47 Tara Athan napisał(a): > I am using a QGIS 1.0 windows build on XP. > I am trying to install the Geoprocessor plugin. I get the error message > Python error > > An error has occured while executing Python code: > > Traceback (most recent call last): > File "C:/Program > Files/QGIS-Dev/./python/plugins\plugin_installer\installer_gui.py", line > 202, in requestFinished > un.extract(tmpPath, pluginDir) # final extract. > File "C:/Program > Files/QGIS-Dev/./python/plugins\plugin_installer\unzip.py", line 29, in > extract > os.mkdir(dir) > WindowsError: [Error 3] The system cannot find the path specified: > u'C:/Documents and Settings/Tara/.qgis/python/plugins' Another words, it seems Pluigin Installer can't create missing directories (python/plugins). Has anybody else experienced such error? Unfortunatelly I can't replicate it, though I'm doing what only crosses my mind ;) The Installer always creates missing directories. Regards, B. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user