Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-11 Thread Anna Petrášová
On Mon, Jun 10, 2013 at 11:49 PM, Michael Barton michael.bar...@asu.eduwrote:

 I'm still not sure why we need wxPython 2.9 for the toolbox. Is it coded
 with a wxPython 2.9 specific code?


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.

Anna

Michael
 __
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

 voice:  480-965-6262 (SHESC), 480-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 Jun 10, 2013, at 2:41 PM, William Kyngesburye wokl...@kyngchaos.com
  wrote:

  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.
 
  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).
 
  On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:
 
  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.
 
  /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 
Default config is osx_carbon-unicode-2.9
 
  No config found to match:
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
  in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config
 
  Please install the desired library build, or specify a different
  prefix where it may be found.  If the library is not installed
  you may call its wx-config directly by specifying its full path.
 
 
  Also available in /usr/local/lib/wxPython-2.9.4.0:
osx_carbon-unicode-2.9
 
 
  Any idea what is wrong?
 
  MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow
 Leopard compatibility.
 
  Michael
  __
  C. Michael Barton
  Director, Center for Social Dynamics  Complexity
  Professor of Anthropology, School of Human Evolution  Social Change
  Arizona State University
  Tempe, AZ  85287-2402
  USA
 
  voice:   480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com
 wrote:
 
  I just compiled trunk, no compile errors, and GUI runs fine.
 
  OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
  I'm a bit lost now - what is the status of this, what is the current
 problem?
 
  On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
  Maybe it is PYTHONPATH
 
  BUT...
 
  Python and the GUI is compiling and working just fine otherwise. And
 Python runs with no problem in the terminal.
 
  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.
 
  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.
 
  If it IS a PYTHONPATH problem, then the code for building the toolbox
 is somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
  On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton 
 michael.bar...@asu.edu wrote:
  Anna,
 
  This is from the log. It looks to me like a path problem during
 compilation
 
  Traceback (most recent call last):
  File tools/build_modules_xml.py, line 85, in module
   sys.exit(main())
  File tools/build_modules_xml.py, line 77, in main
   header(fh)
  File tools/build_modules_xml.py, line 58, in header
   import grass.script.core as grass
  ImportError: No module named grass.script.core
  make[1]: ***
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
 Error 1
  make: [default] Error 2 (ignored)
  make xml/menudata.xml
  make[1]: `xml/menudata.xml' is up to date.
  make menustrings.py
 
  The other bogus errors 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-11 Thread Anna Petrášová
On Tue, Jun 11, 2013 at 1:51 AM, William Kyngesburye
wokl...@kyngchaos.comwrote:

 I'm not sure what the status is with GRASS GUI and wxpython 2.8 vs. 2.9.


Grass 7 is running with wx 2.9 (and 2.8 of course) although it needs some
more fixes. Grass 6.4 and 6.5 are not updated so far.

Anna


 I'm not sure what the status of wxpython 2.8 (carbon) is on Mt Lion.  I
 expect things to break because of the deprecation of Carbon on Mt Lion,
 though existing carbon-based software should still work.  I'm guessing that
 you can't compile wxpython, or anything else, yourself based on Carbon, so
 if you want to compile something that needs Carbon you must do it on Lion
 or Snow.  It should run on Mt Lion.

 I do know that to get a complete 64bit-only build of GRASS 7 on any
 version of OS X (Snow - Mt Lion), you must use cocoa APIs, and to do that
 you need wxpython 2.9.

 On Jun 10, 2013, at 4:52 PM, Michael Barton wrote:

  To clarify, I was ONLY installing wxPython 2.9 carbon for Python 2.6.
 Other than that, I have only wxPython 2.8 for Python 2.6.
 
  On Mt. Lion, does this NOT work? If not, do I need wxPython 2.9 carbon
 for Python 2.7, wxPython 2.9 cocoa for Python 2.7 or will either of these 2
 work?
 
  Thanks
  Michael
  __
  C. Michael Barton
  Director, Center for Social Dynamics  Complexity
  Professor of Anthropology, School of Human Evolution  Social Change
  Arizona State University
  Tempe, AZ  85287-2402
  USA
 
  voice:480-965-6262 (SHESC), 480-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 Jun 10, 2013, at 2:41 PM, William Kyngesburye wokl...@kyngchaos.com
  wrote:
 
  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.
 
  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).
 
  On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:
 
  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.
 
  /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 
   Default config is osx_carbon-unicode-2.9
 
 No config found to match:
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config
 
 Please install the desired library build, or specify a different
 prefix where it may be found.  If the library is not installed
 you may call its wx-config directly by specifying its full path.
 
 
  Also available in /usr/local/lib/wxPython-2.9.4.0:
   osx_carbon-unicode-2.9
 
 
  Any idea what is wrong?
 
  MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more
 Snow Leopard compatibility.
 
  Michael
  __
  C. Michael Barton
  Director, Center for Social Dynamics  Complexity
  Professor of Anthropology, School of Human Evolution  Social Change
  Arizona State University
  Tempe, AZ  85287-2402
  USA
 
  voice:  480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com
 wrote:
 
  I just compiled trunk, no compile errors, and GUI runs fine.
 
  OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
  I'm a bit lost now - what is the status of this, what is the current
 problem?
 
  On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
  Maybe it is PYTHONPATH
 
  BUT...
 
  Python and the GUI is compiling and working just fine otherwise. And
 Python runs with no problem in the terminal.
 
  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.
 
  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.
 
  If it IS a PYTHONPATH problem, then the code for 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-11 Thread Michael Barton
If it runs with wxPython 2.8 on other systems, we should be able to get it to 
run on the Mac. That way people with OSX 10.6 could still use my binaries for a 
little while more. Can we try to troubleshoot this before giving up and 
requiring wxPython 2.9 on the Mac?

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jun 11, 2013, at 4:28 AM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com wrote:




On Tue, Jun 11, 2013 at 1:51 AM, William Kyngesburye 
wokl...@kyngchaos.commailto:wokl...@kyngchaos.com wrote:
I'm not sure what the status is with GRASS GUI and wxpython 2.8 vs. 2.9.

Grass 7 is running with wx 2.9 (and 2.8 of course) although it needs some more 
fixes. Grass 6.4 and 6.5 are not updated so far.

Anna


I'm not sure what the status of wxpython 2.8 (carbon) is on Mt Lion.  I expect 
things to break because of the deprecation of Carbon on Mt Lion, though 
existing carbon-based software should still work.  I'm guessing that you can't 
compile wxpython, or anything else, yourself based on Carbon, so if you want to 
compile something that needs Carbon you must do it on Lion or Snow.  It should 
run on Mt Lion.

I do know that to get a complete 64bit-only build of GRASS 7 on any version of 
OS X (Snow - Mt Lion), you must use cocoa APIs, and to do that you need 
wxpython 2.9.

On Jun 10, 2013, at 4:52 PM, Michael Barton wrote:

 To clarify, I was ONLY installing wxPython 2.9 carbon for Python 2.6. Other 
 than that, I have only wxPython 2.8 for Python 2.6.

 On Mt. Lion, does this NOT work? If not, do I need wxPython 2.9 carbon for 
 Python 2.7, wxPython 2.9 cocoa for Python 2.7 or will either of these 2 work?

 Thanks
 Michael
 __
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

 voice:480-965-6262 (SHESC), 480-727-9746 (CSDC)
 fax:  480-965-7671(SHESC), 480-727-0709 (CSDC)
 www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 
 http://shesc.asu.eduhttp://shesc.asu.edu/
   http://www.public.asu.edu/~cmbarton

 On Jun 10, 2013, at 2:41 PM, William Kyngesburye 
 wokl...@kyngchaos.commailto:wokl...@kyngchaos.com
 wrote:

 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.

 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).

 On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:

 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.

 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list

  Default config is osx_carbon-unicode-2.9

No config found to match: 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config

Please install the desired library build, or specify a different
prefix where it may be found.  If the library is not installed
you may call its wx-config directly by specifying its full path.


 Also available in /usr/local/lib/wxPython-2.9.4.0:
  osx_carbon-unicode-2.9


 Any idea what is wrong?

 MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow 
 Leopard compatibility.

 Michael
 __
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

 voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
 fax:  480-965-7671(SHESC), 480-727-0709 (CSDC)
 www:http://csdc.asu.eduhttp://csdc.asu.edu/, 
 http://shesc.asu.eduhttp://shesc.asu.edu/
 http://www.public.asu.edu/~cmbarton

 On Jun 7, 2013, at 8:39 PM, William Kyngesburye 
 wokl...@kyngchaos.commailto:wokl...@kyngchaos.com wrote:

 I just compiled trunk, no compile errors, and GUI runs fine.

 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4

 I'm a bit lost now - what is the status of this, what is the current 
 problem?

 On Jun 7, 2013, at 10:28 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-10 Thread Michael Barton
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.

/usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list

Default config is osx_carbon-unicode-2.9

  No config found to match: 
/usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
  in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config

  Please install the desired library build, or specify a different
  prefix where it may be found.  If the library is not installed
  you may call its wx-config directly by specifying its full path.


  Also available in /usr/local/lib/wxPython-2.9.4.0:
osx_carbon-unicode-2.9


Any idea what is wrong? 

MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow Leopard 
compatibility.

Michael
__
C. Michael Barton 
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com wrote:

 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And Python 
 runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during compilation
 
 Traceback (most recent call last):
  File tools/build_modules_xml.py, line 85, in module
sys.exit(main())
  File tools/build_modules_xml.py, line 77, in main
header(fh)
  File tools/build_modules_xml.py, line 58, in header
import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 
 
 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi, Michael,
 
 
 On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 OK. I did this remotely but hopefully it is what you need.
 
 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.
 
 Thanks,
 Anna
 
 
 [1] https://trac.osgeo.org/grass/changeset/56621 
 
 
 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/
 
 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.
 
 - the wisdom of Tarzan
 
 
 
 
 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-10 Thread William Kyngesburye
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.

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).

On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:

 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.
 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 
Default config is osx_carbon-unicode-2.9
 
  No config found to match: 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
  in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config
 
  Please install the desired library build, or specify a different
  prefix where it may be found.  If the library is not installed
  you may call its wx-config directly by specifying its full path.
 
 
  Also available in /usr/local/lib/wxPython-2.9.4.0:
osx_carbon-unicode-2.9
 
 
 Any idea what is wrong? 
 
 MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow 
 Leopard compatibility.
 
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice:480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com wrote:
 
 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And Python 
 runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during compilation
 
 Traceback (most recent call last):
 File tools/build_modules_xml.py, line 85, in module
   sys.exit(main())
 File tools/build_modules_xml.py, line 77, in main
   header(fh)
 File tools/build_modules_xml.py, line 58, in header
   import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 
 
 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi, Michael,
 
 
 On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 OK. I did this remotely but hopefully it is what you need.
 
 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.
 
 Thanks,
 Anna
 
 
 [1] https://trac.osgeo.org/grass/changeset/56621 
 
 
 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/
 
 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-10 Thread Michael Barton
Is GRASS 7 running for you with wxPython 2.9 for Python 2.7?

Michael
__
C. Michael Barton 
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-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 Jun 10, 2013, at 2:41 PM, William Kyngesburye wokl...@kyngchaos.com
 wrote:

 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.
 
 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).
 
 On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:
 
 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.
 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 
   Default config is osx_carbon-unicode-2.9
 
 No config found to match: 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config
 
 Please install the desired library build, or specify a different
 prefix where it may be found.  If the library is not installed
 you may call its wx-config directly by specifying its full path.
 
 
 Also available in /usr/local/lib/wxPython-2.9.4.0:
   osx_carbon-unicode-2.9
 
 
 Any idea what is wrong? 
 
 MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow 
 Leopard compatibility.
 
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice:   480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com 
 wrote:
 
 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current 
 problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And 
 Python runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during 
 compilation
 
 Traceback (most recent call last):
 File tools/build_modules_xml.py, line 85, in module
  sys.exit(main())
 File tools/build_modules_xml.py, line 77, in main
  header(fh)
 File tools/build_modules_xml.py, line 58, in header
  import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 
 
 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi, Michael,
 
 
 On Wed, Jun 5, 2013 at 11:45 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-10 Thread Michael Barton
I'm still not sure why we need wxPython 2.9 for the toolbox. Is it coded with a 
wxPython 2.9 specific code?

Michael
__
C. Michael Barton 
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-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 Jun 10, 2013, at 2:41 PM, William Kyngesburye wokl...@kyngchaos.com
 wrote:

 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.
 
 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).
 
 On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:
 
 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.
 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 
   Default config is osx_carbon-unicode-2.9
 
 No config found to match: 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config
 
 Please install the desired library build, or specify a different
 prefix where it may be found.  If the library is not installed
 you may call its wx-config directly by specifying its full path.
 
 
 Also available in /usr/local/lib/wxPython-2.9.4.0:
   osx_carbon-unicode-2.9
 
 
 Any idea what is wrong? 
 
 MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow 
 Leopard compatibility.
 
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice:   480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com 
 wrote:
 
 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current 
 problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And 
 Python runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during 
 compilation
 
 Traceback (most recent call last):
 File tools/build_modules_xml.py, line 85, in module
  sys.exit(main())
 File tools/build_modules_xml.py, line 77, in main
  header(fh)
 File tools/build_modules_xml.py, line 58, in header
  import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 
 
 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-10 Thread Michael Barton
To clarify, I was ONLY installing wxPython 2.9 carbon for Python 2.6. Other 
than that, I have only wxPython 2.8 for Python 2.6.

On Mt. Lion, does this NOT work? If not, do I need wxPython 2.9 carbon for 
Python 2.7, wxPython 2.9 cocoa for Python 2.7 or will either of these 2 work?

Thanks
Michael
__
C. Michael Barton 
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-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 Jun 10, 2013, at 2:41 PM, William Kyngesburye wokl...@kyngchaos.com
 wrote:

 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.
 
 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).
 
 On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:
 
 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.
 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 
   Default config is osx_carbon-unicode-2.9
 
 No config found to match: 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config
 
 Please install the desired library build, or specify a different
 prefix where it may be found.  If the library is not installed
 you may call its wx-config directly by specifying its full path.
 
 
 Also available in /usr/local/lib/wxPython-2.9.4.0:
   osx_carbon-unicode-2.9
 
 
 Any idea what is wrong? 
 
 MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow 
 Leopard compatibility.
 
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice:   480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com 
 wrote:
 
 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current 
 problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And 
 Python runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during 
 compilation
 
 Traceback (most recent call last):
 File tools/build_modules_xml.py, line 85, in module
  sys.exit(main())
 File tools/build_modules_xml.py, line 77, in main
  header(fh)
 File tools/build_modules_xml.py, line 58, in header
  import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 yes, problem might be in PYTHONPATH. Could you ask 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-10 Thread William Kyngesburye
I'm not sure what the status is with GRASS GUI and wxpython 2.8 vs. 2.9.

I'm not sure what the status of wxpython 2.8 (carbon) is on Mt Lion.  I expect 
things to break because of the deprecation of Carbon on Mt Lion, though 
existing carbon-based software should still work.  I'm guessing that you can't 
compile wxpython, or anything else, yourself based on Carbon, so if you want to 
compile something that needs Carbon you must do it on Lion or Snow.  It should 
run on Mt Lion.

I do know that to get a complete 64bit-only build of GRASS 7 on any version of 
OS X (Snow - Mt Lion), you must use cocoa APIs, and to do that you need 
wxpython 2.9.

On Jun 10, 2013, at 4:52 PM, Michael Barton wrote:

 To clarify, I was ONLY installing wxPython 2.9 carbon for Python 2.6. Other 
 than that, I have only wxPython 2.8 for Python 2.6.
 
 On Mt. Lion, does this NOT work? If not, do I need wxPython 2.9 carbon for 
 Python 2.7, wxPython 2.9 cocoa for Python 2.7 or will either of these 2 work?
 
 Thanks
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice:480-965-6262 (SHESC), 480-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 Jun 10, 2013, at 2:41 PM, William Kyngesburye wokl...@kyngchaos.com
 wrote:
 
 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.
 
 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).
 
 On Jun 10, 2013, at 4:21 PM, Michael Barton wrote:
 
 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.
 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
 
  Default config is osx_carbon-unicode-2.9
 
No config found to match: 
 /usr/local/lib/wxPython-2.9.4.0/bin/wx-config --list
in /usr/local/lib/wxPython-2.9.4.0/lib/wx/config
 
Please install the desired library build, or specify a different
prefix where it may be found.  If the library is not installed
you may call its wx-config directly by specifying its full path.
 
 
 Also available in /usr/local/lib/wxPython-2.9.4.0:
  osx_carbon-unicode-2.9
 
 
 Any idea what is wrong? 
 
 MUST I use wxPython 2.9 ONLY with Python 2.7??? That means no more Snow 
 Leopard compatibility.
 
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice:  480-965-6262 (SHESC), 480-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 Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com 
 wrote:
 
 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current 
 problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And 
 Python runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-08 Thread Michael Barton
I've been staying with wxPython 2.8.x Perhaps some of the new code only works 
correctly in 2.9?

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity 
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com wrote:

 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And Python 
 runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during compilation
 
 Traceback (most recent call last):
  File tools/build_modules_xml.py, line 85, in module
sys.exit(main())
  File tools/build_modules_xml.py, line 77, in main
header(fh)
  File tools/build_modules_xml.py, line 58, in header
import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 
 
 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi, Michael,
 
 
 On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 OK. I did this remotely but hopefully it is what you need.
 
 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.
 
 Thanks,
 Anna
 
 
 [1] https://trac.osgeo.org/grass/changeset/56621 
 
 
 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/
 
 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.
 
 - the wisdom of Tarzan
 
 
 
 
 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-08 Thread Helena Mitasova

On Jun 8, 2013, at 7:18 PM, Michael Barton wrote:

 I've been staying with wxPython 2.8.x Perhaps some of the new code only works 
 correctly in 2.9?

that is the message I have been getting, Helena
 
 Michael
 
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity 
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 
 voice:480-965-6262 (SHESC), 480-727-9746 (CSDC)
 fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
 www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
 
 
 
 
 
 
 
 
 
 
 
 On Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com wrote:
 
 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And Python 
 runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during compilation
 
 Traceback (most recent call last):
 File tools/build_modules_xml.py, line 85, in module
   sys.exit(main())
 File tools/build_modules_xml.py, line 77, in main
   header(fh)
 File tools/build_modules_xml.py, line 58, in header
   import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 
 
 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi, Michael,
 
 
 On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 OK. I did this remotely but hopefully it is what you need.
 
 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.
 
 Thanks,
 Anna
 
 
 [1] https://trac.osgeo.org/grass/changeset/56621 
 
 
 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/
 
 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.
 
 - the wisdom of Tarzan
 
 
 
 
 
 
 ___
 grass-dev mailing list
 grass-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-dev

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-08 Thread Michael Barton
I have no problem migrating to 2.9, but I thought it was not working correctly 
yet.

Is it OK for all current versions--6.4.2, 6.5, 7.0?

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity 
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jun 8, 2013, at 5:47 PM, Helena Mitasova hmit...@ncsu.edu
 wrote:

 
 On Jun 8, 2013, at 7:18 PM, Michael Barton wrote:
 
 I've been staying with wxPython 2.8.x Perhaps some of the new code only 
 works correctly in 2.9?
 
 that is the message I have been getting, Helena
 
 Michael
 
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity 
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 
 voice:   480-965-6262 (SHESC), 480-727-9746 (CSDC)
 fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
 www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
 
 
 
 
 
 
 
 
 
 
 
 On Jun 7, 2013, at 8:39 PM, William Kyngesburye wokl...@kyngchaos.com 
 wrote:
 
 I just compiled trunk, no compile errors, and GUI runs fine.
 
 OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4
 
 I'm a bit lost now - what is the status of this, what is the current 
 problem?
 
 On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:
 
 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And 
 Python runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 
 
 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during 
 compilation
 
 Traceback (most recent call last):
 File tools/build_modules_xml.py, line 85, in module
  sys.exit(main())
 File tools/build_modules_xml.py, line 77, in main
  header(fh)
 File tools/build_modules_xml.py, line 58, in header
  import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 
 
 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi, Michael,
 
 
 On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 OK. I did this remotely but hopefully it is what you need.
 
 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.
 
 Thanks,
 Anna
 
 
 [1] https://trac.osgeo.org/grass/changeset/56621 
 
 
 -
 William Kyngesburye kyngchaos*at*kyngchaos*dot*com
 http://www.kyngchaos.com/
 
 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.
 
 - the wisdom of Tarzan
 
 
 
 
 
 
 ___
 grass-dev mailing list
 grass-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-dev
 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-07 Thread Michael Barton
Maybe it is PYTHONPATH

BUT...

Python and the GUI is compiling and working just fine otherwise. And Python 
runs with no problem in the terminal.

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.

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.

If it IS a PYTHONPATH problem, then the code for building the toolbox is 
somehow ignoring PYTHONPATH because this is set properly otherwise.

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jun 7, 2013, at 5:20 AM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:




On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Anna,

This is from the log. It looks to me like a path problem during compilation

Traceback (most recent call last):
  File tools/build_modules_xml.py, line 85, in module
sys.exit(main())
  File tools/build_modules_xml.py, line 77, in main
header(fh)
  File tools/build_modules_xml.py, line 58, in header
import grass.script.core as grass
ImportError: No module named grass.script.core
make[1]: *** 
[/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
 Error 1
make: [default] Error 2 (ignored)
make xml/menudata.xml
make[1]: `xml/menudata.xml' is up to date.
make menustrings.py

The other bogus errors on No module named wx also seems like a path problem.

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.

Regards,

Anna


Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671(SHESC), 
480-727-0709tel:480-727-0709 (CSDC)
www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 
http://shesc.asu.eduhttp://shesc.asu.edu/
http://www.public.asu.edu/~cmbarton

On Jun 6, 2013, at 2:39 AM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com wrote:

Hi, Michael,


On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
OK. I did this remotely but hopefully it is what you need.

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.

Thanks,
Anna


[1] https://trac.osgeo.org/grass/changeset/56621





C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671 (SHESC),  
480-727-0709tel:480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, 
http://csdc.asu.eduhttp://csdc.asu.edu/











On Jun 5, 2013, at 2:22 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:




On Wed, Jun 5, 2013 at 11:07 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Are you looking for the entire output from make?

just the make you run from gui/wxpython


Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671 (SHESC),  
480-727-0709tel:480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, 
http://csdc.asu.eduhttp://csdc.asu.edu/











On Jun 5, 2013, at 1:56 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:




On Wed, Jun 5, 2013 at 10:38 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Is the makefile 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-07 Thread William Kyngesburye
I just compiled trunk, no compile errors, and GUI runs fine.

OSX 10.7 Lion, Xcode 4.6.2 command line tools, wxPython 2.9.4

I'm a bit lost now - what is the status of this, what is the current problem?

On Jun 7, 2013, at 10:28 AM, Michael Barton wrote:

 Maybe it is PYTHONPATH
 
 BUT...
 
 Python and the GUI is compiling and working just fine otherwise. And Python 
 runs with no problem in the terminal.
 
 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. 
 
 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.
 
 If it IS a PYTHONPATH problem, then the code for building the toolbox is 
 somehow ignoring PYTHONPATH because this is set properly otherwise.
 

 On Thu, Jun 6, 2013 at 7:16 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 This is from the log. It looks to me like a path problem during compilation
 
 Traceback (most recent call last):
   File tools/build_modules_xml.py, line 85, in module
 sys.exit(main())
   File tools/build_modules_xml.py, line 77, in main
 header(fh)
   File tools/build_modules_xml.py, line 58, in header
 import grass.script.core as grass
 ImportError: No module named grass.script.core
 make[1]: *** 
 [/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.3.0/etc/gui/wxpython/xml/module_items.xml]
  Error 1
 make: [default] Error 2 (ignored)
 make xml/menudata.xml
 make[1]: `xml/menudata.xml' is up to date.
 make menustrings.py
 
 The other bogus errors on No module named wx also seems like a path 
 problem.
 
 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.
 
 Regards,
 
 Anna 

 On Jun 6, 2013, at 2:39 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi, Michael,
 
 
 On Wed, Jun 5, 2013 at 11:45 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 OK. I did this remotely but hopefully it is what you need.
 
 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.
 
 Thanks,
 Anna
 
 
 [1] https://trac.osgeo.org/grass/changeset/56621 
 

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

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.

- the wisdom of Tarzan





___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-05 Thread Helena Mitasova
I haven't been following this very well but grass7 crashes for me with the 
following error:

ERROR: wxGUI requires wxPython = 2.8.10.1. Your wxPython version is 2.8.8.1.

so I guess I need to get wxPython2.9?

Helena

Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmit...@ncsu.edu

All electronic mail messages in connection with State business which are sent 
to or received by this account are subject to the NC Public Records Law and may 
be disclosed to third parties.” 

On Jun 4, 2013, at 7:40 PM, Michael Barton wrote:

 Anna,
 
 Still crashes.
 
 See below.
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice: 
 480-965-6262 (SHESC), 480-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 May 20, 2013, at 12:06 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi Michael,
 
 
 On Tue, May 14, 2013 at 12:32 AM, Anna Petrášová kratocha...@gmail.com 
 wrote:
 
 
 
 On Mon, May 13, 2013 at 11:51 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Perhaps I discovered the problem. Both the distribution version (downloaded 
 in the past hour) and (of course) the compiled version of menudata.xml are 
 empty.
 
 Yes, that's what I was thinking. Could you try to run this separately:
 
 python core/toolboxes.py  xml/menudata.xml 
 
 I assumed that you want me to run this from the GRASS terminal prompt???
 
 python core/toolboxes.py  xml/menudata.xml
 bash: xml/menudata.xml: No such file or directory
 
 Michael
 
 
 which should be done during compilation but it seems to fail somehow. It 
 should generate the xml menu file.
 
 any update? I know you announced to be out of office but maybe you can try 
 it anyway?
 
 Anna
 
 
 
 Michael
 
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity 
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 
 voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
 fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
 www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
 
 
 
 
 
 
 
 
 
 
 
 On May 13, 2013, at 2:18 PM, Anna Petrášová kratocha...@gmail.com
  wrote:
 
 There might be a problem with compilation. Is there any error? Could you 
 check file menudata.xml in gui/wxpython/xml/ and the same file in 
 distribution? Is it there and what's inside?
 
 
 On Mon, May 13, 2013 at 10:51 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 I deleted all the GUI code and did a new svn up and make distclean.
 
 Just finished compiling and have the same error on startup. The GUI crashes.
 
 
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice: 
 480-965-6262 (SHESC), 480-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 May 13, 2013, at 1:23 PM, Anna Petrášová kratocha...@gmail.com
  wrote:
 
 Hi Michael,
 
 
 On Mon, May 13, 2013 at 9:52 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 I just compiled GRASS 7 Trunk.
 
 It crashes on startup with the following error:
 
 this is related to the new toolboxes and menu customization. I don't know 
 what is wrong because it was tested successfully also on Windows. Could 
 you check what you have in directory toolboxes which should be in the same 
 folder as saved settings file? Also try make distclean or just make clean 
 in gui/wxpython and remove manually the gui files from distribution.
 
 Anna
 
 
 GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
   File 
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
  line 140, in module
 sys.exit(main())
   File 
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
  line 133, in main
 app = GMApp(workspaceFile)
   File 
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
  line 45, in __init__
 wx.App.__init__(self, False)
   File 
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
  line 7981, in __init__
 self._BootstrapApp()
   File 
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
  line 7555, in _BootstrapApp
 return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File 
 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-05 Thread Michael Barton
AFAIK, this is not needed. My binaries come packaged with wxpython.

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity 
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jun 5, 2013, at 7:51 AM, Helena Mitasova hmit...@ncsu.edu
 wrote:

 I haven't been following this very well but grass7 crashes for me with the 
 following error:
 
 ERROR: wxGUI requires wxPython = 2.8.10.1. Your wxPython version is 2.8.8.1.
 
 so I guess I need to get wxPython2.9?
 
 Helena
 
 Helena Mitasova
 Associate Professor
 Department of Marine, Earth, and Atmospheric Sciences
 2800 Faucette Drive, Rm. 1125 Jordan Hall
 North Carolina State University
 Raleigh, NC 27695-8208
 hmit...@ncsu.edu
 
 All electronic mail messages in connection with State business which are 
 sent to or received by this account are subject to the NC Public Records Law 
 and may be disclosed to third parties.” 
 
 On Jun 4, 2013, at 7:40 PM, Michael Barton wrote:
 
 Anna,
 
 Still crashes.
 
 See below.
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice: 
 480-965-6262 (SHESC), 480-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 May 20, 2013, at 12:06 AM, Anna Petrášová kratocha...@gmail.com wrote:
 
 Hi Michael,
 
 
 On Tue, May 14, 2013 at 12:32 AM, Anna Petrášová kratocha...@gmail.com 
 wrote:
 
 
 
 On Mon, May 13, 2013 at 11:51 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Perhaps I discovered the problem. Both the distribution version (downloaded 
 in the past hour) and (of course) the compiled version of menudata.xml are 
 empty.
 
 Yes, that's what I was thinking. Could you try to run this separately:
 
 python core/toolboxes.py  xml/menudata.xml 
 
 I assumed that you want me to run this from the GRASS terminal prompt???
 
 python core/toolboxes.py  xml/menudata.xml
 bash: xml/menudata.xml: No such file or directory
 
 Michael
 
 
 which should be done during compilation but it seems to fail somehow. It 
 should generate the xml menu file.
 
 any update? I know you announced to be out of office but maybe you can try 
 it anyway?
 
 Anna
 
 
 
 Michael
 
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity 
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 
 voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
 fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
 www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
 
 
 
 
 
 
 
 
 
 
 
 On May 13, 2013, at 2:18 PM, Anna Petrášová kratocha...@gmail.com
 wrote:
 
 There might be a problem with compilation. Is there any error? Could you 
 check file menudata.xml in gui/wxpython/xml/ and the same file in 
 distribution? Is it there and what's inside?
 
 
 On Mon, May 13, 2013 at 10:51 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Anna,
 
 I deleted all the GUI code and did a new svn up and make distclean.
 
 Just finished compiling and have the same error on startup. The GUI 
 crashes.
 
 
 Michael
 __
 C. Michael Barton 
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA
 
 voice: 
 480-965-6262 (SHESC), 480-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 May 13, 2013, at 1:23 PM, Anna Petrášová kratocha...@gmail.com
 wrote:
 
 Hi Michael,
 
 
 On Mon, May 13, 2013 at 9:52 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 I just compiled GRASS 7 Trunk.
 
 It crashes on startup with the following error:
 
 this is related to the new toolboxes and menu customization. I don't know 
 what is wrong because it was tested successfully also on Windows. Could 
 you check what you have in directory toolboxes which should be in the 
 same folder as saved settings file? Also try make distclean or just make 
 clean in gui/wxpython and remove manually the gui files from distribution.
 
 Anna
 
 
 GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
  File 
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
  line 140, in module
sys.exit(main())
  File 
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
  line 133, in main
app = GMApp(workspaceFile)
  File 
 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-05 Thread Anna Petrášová
Hi,

On Wed, Jun 5, 2013 at 1:40 AM, Michael Barton michael.bar...@asu.eduwrote:

  Anna,

  Still crashes.

  See below.


 On Mon, May 13, 2013 at 11:51 PM, Michael Barton 
 michael.bar...@asu.eduwrote:

 Perhaps I discovered the problem. Both the distribution version
 (downloaded in the past hour) and (of course) the compiled version of
 menudata.xml are empty.


  Yes, that's what I was thinking. Could you try to run this separately:

  python core/toolboxes.py  xml/menudata.xml


  I assumed that you want me to run this from the GRASS terminal prompt???


yes. Have you run this from gui/wxpython directory? At least xml directory
must be there.


  python core/toolboxes.py  xml/menudata.xml
 bash: xml/menudata.xml: No such file or directory


It's strange that Massimo recently compiled grass7 (with wxpython 2.9, but
it should not be related, no gui is actually involved in this problem) and
he didn't complain about this (Massimo, is that right?).

Anna
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-05 Thread Michael Barton
OK. We are getting somewhere.

If I cd to the ../gui/wxpython directory inside the GRASS-7.0.app and run 
python core/toolboxes.py  xml/menudata.xml, it appears to create the 
menudata.xml file

GRASS then launches fine. It continues to launch fine subsequently.

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity 
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Jun 5, 2013, at 12:01 PM, Anna Petrášová kratocha...@gmail.com wrote:

 
 Hi,
 
 On Wed, Jun 5, 2013 at 1:40 AM, Michael Barton michael.bar...@asu.edu wrote:
 Anna,
 
 Still crashes.
 
 See below.
 
 On Mon, May 13, 2013 at 11:51 PM, Michael Barton michael.bar...@asu.edu 
 wrote:
 Perhaps I discovered the problem. Both the distribution version (downloaded 
 in the past hour) and (of course) the compiled version of menudata.xml are 
 empty.
 
 Yes, that's what I was thinking. Could you try to run this separately:
 
 python core/toolboxes.py  xml/menudata.xml 
 
 I assumed that you want me to run this from the GRASS terminal prompt???
  
 yes. Have you run this from gui/wxpython directory? At least xml directory 
 must be there.
 
 
 python core/toolboxes.py  xml/menudata.xml
 bash: xml/menudata.xml: No such file or directory
 
 It's strange that Massimo recently compiled grass7 (with wxpython 2.9, but it 
 should not be related, no gui is actually involved in this problem) and he 
 didn't complain about this (Massimo, is that right?).
 
 Anna
 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-05 Thread Anna Petrášová
On Wed, Jun 5, 2013 at 9:59 PM, Michael Barton michael.bar...@asu.eduwrote:

 OK. We are getting somewhere.

 If I cd to the ../gui/wxpython directory inside the GRASS-7.0.app and
 run python core/toolboxes.py  xml/menudata.xml, it appears to create the
 menudata.xml file

 GRASS then launches fine. It continues to launch fine subsequently.


Hm, so the problem is probably in the Makefile. Could you send me the whole
make output (after make distclean)? Unfortunately I have very limited
understanding of makefile rules, I was glad I made it work on my computer.
At least you can use grass7 with this workaround now.

Anna


 Michael
 
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University

 voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
 fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
 www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











 On Jun 5, 2013, at 12:01 PM, Anna Petrášová kratocha...@gmail.com wrote:


 Hi,

 On Wed, Jun 5, 2013 at 1:40 AM, Michael Barton michael.bar...@asu.eduwrote:

  Anna,

  Still crashes.

  See below.


 On Mon, May 13, 2013 at 11:51 PM, Michael Barton michael.bar...@asu.edu
  wrote:

 Perhaps I discovered the problem. Both the distribution version
 (downloaded in the past hour) and (of course) the compiled version of
 menudata.xml are empty.


  Yes, that's what I was thinking. Could you try to run this separately:

  python core/toolboxes.py  xml/menudata.xml


  I assumed that you want me to run this from the GRASS terminal prompt???


 yes. Have you run this from gui/wxpython directory? At least xml directory
 must be there.


  python core/toolboxes.py  xml/menudata.xml
 bash: xml/menudata.xml: No such file or directory


 It's strange that Massimo recently compiled grass7 (with wxpython 2.9, but
 it should not be related, no gui is actually involved in this problem) and
 he didn't complain about this (Massimo, is that right?).

 Anna



___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-06-04 Thread Michael Barton
Anna,

Still crashes.

See below.
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-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 May 20, 2013, at 12:06 AM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com wrote:

Hi Michael,


On Tue, May 14, 2013 at 12:32 AM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com wrote:



On Mon, May 13, 2013 at 11:51 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Perhaps I discovered the problem. Both the distribution version (downloaded in 
the past hour) and (of course) the compiled version of menudata.xml are empty.

Yes, that's what I was thinking. Could you try to run this separately:

python core/toolboxes.py  xml/menudata.xml

I assumed that you want me to run this from the GRASS terminal prompt???

python core/toolboxes.py  xml/menudata.xml
bash: xml/menudata.xml: No such file or directory

Michael


which should be done during compilation but it seems to fail somehow. It should 
generate the xml menu file.

any update? I know you announced to be out of office but maybe you can try it 
anyway?

Anna



Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671 (SHESC),  
480-727-0709tel:480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, 
http://csdc.asu.eduhttp://csdc.asu.edu/











On May 13, 2013, at 2:18 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

There might be a problem with compilation. Is there any error? Could you check 
file menudata.xml in gui/wxpython/xml/ and the same file in distribution? Is it 
there and what's inside?


On Mon, May 13, 2013 at 10:51 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Anna,

I deleted all the GUI code and did a new svn up and make distclean.

Just finished compiling and have the same error on startup. The GUI crashes.


Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671(SHESC), 
480-727-0709tel:480-727-0709 (CSDC)
www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 
http://shesc.asu.eduhttp://shesc.asu.edu/
http://www.public.asu.edu/~cmbarton

On May 13, 2013, at 1:23 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

Hi Michael,


On Mon, May 13, 2013 at 9:52 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
I just compiled GRASS 7 Trunk.

It crashes on startup with the following error:

this is related to the new toolboxes and menu customization. I don't know what 
is wrong because it was tested successfully also on Windows. Could you check 
what you have in directory toolboxes which should be in the same folder as 
saved settings file? Also try make distclean or just make clean in gui/wxpython 
and remove manually the gui files from distribution.

Anna


GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
sys.exit(main())
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
app = GMApp(workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
wx.App.__init__(self, False)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
self._BootstrapApp()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
workspace = self.workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
self._menuTreeBuilder = LayerManagerMenuData()
  File 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-20 Thread Anna Petrášová
Hi Michael,


On Tue, May 14, 2013 at 12:32 AM, Anna Petrášová kratocha...@gmail.comwrote:




 On Mon, May 13, 2013 at 11:51 PM, Michael Barton 
 michael.bar...@asu.eduwrote:

  Perhaps I discovered the problem. Both the distribution version
 (downloaded in the past hour) and (of course) the compiled version of
 menudata.xml are empty.


 Yes, that's what I was thinking. Could you try to run this separately:

 python core/toolboxes.py  xml/menudata.xml

 which should be done during compilation but it seems to fail somehow. It
 should generate the xml menu file.


any update? I know you announced to be out of office but maybe you can try
it anyway?

Anna



  Michael
 
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University

  voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
  fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
 www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











  On May 13, 2013, at 2:18 PM, Anna Petrášová kratocha...@gmail.com
  wrote:

  There might be a problem with compilation. Is there any error? Could
 you check file menudata.xml in gui/wxpython/xml/ and the same file in
 distribution? Is it there and what's inside?


 On Mon, May 13, 2013 at 10:51 PM, Michael Barton 
 michael.bar...@asu.eduwrote:

 Anna,

  I deleted all the GUI code and did a new svn up and make distclean.

  Just finished compiling and have the same error on startup. The GUI
 crashes.


  Michael
__
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

  voice:  480-965-6262 (SHESC), 480-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 May 13, 2013, at 1:23 PM, Anna Petrášová kratocha...@gmail.com
  wrote:

   Hi Michael,


 On Mon, May 13, 2013 at 9:52 PM, Michael Barton 
 michael.bar...@asu.eduwrote:

 I just compiled GRASS 7 Trunk.

  It crashes on startup with the following error:


  this is related to the new toolboxes and menu customization. I don't
 know what is wrong because it was tested successfully also on Windows.
 Could you check what you have in directory toolboxes which should be in the
 same folder as saved settings file? Also try make distclean or just make
 clean in gui/wxpython and remove manually the gui files from distribution.

  Anna


  GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
 sys.exit(main())
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
 app = GMApp(workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
 wx.App.__init__(self, False)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
 self._BootstrapApp()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
 return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
 workspace = self.workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
 self._menuTreeBuilder = LayerManagerMenuData()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
 MenuTreeModelBuilder.__init__(self, filename)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
 xmlTree = etree.parse(filename)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
 tree.parse(source, parser)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
 self._root = parser.close()
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
 self._parser.Parse(, 1) # end of data
 xml.parsers.expat.ExpatError: no element found: line 1, column 0

  No changes on my end since compiling it without a problem a week ago.

  Michael
  __
 C. Michael Barton
 Director, Center for 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-20 Thread Michael Barton
Hi Anna,

Thanks for the reminder. Just got set up here in Valencia and starting the 
course today. So it will be a few days at best before I can try to compile this 
on my MacBook Air.

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On May 20, 2013, at 9:06 AM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com wrote:

Hi Michael,


On Tue, May 14, 2013 at 12:32 AM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com wrote:



On Mon, May 13, 2013 at 11:51 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Perhaps I discovered the problem. Both the distribution version (downloaded in 
the past hour) and (of course) the compiled version of menudata.xml are empty.

Yes, that's what I was thinking. Could you try to run this separately:

python core/toolboxes.py  xml/menudata.xml

which should be done during compilation but it seems to fail somehow. It should 
generate the xml menu file.

any update? I know you announced to be out of office but maybe you can try it 
anyway?

Anna



Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671 (SHESC),  
480-727-0709tel:480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, 
http://csdc.asu.eduhttp://csdc.asu.edu/











On May 13, 2013, at 2:18 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

There might be a problem with compilation. Is there any error? Could you check 
file menudata.xml in gui/wxpython/xml/ and the same file in distribution? Is it 
there and what's inside?


On Mon, May 13, 2013 at 10:51 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Anna,

I deleted all the GUI code and did a new svn up and make distclean.

Just finished compiling and have the same error on startup. The GUI crashes.


Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671(SHESC), 
480-727-0709tel:480-727-0709 (CSDC)
www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 
http://shesc.asu.eduhttp://shesc.asu.edu/
http://www.public.asu.edu/~cmbarton

On May 13, 2013, at 1:23 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

Hi Michael,


On Mon, May 13, 2013 at 9:52 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
I just compiled GRASS 7 Trunk.

It crashes on startup with the following error:

this is related to the new toolboxes and menu customization. I don't know what 
is wrong because it was tested successfully also on Windows. Could you check 
what you have in directory toolboxes which should be in the same folder as 
saved settings file? Also try make distclean or just make clean in gui/wxpython 
and remove manually the gui files from distribution.

Anna


GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
sys.exit(main())
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
app = GMApp(workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
wx.App.__init__(self, False)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
self._BootstrapApp()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
workspace = self.workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
self._menuTreeBuilder = LayerManagerMenuData()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__

[GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Michael Barton
I just compiled GRASS 7 Trunk.

It crashes on startup with the following error:

GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
sys.exit(main())
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
app = GMApp(workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
wx.App.__init__(self, False)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
self._BootstrapApp()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
workspace = self.workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
self._menuTreeBuilder = LayerManagerMenuData()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
MenuTreeModelBuilder.__init__(self, filename)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
xmlTree = etree.parse(filename)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
tree.parse(source, parser)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
self._root = parser.close()
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
self._parser.Parse(, 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 1, column 0

No changes on my end since compiling it without a problem a week ago.

Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Anna Petrášová
Hi Michael,


On Mon, May 13, 2013 at 9:52 PM, Michael Barton michael.bar...@asu.eduwrote:

  I just compiled GRASS 7 Trunk.

  It crashes on startup with the following error:


this is related to the new toolboxes and menu customization. I don't know
what is wrong because it was tested successfully also on Windows. Could you
check what you have in directory toolboxes which should be in the same
folder as saved settings file? Also try make distclean or just make clean
in gui/wxpython and remove manually the gui files from distribution.

Anna


  GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
 sys.exit(main())
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
 app = GMApp(workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
 wx.App.__init__(self, False)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
 self._BootstrapApp()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
 return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
 workspace = self.workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
 self._menuTreeBuilder = LayerManagerMenuData()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
 MenuTreeModelBuilder.__init__(self, filename)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
 xmlTree = etree.parse(filename)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
 tree.parse(source, parser)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
 self._root = parser.close()
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
 self._parser.Parse(, 1) # end of data
 xml.parsers.expat.ExpatError: no element found: line 1, column 0

  No changes on my end since compiling it without a problem a week ago.

  Michael
  __
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

  voice:  480-965-6262 (SHESC), 480-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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-dev

___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Michael Barton
Anna,

I deleted all the GUI code and did a new svn up and make distclean.

Just finished compiling and have the same error on startup. The GUI crashes.


Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-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 May 13, 2013, at 1:23 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

Hi Michael,


On Mon, May 13, 2013 at 9:52 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
I just compiled GRASS 7 Trunk.

It crashes on startup with the following error:

this is related to the new toolboxes and menu customization. I don't know what 
is wrong because it was tested successfully also on Windows. Could you check 
what you have in directory toolboxes which should be in the same folder as 
saved settings file? Also try make distclean or just make clean in gui/wxpython 
and remove manually the gui files from distribution.

Anna


GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
sys.exit(main())
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
app = GMApp(workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
wx.App.__init__(self, False)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
self._BootstrapApp()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
workspace = self.workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
self._menuTreeBuilder = LayerManagerMenuData()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
MenuTreeModelBuilder.__init__(self, filename)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
xmlTree = etree.parse(filename)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
tree.parse(source, parser)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
self._root = parser.close()
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
self._parser.Parse(, 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 1, column 0

No changes on my end since compiling it without a problem a week ago.

Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671(SHESC), 
480-727-0709tel:480-727-0709 (CSDC)
www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 
http://shesc.asu.eduhttp://shesc.asu.edu/
http://www.public.asu.edu/~cmbarton


___
grass-dev mailing list
grass-dev@lists.osgeo.orgmailto:grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Anna Petrášová
There might be a problem with compilation. Is there any error? Could you
check file menudata.xml in gui/wxpython/xml/ and the same file in
distribution? Is it there and what's inside?


On Mon, May 13, 2013 at 10:51 PM, Michael Barton michael.bar...@asu.eduwrote:

  Anna,

  I deleted all the GUI code and did a new svn up and make distclean.

  Just finished compiling and have the same error on startup. The GUI
 crashes.


  Michael
   __
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

  voice:  480-965-6262 (SHESC), 480-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 May 13, 2013, at 1:23 PM, Anna Petrášová kratocha...@gmail.com
  wrote:

  Hi Michael,


 On Mon, May 13, 2013 at 9:52 PM, Michael Barton michael.bar...@asu.eduwrote:

 I just compiled GRASS 7 Trunk.

  It crashes on startup with the following error:


  this is related to the new toolboxes and menu customization. I don't
 know what is wrong because it was tested successfully also on Windows.
 Could you check what you have in directory toolboxes which should be in the
 same folder as saved settings file? Also try make distclean or just make
 clean in gui/wxpython and remove manually the gui files from distribution.

  Anna


  GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
 sys.exit(main())
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
 app = GMApp(workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
 wx.App.__init__(self, False)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
 self._BootstrapApp()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
 return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
 workspace = self.workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
 self._menuTreeBuilder = LayerManagerMenuData()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
 MenuTreeModelBuilder.__init__(self, filename)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
 xmlTree = etree.parse(filename)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
 tree.parse(source, parser)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
 self._root = parser.close()
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
 self._parser.Parse(, 1) # end of data
 xml.parsers.expat.ExpatError: no element found: line 1, column 0

  No changes on my end since compiling it without a problem a week ago.

  Michael
  __
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

  voice:  480-965-6262 (SHESC), 480-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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-dev




___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Michael Barton
There are the same (bogus?) errors for the set of tools that need separate 
windows that have been showing up for months. No others.

I'm away from my office computer for the next several weeks while I am in 
Europe. I might be able to get on remotely or recompile on my MB Air to answer 
your question.

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On May 13, 2013, at 2:18 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

There might be a problem with compilation. Is there any error? Could you check 
file menudata.xml in gui/wxpython/xml/ and the same file in distribution? Is it 
there and what's inside?


On Mon, May 13, 2013 at 10:51 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Anna,

I deleted all the GUI code and did a new svn up and make distclean.

Just finished compiling and have the same error on startup. The GUI crashes.


Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671(SHESC), 
480-727-0709tel:480-727-0709 (CSDC)
www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 
http://shesc.asu.eduhttp://shesc.asu.edu/
http://www.public.asu.edu/~cmbarton

On May 13, 2013, at 1:23 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

Hi Michael,


On Mon, May 13, 2013 at 9:52 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
I just compiled GRASS 7 Trunk.

It crashes on startup with the following error:

this is related to the new toolboxes and menu customization. I don't know what 
is wrong because it was tested successfully also on Windows. Could you check 
what you have in directory toolboxes which should be in the same folder as 
saved settings file? Also try make distclean or just make clean in gui/wxpython 
and remove manually the gui files from distribution.

Anna


GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
sys.exit(main())
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
app = GMApp(workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
wx.App.__init__(self, False)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
self._BootstrapApp()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
workspace = self.workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
self._menuTreeBuilder = LayerManagerMenuData()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
MenuTreeModelBuilder.__init__(self, filename)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
xmlTree = etree.parse(filename)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
tree.parse(source, parser)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
self._root = parser.close()
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
self._parser.Parse(, 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 1, column 0

No changes on my end since compiling it without a problem a week ago.

Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Michael Barton
Perhaps I discovered the problem. Both the distribution version (downloaded in 
the past hour) and (of course) the compiled version of menudata.xml are empty.

Michael

C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On May 13, 2013, at 2:18 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

There might be a problem with compilation. Is there any error? Could you check 
file menudata.xml in gui/wxpython/xml/ and the same file in distribution? Is it 
there and what's inside?


On Mon, May 13, 2013 at 10:51 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
Anna,

I deleted all the GUI code and did a new svn up and make distclean.

Just finished compiling and have the same error on startup. The GUI crashes.


Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671(SHESC), 
480-727-0709tel:480-727-0709 (CSDC)
www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 
http://shesc.asu.eduhttp://shesc.asu.edu/
http://www.public.asu.edu/~cmbarton

On May 13, 2013, at 1:23 PM, Anna Petrášová 
kratocha...@gmail.commailto:kratocha...@gmail.com
 wrote:

Hi Michael,


On Mon, May 13, 2013 at 9:52 PM, Michael Barton 
michael.bar...@asu.edumailto:michael.bar...@asu.edu wrote:
I just compiled GRASS 7 Trunk.

It crashes on startup with the following error:

this is related to the new toolboxes and menu customization. I don't know what 
is wrong because it was tested successfully also on Windows. Could you check 
what you have in directory toolboxes which should be in the same folder as 
saved settings file? Also try make distclean or just make clean in gui/wxpython 
and remove manually the gui files from distribution.

Anna


GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
sys.exit(main())
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
app = GMApp(workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
wx.App.__init__(self, False)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
self._BootstrapApp()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
workspace = self.workspaceFile)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
self._menuTreeBuilder = LayerManagerMenuData()
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
MenuTreeModelBuilder.__init__(self, filename)
  File 
/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
xmlTree = etree.parse(filename)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
tree.parse(source, parser)
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
self._root = parser.close()
  File 
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
self._parser.Parse(, 1) # end of data
xml.parsers.expat.ExpatError: no element found: line 1, column 0

No changes on my end since compiling it without a problem a week ago.

Michael
__
C. Michael Barton
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262tel:480-965-6262 (SHESC), 480-727-9746tel:480-727-9746 
(CSDC)
fax:  480-965-7671tel:480-965-7671(SHESC), 
480-727-0709tel:480-727-0709 (CSDC)
www:  http://csdc.asu.eduhttp://csdc.asu.edu/, 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Anna Petrášová
On Mon, May 13, 2013 at 11:51 PM, Michael Barton michael.bar...@asu.eduwrote:

  Perhaps I discovered the problem. Both the distribution version
 (downloaded in the past hour) and (of course) the compiled version of
 menudata.xml are empty.


Yes, that's what I was thinking. Could you try to run this separately:

python core/toolboxes.py  xml/menudata.xml

which should be done during compilation but it seems to fail somehow. It
should generate the xml menu file.


  Michael
 
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University

  voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
  fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
 www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











  On May 13, 2013, at 2:18 PM, Anna Petrášová kratocha...@gmail.com
  wrote:

  There might be a problem with compilation. Is there any error? Could you
 check file menudata.xml in gui/wxpython/xml/ and the same file in
 distribution? Is it there and what's inside?


 On Mon, May 13, 2013 at 10:51 PM, Michael Barton 
 michael.bar...@asu.eduwrote:

 Anna,

  I deleted all the GUI code and did a new svn up and make distclean.

  Just finished compiling and have the same error on startup. The GUI
 crashes.


  Michael
__
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

  voice:  480-965-6262 (SHESC), 480-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 May 13, 2013, at 1:23 PM, Anna Petrášová kratocha...@gmail.com
  wrote:

   Hi Michael,


 On Mon, May 13, 2013 at 9:52 PM, Michael Barton 
 michael.bar...@asu.eduwrote:

 I just compiled GRASS 7 Trunk.

  It crashes on startup with the following error:


  this is related to the new toolboxes and menu customization. I don't
 know what is wrong because it was tested successfully also on Windows.
 Could you check what you have in directory toolboxes which should be in the
 same folder as saved settings file? Also try make distclean or just make
 clean in gui/wxpython and remove manually the gui files from distribution.

  Anna


  GRASS 7.0.svn (nc_spm_08):~  Traceback (most recent call last):
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 140, in module
 sys.exit(main())
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 133, in main
 app = GMApp(workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 45, in __init__
 wx.App.__init__(self, False)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7981, in __init__
 self._BootstrapApp()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/python/wx/_core.py,
 line 7555, in _BootstrapApp
 return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/wxgui.py,
 line 79, in OnInit
 workspace = self.workspaceFile)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py,
 line 106, in __init__
 self._menuTreeBuilder = LayerManagerMenuData()
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/menudata.py,
 line 31, in __init__
 MenuTreeModelBuilder.__init__(self, filename)
   File
 /Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS-7.0.app/Contents/MacOS/etc/gui/wxpython/core/menutree.py,
 line 61, in __init__
 xmlTree = etree.parse(filename)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 862, in parse
 tree.parse(source, parser)
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 587, in parse
 self._root = parser.close()
   File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py,
 line 1254, in close
 self._parser.Parse(, 1) # end of data
 xml.parsers.expat.ExpatError: no element found: line 1, column 0

  No changes on my end since compiling it without a problem a week ago.

  Michael
  __
 C. Michael Barton
 Director, Center for Social Dynamics  Complexity
 Professor of Anthropology, School of Human Evolution  Social Change
 Arizona State University
 Tempe, AZ  85287-2402
 USA

  voice:  480-965-6262 (SHESC), 480-727-9746 

Re: [GRASS-dev] GRASS 7 crashes on startup on Mac

2013-05-13 Thread Hamish
 I'm away from my office computer for the next several weeks
 while I am in Europe. I might be able to get on remotely or
 recompile on my MB Air to answer your question.

Hi Michael,

if you get the chance could you have a quick look over the
GSoC project applications before you go? There are 5 of
them, a couple look like they might be of interest to you.
(e.g. interpolating soil horizons, and return of Stepan from
last year to do wxGUI scatterplots, who should be a fairly
low-needs student if your time is short)

We can't accept students who don't have mentors+co-mentors
already lined up, so it would be good to have an idea of
what (if anything) you'd be available for.


thanks a bunch  happy travels,
Hamish
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev