spacelab-ufsc / spacelab-decoder

SpaceLab Packet Decoder
https://spacelab-ufsc.github.io/spacelab-decoder/
GNU General Public License v3.0
5 stars 1 forks source link

How do you run this?? #27

Open harri-renney-kaze opened 1 week ago

harri-renney-kaze commented 1 week ago

Hi,

How do you run this program? Building from source or the release .deb leads to the following when I run: spacelab-decoder It returns:

  File "/usr/local/bin/spacelab-decoder", line 33, in <module>
    sys.exit(load_entry_point('spacelab-decoder==0.4.0', 'gui_scripts', 'spacelab-decoder')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: main() missing 1 required positional argument: 'args'

I just want to load the program and decode floripasat-1 signal.

(Also when building I get

Searching for gi
Reading https://pypi.org/simple/gi/
No local packages or working download links found for gi
error: Could not find suitable distribution for Requirement.parse('gi')

But I just removed the gi requirement. Would this cause the crash? I have python3-gi installed.

Thanks,

harri-renney-kaze commented 1 week ago

Okay I can run it with python script main.py inside spacelab-decoder/

But yes, not sure why launching the program normally has the above issue but I am not familiar setting python projects up for distribution.