<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 10, 2013 at 11:49 PM, Michael Barton <span dir="ltr"><<a href="mailto:Michael.Barton@asu.edu" target="_blank">Michael.Barton@asu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm still not sure why we need wxPython 2.9 for the toolbox. Is it coded with a wxPython 2.9 specific code?<br>
<div class="im"><br></div></blockquote><div><br></div><div style>Definitely not, there is no new wx code, the changes were only in pure python (needs at least 2.6) and new compilation rules were added. WxPython version doesn't matter.</div>
<div style><br></div><div style>Anna</div><div style><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Michael<br>
______________________________<br>
C. Michael Barton<br>
Director, Center for Social Dynamics & Complexity<br>
Professor of Anthropology, School of Human Evolution & Social Change<br>
Arizona State University<br>
Tempe, AZ 85287-2402<br>
USA<br>
<br>
voice: <a href="tel:480-965-6262" value="+14809656262">480-965-6262</a> (SHESC), <a href="tel:480-727-9746" value="+14807279746">480-727-9746</a> (CSDC)<br>
fax: <a href="tel:480-965-7671" value="+14809657671">480-965-7671</a>(SHESC), <a href="tel:480-727-0709" value="+14807270709">480-727-0709</a> (CSDC)<br>
www: <a href="http://csdc.asu.edu" target="_blank">http://csdc.asu.edu</a>, <a href="http://shesc.asu.edu" target="_blank">http://shesc.asu.edu</a><br>
<a href="http://www.public.asu.edu/~cmbarton" target="_blank">http://www.public.asu.edu/~cmbarton</a><br>
<br>
</div>On Jun 10, 2013, at 2:41 PM, William Kyngesburye <<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>><br>
<div class="HOEnZb"><div class="h5"> wrote:<br>
<br>
> I think we're probably at a point of not being able to do a single binary package for both Snow and Lion+ - too many differences. It's not quite possible to install both 2.9 carbon for Python 2.6 and 2.9 cocoa for Python 2.7 - while the python parts are separate, the C library parts of one will overwrite the other, and they are probably not compatible.<br>
><br>
> The way I handle it is to compile wxpython myself. I can install each in completely separate locations and reference whichever I need for Snow or Lion builds. BUT, I haven't tried this yet for 2.9 carbon ON lion, I may have to also compile wxpython 2.9 carbon on Snow (and maybe even GRASS).<br>
><br>
> On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:<br>
><br>
>> I just installed wxPython 2.9.0.4 for Python 2.6 (for backward compatibility with Snow Leopard). It razed an error on configuration. In checking, here is what I get.<br>
>><br>
>> /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list<br>
>><br>
>> Default config is osx_carbon-unicode-2.9<br>
>><br>
>> No config found to match: /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list<br>
>> in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config<br>
>><br>
>> Please install the desired library build, or specify a different<br>
>> prefix where it may be found. If the library is not installed<br>
>> you may call its wx-config directly by specifying its full path.<br>
>><br>
>><br>
>> Also available in /usr/local/lib/wxPython-2.9.4.0:<br>
>> osx_carbon-unicode-2.9<br>
>><br>
>><br>
>> Any idea what is wrong?<br>
>><br>
>> MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow Leopard compatibility.<br>
>><br>
>> Michael<br>
>> ______________________________<br>
>> C. Michael Barton<br>
>> Director, Center for Social Dynamics & Complexity<br>
>> Professor of Anthropology, School of Human Evolution & Social Change<br>
>> Arizona State University<br>
>> Tempe, AZ 85287-2402<br>
>> USA<br>
>><br>
>> voice: 480-965-6262 (SHESC), 480-727-9746 (CSDC)<br>
>> fax: 480-965-7671(SHESC), 480-727-0709 (CSDC)<br>
>> www: <a href="http://csdc.asu.edu" target="_blank">http://csdc.asu.edu</a>, <a href="http://shesc.asu.edu" target="_blank">http://shesc.asu.edu</a><br>
>> <a href="http://www.public.asu.edu/~cmbarton" target="_blank">http://www.public.asu.edu/~cmbarton</a><br>
>><br>
>> On Jun 7, 2013, at 8:39 PM, William Kyngesburye <<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>> wrote:<br>
>><br>
>>> I just compiled trunk, no compile errors, and GUI runs fine.<br>
>>><br>
>>> OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4<br>
>>><br>
>>> I'm a bit lost now - what is the status of this, what is the current problem?<br>
>>><br>
>>> On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:<br>
>>><br>
>>>> Maybe it is PYTHONPATH<br>
>>>><br>
>>>> BUT...<br>
>>>><br>
>>>> Python and the GUI is compiling and working just fine otherwise. And Python runs with no problem in the terminal.<br>
>>>><br>
>>>> The bogus errors for compiling mapswipe, composer, etc first appeared with what I think was the introduction of a new window class for these modules. I have not seen the toolbox, but it may reuse the same code. If I knew what this new code is, I might be able to troubleshoot it. But I don't have time to try to reverse engineer it without guidance as to where to look. The error on importing wx is misleading as to what the real error is.<br>
>>>><br>
>>>> I can't say for sure that these are all related (and the error is indeed somewhat different for the toolbox compilation). But it seems a reasonable place to start.<br>
>>>><br>
>>>> If it IS a PYTHONPATH problem, then the code for building the toolbox is somehow ignoring PYTHONPATH because this is set properly otherwise.<br>
>>>><br>
>>><br>
>>>>> On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton <<a href="mailto:Michael.Barton@asu.edu">Michael.Barton@asu.edu</a>> wrote:<br>
>>>>> Anna,<br>
>>>>><br>
>>>>> This is from the log. It looks to me like a path problem during compilation<br>
>>>>><br>
>>>>> Traceback (most recent call last):<br>
>>>>> File "tools/build_modules_xml.py", line 85, in <module><br>
>>>>> sys.exit(main())<br>
>>>>> File "tools/build_modules_xml.py", line 77, in main<br>
>>>>> header(fh)<br>
>>>>> File "tools/build_modules_xml.py", line 58, in header<br>
>>>>> import grass.script.core as grass<br>
>>>>> ImportError: No module named grass.script.core<br>
>>>>> make[1]: *** [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml] Error 1<br>
>>>>> make: [default] Error 2 (ignored)<br>
>>>>> make xml/menudata.xml<br>
>>>>> make[1]: `xml/menudata.xml' is up to date.<br>
>>>>> make menustrings.py<br>
>>>>><br>
>>>>> The other bogus errors on "No module named wx" also seems like a path problem.<br>
>>>>><br>
>>>>> yes, problem might be in PYTHONPATH. Could you ask about this William? I have currently no time and I am probably not able to solve this.<br>
>>>>><br>
>>>>> Regards,<br>
>>>>><br>
>>>>> Anna<br>
>>><br>
>>>>> On Jun 6, 2013, at 2:39 AM, Anna Petrášová <<a href="mailto:kratochanna@gmail.com">kratochanna@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>>> Hi, Michael,<br>
>>>>>><br>
>>>>>><br>
>>>>>> On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton <<a href="mailto:Michael.Barton@asu.edu">Michael.Barton@asu.edu</a>> wrote:<br>
>>>>>> OK. I did this remotely but hopefully it is what you need.<br>
>>>>>><br>
>>>>>> yes, perfect, thanks. Could you try the compilation again with the change William did recently (demolocation probem, [1])? It might be related because from the errors in the log it seems that the virtual grass session is not there. If the problem is still there, please send me updated compilation log.<br>
>>>>>><br>
>>>>>> Thanks,<br>
>>>>>> Anna<br>
>>>>>><br>
>>>>>><br>
>>>>>> [1] <a href="https://trac.osgeo.org/grass/changeset/56621" target="_blank">https://trac.osgeo.org/grass/changeset/56621</a><br>
>>>>>><br>
>>><br>
>>> -----<br>
>>> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
>>> <a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
>>><br>
>>> "The beast is actively interested only in now, and, as it is always now and always shall be, there is an eternity of time for the accomplishment of objects."<br>
>>><br>
>>> - the wisdom of Tarzan<br>
>>><br>
>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>> _______________________________________________<br>
>> grass-dev mailing list<br>
>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
>> <a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
><br>
> -----<br>
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
> <a href="http://www.kyngchaos.com/" target="_blank">http://www.kyngchaos.com/</a><br>
><br>
> "This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"<br>
><br>
> - The Ruler of the Universe<br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>