[GRASS-user] wxgrass: porblem with combo

Jarosław Jasiewicz jarekj at amu.edu.pl
Mon Jun 4 04:03:25 EDT 2007


Michael Barton napisał(a):

>Jarek,
>
>
>On 6/2/07 8:11 AM, "Jarek Jasiewicz" <jarekj at amu.edu.pl> wrote:
>
>  
>
>>Hi
>>That problem was described on  FreegeoCZ, but I have problem with some
>>Czech words :))
>>
>>
>>on ubuntu feisty with wxWidgeds installed from repository:
>>generally after when wxgrass is started I have the message:
>>
>>Traceback (most recent call last):
>>  File "/usr/local/grass-6.3.cvs/etc/wx/wxgui.py", line 29, in <module>
>>    import wx.combo
>>ImportError: No module named combo
>>    
>>
>
>See a bit below.
>
>  
>
>>generally:
>>
>>wxGRASS have started in recent (btw: congratulations, intuitive fast
>>interface, and times faster display!!!!!)
>>    
>>
>
>Thanks. And thanks for going to the trouble of testing this.
>
>  
>
>>some elemenst works, some not (I know, it is in early development stage)
>>but in next start mentioned message appeared.
>>
>>Meanwhile I tried (without success) compile Ggis with Python support.
>>Because there were problems in finding Python Include dir, I make some
>>changes in ld.conf.so (path to Python2.4 includes needded by qgis). I
>>cancelled all the changes  (and run ldconfig, of course)
>>    
>>
>
>This is not necessary for the wxPython gui. It is only needed if you want to
>use the Python SWIG interface.
>
>  
>
>>Generaly, it worked, and without any particular reasons have stopped.
>>Any ideas??
>>
>>I have wx installed in /usr/include/wx-2.8/wx it is 2.8.1. version
>>I have both python 2.4 and 2.5 installed in /usr
>>    
>>
>
>This could be a problem. You can have multiple pythons installed, but only
>one will be the default. I (and at least some others) are currently using
>2.5 for development, but trying to maintain 2.4 compatibility. So either one
>should be OK for the wxgrass gui.
>
>You mention in another post that you have wxPython 2.6 and 2.8 installed.
>This will almost certainly be a problem unless 2.8.x is your default. This
>is probably the source of the error with wx.combo--a module that comes with
>2.8. These are in ../wx/lib and need to be in your python path. I don't know
>if wxPython 2.6 can be in your python path without causing problems.
>
>Michael
>__________________________________________
>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
>
>  
>
Thanks Michel

I tested it more, and I confirm: having 2.6 cousing problmes with 
wx.combo, but this not allow install aplications depending on wxPython2.6
The only solution is to install 2.6 on very fresh system, next 2.8 next 
other aplication. But At least two aplications on Ubuntu installed from 
repos (for examle wxGlade and pgAdmin3 if installed after) made wx2.6 
default

I don't know if idea of depending wxGRASS on at least 2.8.1 is good idea 
(I red this in last Jachym article on his page). Generally most ubuntu 
application are dependend on wx2.6. I don't know if following example is 
good but may give you addational asspumtion:
Probably every grass user know pgadmin3 (postgreSQL manager) for now in 
ubuntu repositories is version 1.4.3 depending on wx2.6. I asked 
developers why not 1.6.1 wchich is more advanced. It is because, 1.6.1 
is dependend on wx2.8, ad as long as they will not be sure if wx2.8 is 
fully compatibile with other aplications they will not add 1.6.1

that all I can say

greetings and tahnks for all your effort on new (and better) grasss 
interface

BTW: I sbscribed grassgui list so next massages on wxGRASS I will post there

Jarek




More information about the grass-user mailing list