Ticket #1374 (closed defect: invalid)

Opened 2 years ago

Last modified 22 months ago

psmap window does not open

Reported by: timmie Owned by: martinl
Priority: normal Milestone: 6.4.2
Component: wxGUI Version: svn-releasebranch64
Keywords: wx.psmap Cc: timmie, grass-dev@…
Platform: Linux CPU: x86-32

Description

When running GRASS version 6.4.2svn I cannot start the wxwindow forpsmap recently added to the code.

Attachments

grass_wxpythn-psmap.png Download (28.7 KB) - added by timmie 2 years ago.
error message

Change History

Changed 2 years ago by timmie

error message

  Changed 2 years ago by timmie

  • cc timmie added
  • component changed from Default to wxGUI
  • platform changed from Unspecified to Linux
  • version changed from unspecified to svn-releasebranch64
  • milestone set to 6.4.2
  • cpu changed from Unspecified to x86-32

  Changed 2 years ago by martinl

  • cc grass-dev@… added
  • keywords wx.psmap added
  • status changed from new to assigned
  • owner changed from grass-dev@… to martinl

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

follow-up: ↓ 4   Changed 2 years ago 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.

in reply to: ↑ 3   Changed 2 years ago by martinl

Replying to 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.

  Changed 22 months ago by martinl

  • status changed from assigned to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.