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

TypeError with python 3.11 #128

Open
aaronhalpern opened this issue Nov 17, 2022 · 1 comment
Open

TypeError with python 3.11 #128

aaronhalpern opened this issue Nov 17, 2022 · 1 comment

Comments

@aaronhalpern
Copy link
Collaborator

After installation with Python 3.11, received the following error when testing with none_config.xml

TypeError: setPageStep(self, int): argument 1 has unexpected type 'float'
line 195 of storm-control\storm_control\hal4000\illumination\illuminationChannelUI.py

The problem was resolved when downgrading to Python 3.9.6

@HazenBabcock
Copy link
Member

HazenBabcock commented Nov 18, 2022

I think this is just Python/PyQt being more picky about implicit casting of variables. This might fix the problem?

self.powerslider.setPageStep(int(page_step))

You'd probably have to do this in a number of places..

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