wineslab / colosseum-scope

Source code for the paper L. Bonati, S. D'Oro, S. Basagni, and T. Melodia, "SCOPE: An Open and Softwarized Prototyping Platform for NextG Systems," in Proceedings of ACM MobiSys, June 2021.
https://dl.acm.org/doi/10.1145/3458864.3466863
GNU General Public License v3.0
35 stars 14 forks source link

Error while running python3 scope_start.py --config-file radio_interactive.conf #1

Closed mrkouchaki closed 2 years ago

mrkouchaki commented 2 years ago

Hi I attached screenshot of the error I got while implementing python3 scope_start.py --config-file radio_interactive.conf.

It seems there should be built a run.log file in /logs/ directory but there is not any .log file Screenshot from 2022-06-11 19-06-35 ,

leonardobonati commented 2 years ago

Hi, please make sure that the /logs directory exists on your machine, and that your user can write inside it.

As an alternative, you can change the default directory where logs are saved https://github.com/wineslab/colosseum-scope/blob/b7176a5c334ffbb9f3bbeb61a6e805c58649fddb/radio_api/scope_start.py#L662

mrkouchaki commented 2 years ago

I checked, there is not any /logs directory, I think you mean I should built it manually, just would you please tell me where it should be exactly? if it should be at : /colosseum-scope/radio_api/ ? or /usr/lib/python3.8/logging/ ?

leonardobonati commented 2 years ago

If you wish to maintain the default directory, the absolute path should be /logs, located at the root level of your system.

mrkouchaki commented 2 years ago

Thanks, also got an error on "scope_start.py", line 694. I changed the path and it is working.