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

Description

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,

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions