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

PDSim GUI failed to use the vapor injection function #85

Open
Wang-Zongwei opened this issue Oct 13, 2023 · 2 comments
Open

PDSim GUI failed to use the vapor injection function #85

Wang-Zongwei opened this issue Oct 13, 2023 · 2 comments

Comments

@Wang-Zongwei
Copy link

Today I found below issue, and I hope my feedback is useful.

When I tried to use "vapor injection for scroll compressor", there's no any response when when I clicked the button "Add Injection Line". (see below pic)

QQ截图20231013155456

Below information showed in main output log:
Traceback (most recent call last):
File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 422, in OnAddInjection
IE = InjectionElementPanel(self.scrolled_panel,self.Nterms+1)
File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 265, in init
IPP = InjectionPortPanel(self, index = 1)
File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 40, in init
self.AddPort.Bind(wx.EVT_BUTTON,self.Parent.OnAddPort(self))
File "C:\pdsim-master\GUI\plugins\scroll_plugins.py", line 340, in OnAddPort
IPP = InjectionPortPanel(self, index = len(self.ports_list)+1)
AttributeError: 'InjectionElementPanel' object has no attribute 'ports_list'

@ibell
Copy link
Owner

ibell commented Oct 18, 2023

Hmm I haven't worked with that code in years. Can you debug yourself?

@Wang-Zongwei
Copy link
Author

OK, I will try, thanks.

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