Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

[Error] invalid literal for int() with base 10 in sun.py #135

Open
lincdeckard opened this issue Feb 14, 2021 · 0 comments
Open

[Error] invalid literal for int() with base 10 in sun.py #135

lincdeckard opened this issue Feb 14, 2021 · 0 comments
Assignees

Comments

@lincdeckard
Copy link

Hello,

Having some trouble getting meteor passes decoded. I can't more than a couple black lines. NOAA sats are decoding fine though. When executing receive_meteor.sh I'm getting an error that traces to sun.py as:


> pi@raspberrypi:~/raspberry-noaa $ bash receive_meteor.sh 
> INFO : The system doesn't have enough space to store a Meteor pass on RAM
> INFO : I'll flip this image pass because FLIP_METEOR_IMG is set to true
> expr: non-integer argument
> Traceback (most recent call last):
>   File "/home/pi/raspberry-noaa/sun.py", line 6, in <module>
>     date = time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(int(sys.argv[1])-(timezone*60*60)))
> ValueError: invalid literal for int() with base 10: ''
> INFO : Starting rtl_fm record

GMT timezone in here is Lisbon, +00:00. Could that be the issue? What value should I have in sun.py config for timezone?

thank you,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants