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

when i removed a component , i got an error as the following #12

Open
yungxiaomcc opened this issue May 9, 2023 · 3 comments
Open

when i removed a component , i got an error as the following #12

yungxiaomcc opened this issue May 9, 2023 · 3 comments

Comments

@yungxiaomcc
Copy link

error

ERROR:root:Exception raised
ERROR:root:AttributeError("'NoneType' object has no attribute 'object'")
ERROR:root:Traceback (most recent call last):
File "/home/yangxiao/projects/paraview-visualizer/.venv/lib/python3.9/site-packages/wslink/backends/aiohttp/init.py", line 495, in onMessage
results = await results
File "/home/yangxiao/projects/paraview-visualizer/.venv/lib/python3.9/site-packages/trame_server/protocol.py", line 186, in trigger
result = self.server._triggers[name](*args, **kwargs)
File "/home/yangxiao/projects/paraview-visualizer/pv_visualizer/html/pipeline.py", line 70, in on_action
self.server.controller.on_delete(id)
File "/home/yangxiao/projects/paraview-visualizer/.venv/lib/python3.9/site-packages/trame_server/controller.py", line 277, in call
result = f(*args, **kwargs)
File "/home/yangxiao/projects/paraview-visualizer/pv_visualizer/app/engine/proxymanager/core.py", line 302, in on_proxy_delete
pv_source = s_source.object
AttributeError: 'NoneType' object has no attribute 'object'

click

image

@jourdain
Copy link
Collaborator

jourdain commented May 9, 2023

Thanks for reporting such issue.

Based on the error it seems that the simput proxy does not exist when triggering the delete. We'll need some time to investigate.

@yungxiaomcc
Copy link
Author

Thanks for reporting such issue.

Based on the error it seems that the simput proxy does not exist when triggering the delete. We'll need some time to investigate.

As I tried to fix this issuse, I found more information .
When I removed a component from pipeline, we expect the component should be removed ,but nothing happened. And one more clicked,the errror occured.
I think there are some states which is not updated synchronously with remove operation.
Can you give me some information to help to investigate it?

@jourdain
Copy link
Collaborator

Not sure I'm following what you did but I won't have time to investigate anytime soon.

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

No branches or pull requests

2 participants