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

PLSDR not starting on either Windows OR Ubuntu 22.04 #19

Closed
xgpt opened this issue Mar 2, 2023 · 3 comments
Closed

PLSDR not starting on either Windows OR Ubuntu 22.04 #19

xgpt opened this issue Mar 2, 2023 · 3 comments

Comments

@xgpt
Copy link

xgpt commented Mar 2, 2023

Ubuntu 22.04 after following instructions on website:

Traceback (most recent call last):
  File "/home/xgpt/PLSDR/./PLSDR.py", line 806, in <module>
    window = PLSDR(app)
  File "/home/xgpt/PLSDR/./PLSDR.py", line 225, in __init__
    self.sample_rate_control = MyCombo.Combo(self,self.config,self.sample_rate_combo,self.critical_change,'sample_rate')
  File "/home/xgpt/PLSDR/MyCombo.py", line 44, in __init__
    self.set_content(content)
  File "/home/xgpt/PLSDR/MyCombo.py", line 63, in set_content
    self.process_index()
  File "/home/xgpt/PLSDR/MyCombo.py", line 73, in process_index
    self.control.setCurrentIndex(self.index)
TypeError: setCurrentIndex(self, int): argument 1 has unexpected type 'float'

the same happens on Windows with the following output:

Traceback (most recent call last):
  File "C:\Users\TVH\PLSDR\PLSDR.py", line 806, in <module>
    window = PLSDR(app)
  File "C:\Users\TVH\PLSDR\PLSDR.py", line 225, in __init__
    self.sample_rate_control = MyCombo.Combo(self,self.config,self.sample_rate_combo,self.critical_change,'sample_rate')
  File "C:\Users\TVH\PLSDR\MyCombo.py", line 44, in __init__
    self.set_content(content)
  File "C:\Users\TVH\PLSDR\MyCombo.py", line 63, in set_content
    self.process_index()
  File "C:\Users\TVH\PLSDR\MyCombo.py", line 73, in process_index
    self.control.setCurrentIndex(self.index)
TypeError: setCurrentIndex(self, index: int): argument 1 has unexpected type 'float'

(base) C:\Users\TVH\PLSDR>

However, I did note that the linked binaries for gnu3.8 might have been compiled with python 2.7 in mind, so I downloaded and installed gnuradio with their recommended radioconda installer, and tried launching PLSDR within the conda prompt. However, I'm not quite sure what the traceback is complaining about on either of these. I have tried to triage the bug but I'm not even seeing the float being passed to setCurrentIndex...although I chalk that up to tired eyes.

@lutusp
Copy link
Owner

lutusp commented Mar 3, 2023 via email

@xgpt
Copy link
Author

xgpt commented Mar 3, 2023

I'm sorry to hear that, if you must give it up, I do ask that you please keep the source up here on GitHub at least in archive mode. Once I learn a little more about GnuRadio I intend to try and do some extensions to that base using some Python tricks I think I might be able to learn by studying this code. The PLSDR radio looks very slick/simplistic for the functionality it claims.

Thanks for releasing an open source project though!

@xgpt xgpt closed this as completed Mar 3, 2023
@lutusp
Copy link
Owner

lutusp commented Mar 4, 2023 via email

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