Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
j-levy opened this issue Jun 10, 2021 · 0 comments
Open

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

j-levy opened this issue Jun 10, 2021 · 0 comments
Labels

Comments

@j-levy
Copy link
Collaborator

j-levy commented Jun 10, 2021

Tested on:

  • Windows 10 21H1, Lpy 3.0.0 using Python 3.9

Steps to reproduce:

  • open the object panel. This can be done directly with the Lpy Studio editor, or simply with python -m openalea.lpy.gui.objectpanel.
  • Right clic, New Item, select any new item (I tested with NurbsPatch, NurbsPatch3D and Function, all of them crash).
  • Double click on the item to open the settings window
  • Click on OK (after doing modifications, or even after not doind any modification)

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant