ubuntu@ubuntu-desktop:~/Documents/runGrape$ python3 gnuradio_schedule.py
initial startup of Grape
calling script to halt gnuradio
Process(es) to kill: []
starting uploader
Upload starting 2023-09-28T02:38
Will attempt to upload observation# OBS2023-09-18T18-37
Upload starting, time: 2023-09-28T02:38
Upload command = 'lftp -e 'set net:limit-rate 200K;mirror --exclude tmp.* -R --verbose /G1DRF/OBS2023-09-18T18-37/ OBS2023-09-18T1
8-37;chmod 775 OBS2023-09-18T18-37;mkdir cOBS2023-09-18T18-37_#74_#2023-09-28T02:38;chmod 775 cOBS2023-09-18T18-37_#74_#2023-09-28
T02:38;exit' -u S000047,1237f5c3ad7654626a64 sftp://pswsnetwork.caps.ua.edu '
Starting upload...
mirror: Access failed: /G1DRF/OBS2023-09-18T18-37: No such file or directory
restarting gnuradio DRF grc
Starting up gnuradio/Grape
Observation='OBS2023-09-18T18-37'
New observation name: OBS2023-09-28T00-00
Create new data area on bulk storage
Restarting with existing observation
/home/ubuntu/Documents/runGrape/grape_DRF_spec.py:11: DeprecationWarning: The distutils package is deprecated and slated for remov
al in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import StrictVersion
output file: /G1DRF/OBS2023-09-18T18-37/ch0
band: [10.]
Lat/Long= {'lat': 47.6875, 'long': -122.375}
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/ubuntu/Documents/runGrape/grape_DRF_spec.py", line 278, in <module>
main()
File "/home/ubuntu/Documents/runGrape/grape_DRF_spec.py", line 254, in main
tb = top_block_cls()
File "/home/ubuntu/Documents/runGrape/grape_DRF_spec.py", line 177, in __init__
self.gr_digital_rf_digital_rf_channel_sink_0_0 = gr_digital_rf.digital_rf_channel_sink(
File "/usr/local/lib/python3.10/dist-packages/gr_digital_rf/digital_rf_sink.py", line 400, in __init__
os.makedirs(self._metadata_dir)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/G1DRF/OBS2023-09-18T18-37'
Chris,
It looks like a permissions error when trying to create the OBS directory under /G1DRF.
After doing Bill Engelke’s step of deleting the observation name in uploader.config, do the following.
sudo chgrp ubuntu /G1DRF
sudo chmod 775 /G1DRF
Then restart gnuradio:
cd ~/Documents/runGrape
python3 gnuradio_schedule.py
73,
Bill AB1XB
mirror: Access failed: /G1DRF/OBS2023-09-18T18-37: No such file or directory
restarting gnuradio DRF grc
Starting up gnuradio/Grape
Observation='OBS2023-09-18T18-37'
New observation name: OBS2023-09-28T00-00
Create new data area on bulk storage
Restarting with existing observation
/home/ubuntu/Documents/runGrape/grape_DRF_spec.py:11: DeprecationWarning: The distutils package is deprecated and slated for remov
al in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import StrictVersion
output file: /G1DRF/OBS2023-09-18T18-37/ch0
band: [10.]
Lat/Long= {'lat': 47.6875, 'long': -122.375}
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Traceback (most recent call last):
File "/home/ubuntu/Documents/runGrape/grape_DRF_spec.py", line 278, in <module>
main()
File "/home/ubuntu/Documents/runGrape/grape_DRF_spec.py", line 254, in main
tb = top_block_cls()
File "/home/ubuntu/Documents/runGrape/grape_DRF_spec.py", line 177, in __init__
self.gr_digital_rf_digital_rf_channel_sink_0_0 = gr_digital_rf.digital_rf_channel_sink(
File "/usr/local/lib/python3.10/dist-packages/gr_digital_rf/digital_rf_sink.py", line 400, in __init__
osmakedirs(self._metadata_dir)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/G1DRF/OBS2023-09-18T18-37'
It looks like something may have been left over from image creation that's confusing the uploader. This is a system I built myself, so as expected, the file on G1DRF doesn't exist.
Any ideas on how to get this fixed and QT diagnostics visible? I'm going to leave the system running at least through UTC 0000 tomorrow to see what happens.
thanks,
chris
--
You received this message because you are subscribed to the Google Groups "hamsci-grape" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hamsci-grape...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hamsci-grape/97821976-9125-4a0a-af96-df4d1f24a607n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "hamsci-grape" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hamsci-grape...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hamsci-grape/BN8PR15MB3185418D4BCAA090E658A36DFAC1A%40BN8PR15MB3185.namprd15.prod.outlook.com.