[GRASS-dev] GRASS 7.2RC2 problem
Michael Barton
Michael.Barton at asu.edu
Wed Dec 7 12:11:36 PST 2016
I keep it to the system default, 2.7
____________________
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 7, 2016, at 12:23 PM, Anna Petrášová <kratochanna at gmail.com> wrote:
>
> Looks like this:
> https://urldefense.proofpoint.com/v2/url?u=http-3A__bugs.python.org_issue26083&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=eYAqKgNPkJUKeMRk8YVKJGgyd7q9RVjLmzIIuDlNpaE&s=izrhRx4RpfcJf2yER0JkRJgCsAWIh7M9eHxPTWb6YAk&e=
>
> but not sure why I don't have the problem. Which python do you use?
>
> On Wed, Dec 7, 2016 at 12:59 PM, Michael Barton <Michael.Barton at asu.edu> wrote:
>> 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: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=eYAqKgNPkJUKeMRk8YVKJGgyd7q9RVjLmzIIuDlNpaE&s=_0LutJf3DVh912O9l6HHtO5E5Ik60ckx1wQJVnvkn8s&e= , https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=eYAqKgNPkJUKeMRk8YVKJGgyd7q9RVjLmzIIuDlNpaE&s=hSZVdbVG9CJulu7il3WvEnUz6J5tduFMJ3wCUuxmfEU&e=
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Dec 6, 2016, at 9:04 PM, Michael Barton <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: https://urldefense.proofpoint.com/v2/url?u=http-3A__www.public.asu.edu_-7Ecmbarton&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=eYAqKgNPkJUKeMRk8YVKJGgyd7q9RVjLmzIIuDlNpaE&s=_0LutJf3DVh912O9l6HHtO5E5Ik60ckx1wQJVnvkn8s&e= , https://urldefense.proofpoint.com/v2/url?u=http-3A__csdc.asu.edu&d=DQIBaQ&c=AGbYxfJbXK67KfXyGqyv2Ejiz41FqQuZFk4A-1IxfAU&r=vxOW6PLS28MPea_dWUwPfRf71TAIziRDuFqWJimQN1I&m=eYAqKgNPkJUKeMRk8YVKJGgyd7q9RVjLmzIIuDlNpaE&s=hSZVdbVG9CJulu7il3WvEnUz6J5tduFMJ3wCUuxmfEU&e=
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Dec 6, 2016, at 8:57 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
>>
>>
>> On Tue, Dec 6, 2016 at 7:03 PM, Michael Barton <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
More information about the grass-dev
mailing list