Opened 13 years ago

Closed 13 years ago

#1374 closed defect (invalid)

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@…
CPU: x86-32 Platform: Linux

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

by timmie, 13 years ago

Attachment: grass_wxpythn-psmap.png added

error message

comment:1 by timmie, 13 years ago

Cc: timmie added
Component: DefaultwxGUI
CPU: Unspecifiedx86-32
Milestone: 6.4.2
Platform: UnspecifiedLinux
Version: unspecifiedsvn-releasebranch64

comment:2 by martinl, 13 years ago

Cc: grass-dev@… added
Keywords: wx.psmap added
Owner: changed from grass-dev@… to martinl
Status: newassigned

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

comment:3 by timmie, 13 years ago

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 comment:4 by martinl, 13 years ago

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.

comment:5 by martinl, 13 years ago

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.