[GRASS-dev] problem bundling GRASS 6.5 and 6.4 RB

Vaclav Petras wenzeslaus at gmail.com
Mon Feb 10 13:56:19 PST 2014


On Mon, Feb 10, 2014 at 4:08 PM, Michael Barton <Michael.Barton at asu.edu>wrote:

>  I did my normal make distclean followed by svn up. I can delete it all
> and have it add it all back in if you think that will help.
>
>  One thing is that it works fine on the machine I compile on, but bombs
> on a different machine.
>
> I double checked and there is no `UninstallExtensionWindow` in source code
now, except for documentation:

./gui/wxpython/wxpythonlib.dox

Your error is at line 68 in lmgr/frame.py, but there is no
`import...UninstallExtensionWindow` now:

http://trac.osgeo.org/grass/browser/grass/trunk/gui/wxpython/lmgr/frame.py?rev=58946#L68

So, try svn diff, svn status, check your lmgr/frame.py file, check your
packaging process... It seems that the older version of the file is
packaged or perhaps imported from different GRASS on that other machine.

Hope this helps,
Vaclav

 Michael
>             ______________________________
>  C. Michael Barton
>  Director, Center for Social Dynamics & Complexity
>  Professor of Anthropology, School of Human Evolution & Social Change
> Head, Graduate Faculty in Complex Adaptive Systems Science
>  Arizona State University
>  Tempe, AZ  85287-2402
>  USA
>
>  voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>  fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
>  www:  http://csdc.asu.edu, http://shesc.asu.edu
>  http://www.public.asu.edu/~cmbarton
>
>  On Feb 10, 2014, at 11:51 AM, Anna Petrášová <kratochanna at gmail.com>
> wrote:
>
>
>
>
> On Mon, Feb 10, 2014 at 1:24 PM, Michael Barton <Michael.Barton at asu.edu>wrote:
>
>> Something else has come up.
>>
>> I compiled GRASS 7 on one computer Friday. It DID bundle OK (but maybe
>> better now?). But when I went to run it on a different computer with the
>> same OS, Python, and wxPython, I hit the following error at startup.
>>
>> Either of you know what this may be? I don't know if it is a bundling
>> issue or something else.
>>
>>
>>
>  There was a recent change in GUI related to extensions but it's working
> for me. Have you updated properly? There shouldn't be any
> UninstallExtensionWindow now, it's renamed to ManageExtensionWindow.
>
>
>  Anna
>
>
>  GRASS 7.0.svn (nc_spm_08):~ > Traceback (most recent call last):
>>   File
>> "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py",
>> line 39, in <module>
>>     from lmgr.frame import GMFrame
>>   File
>> "/Users/cmbarton/Dropbox/GRASS_dropbox/source/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py",
>> line 68, in <module>
>>     from modules.extensions    import InstallExtensionWindow,
>> UninstallExtensionWindow
>> ImportError: cannot import name UninstallExtensionWindow
>> GRASS 7.0.svn (nc_spm_08):~ >
>>
>>
>> Michael
>> ____________________
>> C. Michael Barton
>> Director, Center for Social Dynamics & Complexity
>> Professor of Anthropology, School of Human Evolution & Social Change
>> Head, Graduate Faculty in Complex Adaptive Systems Science
>> Arizona State University
>>
>>  voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>> fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
>>  www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Feb 7, 2014, at 5:39 PM, William Kyngesburye <woklist at kyngchaos.com>
>> wrote:
>>
>>  > Woops. I deleted too much when I killed the modbuild stuff a few
>> weeks ago.  Should be working now.
>> >
>> > On Feb 7, 2014, at 6:19 PM, Michael Barton wrote:
>> >
>> >> William,
>> >>
>> >> I just recompiled GRASS 7 and bundled it for distribution. It went
>> fine.
>> >>
>> >> But when I went to do the same for GRASS 6.5 and 6.4 RB I ran into an
>> odd error.
>> >>
>> >> Compilation went fine. No errors in either. But bundling bombed with
>> the following error:
>> >>
>> >> …
>> >> cp -Rf /Library/Python/2.7/site-packages/pyparsing.py
>> /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/macosx/dist/GRASS-6.4.app/Contents/MacOS/etc/python
>> >> sed -i '' -e 's/^GRASS_WXBUNDLED=.*/GRASS_WXBUNDLED=1/'
>> /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/macosx/dist/GRASS-6.4.app/Contents/MacOS/grass.sh
>> >> sed:
>> /Users/cmbarton/Dropbox/GRASS_dropbox/source/grass64_rb/macosx/dist/GRASS-6.4.app/Contents/MacOS/grass.sh:
>> No such file or directory
>> >>
>> >> Is there no longer a grass.sh for GRASS 6.x? If not, what do we use to
>> start it?
>> >>
>> >> The same line does not cause an error for GRASS 7.
>> >>
>> >> Michael
>> >> ______________________________
>> >> C. Michael Barton
>> >> Director, Center for Social Dynamics & Complexity
>> >> Professor of Anthropology, School of Human Evolution & Social Change
>> >> Head, Graduate Faculty in Complex Adaptive Systems Science
>> >> Arizona State University
>> >> Tempe, AZ  85287-2402
>> >> USA
>> >>
>> >> voice:
>> >> 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>> >> fax:          480-965-7671(SHESC), 480-727-0709 (CSDC)
>> >> www:
>> >> http://csdc.asu.edu, http://shesc.asu.edu
>> >> http://www.public.asu.edu/~cmbarton
>> >>
>> >
>>
>>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140210/2fff595b/attachment.html>


More information about the grass-dev mailing list