[GRASS-dev] [GRASS GIS] #1374: psmap window does not open

#1374: psmap window does not open
-------------------------+--------------------------------------------------
Reporter: timmie | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: unspecified
Keywords: | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
When running GRASS version 6.4.2svn I cannot start the wxwindow forpsmap
recently added to the code.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1374&gt;
GRASS GIS <http://grass.osgeo.org>

#1374: psmap window does not open
--------------------+-------------------------------------------------------
Reporter: timmie | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-releasebranch64
Keywords: | Platform: Linux
      Cpu: x86-32 |
--------------------+-------------------------------------------------------
Changes (by timmie):

* cc: timmie (added)
  * component: Default => wxGUI
  * platform: Unspecified => Linux
  * version: unspecified => svn-releasebranch64
  * milestone: => 6.4.2
  * cpu: Unspecified => x86-32

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1374#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1374: psmap window does not open
----------------------+-----------------------------------------------------
Reporter: timmie | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-releasebranch64
Keywords: wx.psmap | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------
Changes (by martinl):

* cc: grass-dev@… (added)
  * keywords: => wx.psmap
  * status: new => assigned
  * owner: grass-dev@… => martinl

Comment:

`grass.version()` has been added in r45936. Please update & reinstall
(`make distclean & configure & make & [make install]`) GRASS.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1374#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1374: psmap window does not open
----------------------+-----------------------------------------------------
Reporter: timmie | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-releasebranch64
Keywords: wx.psmap | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------

Comment(by timmie):

Please help me to understand:

In regular GRASS shell I get:
GRASS 6.4.2svn (North-Carolina):~ > g.version
GRASS 6.4.2svn (2011)

In IPython outside the GRASS shell:

$$$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys

>>> sys.path.append("/usr/lib/grass64/etc/python")
>>> import grass.script as grass
>>> grass.version()
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/lib/grass64/etc/python/grass/script/core.py", line 1094, in
version
     flags = 'rg')
   File "/usr/lib/grass64/etc/python/grass/script/core.py", line 265, in
parse_command
     res = read_command(*args, **kwargs)
   File "/usr/lib/grass64/etc/python/grass/script/core.py", line 235, in
read_command
     ps = pipe_command(*args, **kwargs)
   File "/usr/lib/grass64/etc/python/grass/script/core.py", line 212, in
pipe_command
     return start_command(*args, **kwargs)
   File "/usr/lib/grass64/etc/python/grass/script/core.py", line 174, in
start_command
     return Popen(args, **popts)
   File "/usr/lib/grass64/etc/python/grass/script/core.py", line 56, in
__init__
     startupinfo, creationflags)
   File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
     errread, errwrite)
   File "/usr/lib/python2.7/subprocess.py", line 1213, in _execute_child
     raise child_exception
OSError: [Errno 2] No such file or directory

Then I tried from inside GRASS shell:

GRASS 6.4.2svn (North-Carolina):~/src/coding/grass/scripts > python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from grass.script import core as grass
>>> grass.version()
{}
>>>

Something seems to be wrong here.

Please help.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1374#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1374: psmap window does not open
----------------------+-----------------------------------------------------
Reporter: timmie | Owner: martinl
     Type: defect | Status: assigned
Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-releasebranch64
Keywords: wx.psmap | Platform: Linux
      Cpu: x86-32 |
----------------------+-----------------------------------------------------

Comment(by martinl):

Replying to [comment:3 timmie]:
> Please help me to understand:
> GRASS 6.4.2svn (North-Carolina):~ > g.version
> GRASS 6.4.2svn (2011)

try `g.version -rg` instead. Flag -g has been added in r46028. Probably
you need to update your installation.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1374#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1374: psmap window does not open
----------------------+-----------------------------------------------------
  Reporter: timmie | Owner: martinl
      Type: defect | Status: closed
  Priority: normal | Milestone: 6.4.2
Component: wxGUI | Version: svn-releasebranch64
Resolution: invalid | Keywords: wx.psmap
  Platform: Linux | Cpu: x86-32
----------------------+-----------------------------------------------------
Changes (by martinl):

  * status: assigned => closed
  * resolution: => invalid

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1374#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>