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

crash: sweep.py: spinBox: unexpected type: float #230

Closed
es20490446e opened this issue Aug 7, 2022 · 2 comments · Fixed by #242
Closed

crash: sweep.py: spinBox: unexpected type: float #230

es20490446e opened this issue Aug 7, 2022 · 2 comments · Fixed by #242

Comments

@es20490446e
Copy link

es20490446e commented Aug 7, 2022

(Friture 0.49)
Traceback (most recent call last):
  File "/usr/bin/friture", line 10, in 
    main()
  File "/usr/lib/python3.10/site-packages/friture/analyzer.py", line 395, in main
    window = Friture()
  File "/usr/lib/python3.10/site-packages/friture/analyzer.py", line 154, in __init__
    self.restoreAppState()
  File "/usr/lib/python3.10/site-packages/friture/analyzer.py", line 258, in restoreAppState
    self.dockmanager.restoreState(settings)
  File "/usr/lib/python3.10/site-packages/friture/dockmanager.py", line 78, in restoreState
    dock.restoreState(settings)
  File "/usr/lib/python3.10/site-packages/friture/dock.py", line 125, in restoreState
    self.audiowidget.restoreState(settings)
  File "/usr/lib/python3.10/site-packages/friture/generator.py", line 308, in restoreState
    generator.settingsWidget().restoreState(settings)
  File "/usr/lib/python3.10/site-packages/friture/generators/sweep.py", line 159, in restoreState
    self.spinBox_sweep_startfrequency.setValue(sweep_start_frequency)
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
@es20490446e
Copy link
Author

Removing the config files makes it work.

@es20490446e
Copy link
Author

But editing the view makes it to reappear.

Salavin added a commit to Salavin/friture that referenced this issue Jan 18, 2023
Salavin added a commit to Salavin/friture that referenced this issue Jan 18, 2023
tlecomte pushed a commit that referenced this issue Jan 29, 2023
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

Successfully merging a pull request may close this issue.

1 participant