fredboudon / lpy

An open source python version of the Lindenmayer Systems.
Other
14 stars 13 forks source link

ObjectPanel crashes on Windows when applying settings to an object #29

Open j-levy opened 3 years ago

j-levy commented 3 years ago

Tested on:

Steps to reproduce:

You would expect : not a crash

You get : a crash with this traceback

Traceback (most recent call last):
  File "c:\users\jonathan\miniconda3\envs\lpy\lib\site-packages\openalea.lpy-3.8.0-py3.8.egg\openalea\lpy\gui\objectpanel.py", line 105, in __transmit_valueChanged__
    self.panel.retrieveObject(self)
  File "c:\users\jonathan\miniconda3\envs\lpy\lib\site-packages\openalea.lpy-3.8.0-py3.8.egg\openalea\lpy\gui\objectpanel.py", line 456, in retrieveObject
    object,objectid = managerDialog.getEditedObject()
TypeError: cannot unpack non-iterable NoneType object

I haven't tested if this happens with Python 3.7 and Python 3.8 too. (openalea.lpy is built for Python 3.7, 3.8 and 3.9 on anaconda.org)