[GRASS-dev] wxPython requirements [was d.menu, d.ask]

Michael Barton michael.barton at asu.edu
Thu Mar 15 13:20:50 EDT 2007


On my copy, line 302 (newest version) is simply....

                   style=wx.DEFAULT_FRAME_STYLE,

This suggests that is it something with your system. I don't know what app =
GMApp(0) is.

Michael


On 3/15/07 10:08 AM, "Moritz Lennert" <mlennert at club.worldonline.be> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 15/03/07 17:40, Jachym Cepicky wrote:
>> Hi,
>> 
>> the only problem seems to be version of wxWidegets (2.8.xx, maybe
>> 2.8.1.x). It should work with python 2.3
> 
> I installed 2.8.1.1 on Debian from the Ubuntu packages (installation
> went smoothly).
> 
> However, I get the following error message:
> 
> GRASS 6.3.cvs (BELGIQUE):~/SRC/GRASS/gui > python gism.py
> Traceback (most recent call last):
>   File "gism.py", line 302, in ?
>     app = GMApp(0)
>   File
> "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
> 7757, in __init__
>     self._BootstrapApp()
>   File
> "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
> 7354, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "gism.py", line 282, in OnInit
>     mainframe = GMFrame(None, -1, "")
>   File "gism.py", line 83, in __init__
>     render.Track().SetChbk(self.gm_cb)
> AttributeError: 'module' object has no attribute 'Track'
> 
> Is this a problem with my Ubuntu/Debian mix or is there something else ?
> 
> Moritz
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFF+X13MiPFf/8qzFYRAvLeAKCCgqf4RXEVDGw/bWJNglr3t5AdwACfSjbm
> nyGg55nTgxmb9WIG46Jr+Sc=
> =sUQ3
> -----END PGP SIGNATURE-----

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list