[GRASS-user] setting resolution with wxpython-GUI fails when...

While testing the new GUI:
Config > Region > Set region > "Resolution" tab in g,region window.

Accidentaly I "touched" the "Number of rows in the new region" field
instead of typing in some resolution in the N-S, E-W fields. Then I just
filled-in the desired resolution in the N-S, E-W fields but the "row"
field doesn't seem to be "reset".

Following error:

(2) g.region --overwrite rows=0 nsres=250
ewres=250
ERROR: Invalid region: Illegal row value
(2) Command finished (0 sec)

Is it really a "bug"?

Could there be somekind of a reset button?

Nikos

I’ve downloaded William’s Leo binary, the readme states “The wxPython GUI makes use of the system MacPython 2.5 and wxPython 2.8.4. There is no need to install these”, but my system asked for a higher python version.
I’ve updated wtih

http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg
and

http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.7.1-universal-py2.5.dmg

When starting a new grass instance it refuses wxpython w/o any message, so I try
g.gui wxpython
and get
Fatal Python error: Interpreter not initialized (version mismatch?)

log

Process: Python [7087]
Path: /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
Identifier: Python
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: g.gui [7086]

Date/Time: 2008-04-21 09:10:53.357 +0200
OS Version: Mac OS X 10.5.2 (9C7010)
Report Version: 6

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread: 0

Thread 0 Crashed:
0 libSystem.B.dylib 0x94ba70ea __kill + 10
1 libSystem.B.dylib 0x94c1e3f2 raise + 26

The system

Model: iMac5,1, BootROM IM51.0090.B09, 2 processors, Intel Core 2 Duo, 2 GHz, 2 GB
Graphics: kHW_ATIr520Item, ATY,RadeonX1600, spdisplays_pcie_device, 128 MB
Memory Module: BANK 0/DIMM0, 1 GB, DDR2 SDRAM, 667 MHz
Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x87), Broadcom BCM43xx 1.0 (4.170.46.5)
Bluetooth: Version 2.1.0f14, 2 service, 1 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, Ethernet, en0
Network Service: Parallels Host-Guest, Ethernet, en2
Network Service: Parallels NAT, Ethernet, en3
Serial ATA Device: ST3160812AS Q, 149.05 GB
Parallel ATA Device: MATSHITADVD-R UJ-85J
USB Device: Built-in iSight, Micron, high_speed, 500 mA
USB Device: USB Flash Drive, PIXIKA, high_speed, 500 mA
USB Device: Hub in Apple Extended USB Keyboard, Mitsumi Electric, full_speed, 500 mA
USB Device: HASP 2.17, AKS, low_speed, 100 mA
USB Device: USB-PS/2 Optical Mouse, Logitech, low_speed, 100 mA
USB Device: Apple Extended USB Keyboard, Mitsumi Electric, full_speed, 250 mA
USB Device: Bluetooth USB Host Controller, Apple, Inc., full_speed, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., full_speed, 500 mA
FireWire Device: LaCie d2 Extreme LUN 0, LaCie Group SA, 400mbit_speed
FireWire Device: LaCie Hard Drive FireWire+, LaCie Group SA, 400mbit_speed

Any ideas?

On Apr 21, 2008, at 2:30 AM, Agustin Diez Castillo wrote:

I've downloaded William's Leo binary, the readme states "The wxPython GUI makes use of the system MacPython 2.5 and wxPython 2.8.4. There is no need to install these", but my system asked for a higher python version.

How did it ask for a newer version? Really, you don't need to install a newer one.

I've updated wtih
http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg
and
http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.7.1-universal-py2.5.dmg
When starting a new grass instance it refuses wxpython w/o any message, so I try
g.gui wxpython
and get

Fatal Python error: Interpreter not initialized (version mismatch?)

Now you are working with the python.org python. You must install and run the Tiger GRASS binary, which is built to use that. Really, the bulk of the GUI doesn't care and should run, it's just the digitizer that's tied to the exact wxPython build.

Looks like it might be a Python bug? Can you run Python by itself?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

[Trillian] What are you supposed to do WITH a maniacally depressed robot?

[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...

- HitchHiker's Guide to the Galaxy

El Apr 21, 2008, a las 3:56 PM, William Kyngesburye escribió:

On Apr 21, 2008, at 2:30 AM, Agustin Diez Castillo wrote:

I've downloaded William's Leo binary, the readme states "The wxPython GUI makes use of the system MacPython 2.5 and wxPython 2.8.4. There is no need to install these", but my system asked for a higher python version.

How did it ask for a newer version? Really, you don't need to install a newer one.

A warning in the terminal saying me that the machine has wwpython 2.8.0 and should have 2.8.4 (or the like, I don't rememeber the wording)

I've updated wtih
http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg
and
http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.7.1-universal-py2.5.dmg
When starting a new grass instance it refuses wxpython w/o any message, so I try
g.gui wxpython
and get

Fatal Python error: Interpreter not initialized (version mismatch?)

Now you are working with the python.org python. You must install and run the Tiger GRASS binary, which is built to use that. Really, the bulk of the GUI doesn't care and should run, it's just the digitizer that's tied to the exact wxPython build.

Done and working. But I'm on Leopard.

Looks like it might be a Python bug? Can you run Python by itself?

I can run GRASS.Tiger so I guess I can

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

[Trillian] What are you supposed to do WITH a maniacally depressed robot?

[Marvin] You think you have problems? What are you supposed to do if you ARE a maniacally depressed robot? No, don't try and answer, I'm 50,000 times more intelligent than you and even I don't know the answer...

- HitchHiker's Guide to the Galaxy

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Apr 21, 2008, at 9:29 AM, Agustin Diez Castillo wrote:

El Apr 21, 2008, a las 3:56 PM, William Kyngesburye escribió:

On Apr 21, 2008, at 2:30 AM, Agustin Diez Castillo wrote:

I've downloaded William's Leo binary, the readme states "The wxPython GUI makes use of the system MacPython 2.5 and wxPython 2.8.4. There is no need to install these", but my system asked for a higher python version.

How did it ask for a newer version? Really, you don't need to install a newer one.

A warning in the terminal saying me that the machine has wwpython 2.8.0 and should have 2.8.4 (or the like, I don't rememeber the wording)

I wonder, did you install the python.org python before installing GRASS? This will add /Library/Python.framework/.... to your shell PATH and disrupt all future use of the system python.

If you run this:

/usr/bin/python
import wx
wx.__version__

What does it say?

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an illusion caused by the passage of history."

- Hitchhiker's Guide to the Galaxy