gvandela / MeteorRpiReceiver

a set of python scripts to automatically capture, decode & e-mail Meteor-M2 satellite images
40 stars 9 forks source link

Having a bit trouble and need some help. #7

Closed SA7BNT closed 6 years ago

SA7BNT commented 6 years ago

Hallo, i´m running Debian 9 64bit (NO RESPBERRY!!!!!) I5 Dell and getting this fail. Can some one help me with that??

sa7bnt@owncloud:~/MeteorRpiReceiver/GRC$ python METEOR_M2_v04_noGUI.py linux; GNU C++ version 6.3.0 20170221; Boost_106200; UHD_003.009.005-0-unknown gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.10 built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock usb_claim_interface error -6 usb_claim_interface error -6 Using device #0 Realtek RTL2838UHIDIR SN: 00000001 usb_claim_interface error -6 FATAL: Failed to open rtlsdr device. Trying to fill up 1 missing channel(s) with null source(s). This is being done to prevent the application from crashing due to gnuradio bug #528. Press Enter to quit: sa7bnt@owncloud:~/MeteorRpiReceiver/GRC$

gvandela commented 6 years ago

Have you tested your rtl dongle with any other software? The fail doesn't look familiar to me, but it looks as if your rtl dongle is not working properly.

SA7BNT commented 6 years ago

All two dongles running fine with multimon-ng and autowx2. So that seems not to be the problem. I´m getting this when i run the .py

sa7bnt@owncloud:~/MeteorRpiReceiver$ls Decoder email_config.txt GRC mail_list.txt README.md scheduler_v0.2.8.py scheduler_v0.2.9.log scheduler_v0.2.9.py user_location.txt sa7bnt@owncloud:~/MeteorRpiReceiver$ python scheduler_v0.2.9.py 2018-09-05 07:03:54,712 - root - DEBUG - ----------------------------------------------------------------------------------------------- 2018-09-05 07:03:54,728 - root - DEBUG - scheduler_v0.2.9 (no doppler) started on 05/09/18 at local 07:03 2018-09-05 07:03:54,740 - root - DEBUG - GRC script: /home/sa7bnt/Projects/Python_projects/Meteor_receiver/GRC/METEOR_M2_v04_noGUI.py 2018-09-05 07:03:54,753 - root - DEBUG - Location: 57:38:36.6N, 15:16:15.5E, 10.0m elevation 2018-09-05 07:03:54,754 - root - DEBUG - Sat name: METEOR-M 2 2018-09-05 07:03:54,774 - root - DEBUG - trying TLE download... 2018-09-05 07:04:00,239 - root - DEBUG - Download successful, storing TLE file offline 2018-09-05 07:04:00,239 - root - DEBUG - TLE file downloaded & saved 05/09/18 07:04 TLE data:

METEOR-M 2

1 40069U 14037A 18247.78846176 -.00000024 00000-0 86387-5 0 9997

2 40069 98.5957 296.7449 0006022 20.8728 339.2684 14.20653977215683

2018-09-05 07:04:00,240 - root - DEBUG - waiting for positive satellite elevation 2018-09-05 07:12:35,823 - root - DEBUG - start GRC script
2018-09-05 07:12:35,825 - root - DEBUG - started /home/sa7bnt/Projects/Python_projects/Meteor_receiver/GRC/METEOR_M2_v04_noGUI.py with PID:5220 ['/usr/bin/python', '/home/sa7bnt/Projects/Python_projects/Meteor_receiver/GRC/METEOR_M2_v04_noGUI.py'] started at 2018-09-05 07:12:35.825721 2018-09-05 07:27:21,815 - root - DEBUG - stopping GRC script
2018-09-05 07:27:21,815 - root - DEBUG - GRC script ended with return code: 2 2018-09-05 07:27:41,846 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1935.s 2018-09-05 07:27:41,846 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1941.s 2018-09-05 07:27:41,846 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1950.s 2018-09-05 07:27:41,847 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_05092018_0622.s 2018-09-05 07:27:41,847 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1956.s 2018-09-05 07:27:41,847 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1951.s 2018-09-05 07:27:41,847 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_05092018_0621.s 2018-09-05 07:27:41,847 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_05092018_0617.s 2018-09-05 07:27:41,848 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1947.s 2018-09-05 07:27:41,848 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1942.s 2018-09-05 07:27:41,848 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_05092018_0620.s 2018-09-05 07:27:41,848 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1948.s 2018-09-05 07:27:41,848 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1938.s 2018-09-05 07:27:41,849 - root - DEBUG - would have removed old file /home/sa7bnt/Projects/Python_projects/Meteor_receiver/Data/meteor_LRPT_04092018_1943.s 2018-09-05 07:27:41,849 - root - DEBUG - decoding: no recent file was found 2018-09-05 07:27:41,849 - root - DEBUG - no e-mail sent as there was no decoded image 2018-09-05 07:27:41,849 - root - DEBUG - all done, start over for next pass 2018-09-05 07:27:41,849 - root - DEBUG - trying TLE download... 2018-09-05 07:27:42,163 - root - DEBUG - Download successful, storing TLE file offline 2018-09-05 07:27:42,163 - root - DEBUG - TLE file downloaded & saved 05/09/18 07:27 TLE data:

METEOR-M 2

1 40069U 14037A 18247.78846176 -.00000024 00000-0 86387-5 0 9997

2 40069 98.5957 296.7449 0006022 20.8728 339.2684 14.20653977215683

And when im running the python METEOR_M2_v04_noGUI.py

Is that the output. Is the jack server the problem??

sa7bnt@owncloud:~/MeteorRpiReceiver/GRC$ python METEOR_M2_v04_noGUI.py linux; GNU C++ version 6.3.0 20170221; Boost_106200; UHD_003.009.005-0-unknown

gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.10 built-in source types: file osmosdr fcd rtl rtl_tcp uhd miri hackrf bladerf rfspace airspy soapy redpitaya Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock Found Rafael Micro R820T tuner Found Rafael Micro R820T tuner Using device #0 Realtek RTL2838UHIDIR SN: 00000001 Found Rafael Micro R820T tuner [R82XX] PLL not locked! [R82XX] PLL not locked! Allocating 15 zero-copy buffers Press Enter to quit: sa7bnt@owncloud:~/MeteorRpiReceiver/GRC$

gvandela commented 6 years ago

It sure seems like everything is running as it should, evidenced by the .s files the script produced so far! I googled the jack server issue and found this is harmless... I do notice I forgot to enable the removing of .s files after decoding, so beware these are big files. I updated the code to enable automatic removal of old .s files. I'll close this as it seems to be a non-issue. If no images are being produced, you should look into the RF part of your setup (antenna, filter (if any), external LNA (if any)). Good luck & have fun!