[GRASS-SVN] r65861 - grass/branches/releasebranch_7_0/gui/wxpython/gcp
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 8 07:16:25 PDT 2015
Author: annakrat
Date: 2015-08-08 07:16:25 -0700 (Sat, 08 Aug 2015)
New Revision: 65861
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/gcp/manager.py
Log:
gcpmanager: gisrc must be string not unicode - causes problems on Windows (merge from trunk, r65839)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/gcp/manager.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/gcp/manager.py 2015-08-08 14:15:42 UTC (rev 65860)
+++ grass/branches/releasebranch_7_0/gui/wxpython/gcp/manager.py 2015-08-08 14:16:25 UTC (rev 65861)
@@ -45,7 +45,7 @@
from core.utils import _
from gui_core.gselect import Select, LocationSelect, MapsetSelect
from gui_core.dialogs import GroupDialog
-from core.gcmd import RunCommand, GMessage, GError, GWarning
+from core.gcmd import RunCommand, GMessage, GError, GWarning, EncodeString
from core.settings import UserSettings
from gcp.mapdisplay import MapFrame
from core.giface import Notification
@@ -260,7 +260,7 @@
self.gisrc_dict['LOCATION_NAME'] = location
self.gisrc_dict['MAPSET'] = mapset
- self.source_gisrc = utils.GetTempfile()
+ self.source_gisrc = EncodeString(utils.GetTempfile())
try:
f = open(self.source_gisrc, mode='w')
More information about the grass-commit
mailing list