[GRASS-dev] GRASS 7.2RC2 problem
Michael Barton
Michael.Barton at asu.edu
Wed Dec 7 09:59:35 PST 2016
I did make distclean and recomplied, without send the output to a log. I searched for menudata.xml in my terminal output and may have found the problem. What do you thing?
ValueError: insecure string pickle
make[4]: *** [xml/menudata.xml] Error 1
make[3]: [default] Error 2 (ignored)
Traceback (most recent call last):
File "core/toolboxes.py", line 903, in <module>
sys.exit(main())
File "core/toolboxes.py", line 887, in main
userDefined=False)
File "core/toolboxes.py", line 297, in createTree
moduleItems=moduleItems)
File "core/toolboxes.py", line 334, in toolboxes2menudata
_expandRuntimeModules(root)
File "core/toolboxes.py", line 634, in _expandRuntimeModules
desc, keywords = _loadMetadata(name)
File "core/toolboxes.py", line 671, in _loadMetadata
task = gtask.parse_interface(module)
File "/Users/cmbarton/grass_source/grass-7.2.0RC2/dist.x86_64-apple-darwin15.6.0/etc/python/grass/script/task.py", line 528, in parse_interface
tree = etree.fromstring(get_interface_description(name))
File "/Users/cmbarton/grass_source/grass-7.2.0RC2/dist.x86_64-apple-darwin15.6.0/etc/python/grass/script/task.py", line 480, in get_interface_description
stderr=PIPE)
File "/Users/cmbarton/grass_source/grass-7.2.0RC2/dist.x86_64-apple-darwin15.6.0/etc/python/grass/script/core.py", line 74, in __init__
subprocess.Popen.__init__(self, args, **kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1334, in _execute_child
child_exception = pickle.loads(data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1382, in loads
return Unpickler(file).load()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 966, in load_string
raise ValueError, "insecure string pickle"
ValueError: insecure string pickle
make[4]: *** [xml/module_tree_menudata.xml] Error 1
make[3]: [default] Error 2 (ignored)
Traceback (most recent call last):
File "core/menutree.py", line 245, in <module>
menudata = LayerManagerMenuData(filename)
File "/Users/cmbarton/grass_source/grass-7.2.0RC2/dist.x86_64-apple-darwin15.6.0/gui/wxpython/lmgr/menudata.py", line 42, in __init__
self, filename, expandAddons=expandAddons)
File "/Users/cmbarton/grass_source/grass-7.2.0RC2/dist.x86_64-apple-darwin15.6.0/gui/wxpython/core/menutree.py", line 65, in __init__
xmlTree = etree.parse(filename)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
tree.parse(source, parser)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
self._root = parser.close()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1654, in close
self._raiseerror(v)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0
make[4]: *** [menustrings.py] Error 1
make[3]: [default] Error 2 (ignored)
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
On Dec 6, 2016, at 9:04 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
I'm at home and can't check until tomorrow. Previously, the python make section that generated the xml files failed. IIRC, with some other similar issues in the past, the error (which might be in the make.log) suggested it was looking for 64bit python when I'm compiling with 32bit python because we are still stuck with wxPython 2.8.12.
Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University
voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu<http://csdc.asu.edu/>
On Dec 6, 2016, at 8:57 PM, Vaclav Petras <wenzeslaus at gmail.com<mailto:wenzeslaus at gmail.com>> wrote:
On Tue, Dec 6, 2016 at 7:03 PM, Michael Barton <Michael.Barton at asu.edu<mailto:Michael.Barton at asu.edu>> wrote:
Here is what I had to do before.
What happens when you do it now? Or you already did that now?
Compile normally (my steps 1-5)
5.1. Do NOT create binary distribution yet (do not run make bindist)
5.2. Launch GRASS (existing binary, preferably of same version)
5.3. cd to source wxpython folder. e.g.,
cd /Users/cmbarton/grass_source/grass_trunk/gui/wxpython
5.4. recompile from within GRASS environment
make clean
make
6.0 then run bindist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20161207/0bdbfe09/attachment-0005.html>
More information about the grass-dev
mailing list