[GRASS-dev] [GRASS GIS] #2647: mac OSX - wxpython 3 (64 bit) - ps.map fails to generate map preiew

GRASS GIS trac at osgeo.org
Sun Apr 5 17:08:38 PDT 2015


#2647: mac OSX - wxpython 3 (64 bit) - ps.map fails to generate map preiew
----------------------+-----------------------------------------------------
 Reporter:  epifanio  |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  critical  |   Milestone:  7.1.0                    
Component:  Ps.map    |     Version:  svn-trunk                
 Keywords:            |    Platform:  MacOSX                   
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------
 Trying to generate a simple pdf (single raster map + legend) the gui wx
 map composer freeze with the following log in the shell:

 {{{
 GUI D1/5: gcmd.CommandThread(): ps.map --overwrite
 input=/Users/epi/grass7data/NAD83_UTM_18N/PERMANENT/.tmp/epimac.local/90304.1
 output=/Users/epi/grass7data/NAD83_UTM_18N/PERMANENT/.tmp/epimac.local/90304.2
 GUI D1/5: gcmd.RunCommand(): g.region rows=947 cols=1014
 D1/5: grass.script.core.start_command(): g.region rows=947 cols=1014
 GUI D1/5: gcmd.RunCommand(): get return code 0 (0.048446 sec)
 Apr  5 20:04:39 epimac.local Python[90304] <Error>:
 CGContextRestoreGState: invalid context 0x0. This is a serious error. This
 application, or a library it uses, is using an invalid context  and is
 thereby contributing to an overall degradation of system stability and
 reliability. This notice is a courtesy: please fix this problem. It will
 become a fatal error in an upcoming update.
 Traceback (most recent call last):
   File "/usr/local/grass-7.1.svn/gui/wxpython/psmap/frame.py", line 352,
 in OnCmdDone
     im.save(self.imgName, format = 'PNG')
   File "build/bdist.macosx-10.10-intel/egg/PIL/Image.py", line 1653, in
 save
     raise ValueError("unknown transformation method")
   File "build/bdist.macosx-10.10-intel/egg/PIL/EpsImagePlugin.py", line
 336, in load
     fp.write("grestore end\n")
   File "build/bdist.macosx-10.10-intel/egg/PIL/EpsImagePlugin.py", line
 143, in Ghostscript
     length = fp.tell()
   File
 "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 line 710, in __init__
     errread, errwrite)
   File
 "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 line 1335, in _execute_child
     raise child_exception
 OSError: [Errno 2] No such file or directory
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2647>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list