FileNotFoundError
Opened this issue · 1 comments
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/osrframework/utils/configuration.py", line 119, in get_configuration_values_for
with open(defaultConfigPath) as iF:
FileNotFoundError: [Errno 2] No such file or directory: '/home/ubuntu12/.config/OSRFramework/default/general.cfg'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/osrf", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/osrframework/launcher.py", line 136, in main
parser = get_parser()
File "/usr/local/lib/python3.8/dist-packages/osrframework/launcher.py", line 80, in get_parser
parents=[checkfy.get_parser()]
File "/usr/local/lib/python3.8/dist-packages/osrframework/checkfy.py", line 84, in get_parser
DEFAULT_VALUES = configuration.get_configuration_values_for("checkfy")
File "/usr/local/lib/python3.8/dist-packages/osrframework/utils/configuration.py", line 125, in get_configuration_values_for
raise errors.DefaultConfigurationFileNotFoundError(configPath, defaultConfigPath);
osrframework.utils.errors.DefaultConfigurationFileNotFoundError:
- Oh! What's happening? > The configuration file /home/ubuntu12/.config/OSRFramework/general.cfg could not be found. The system tried to get the files provided by default with OSRFramework but they were not found either.
- How can I solve this? > Check if the configuration path exists or if it is accesible by the current user. You should be able to find the default configuration files at '/home/ubuntu12/.config/OSRFramework/default/general.cfg'. If they are not there, try to solve this by reinstalling OSRFramework again for this user.
- This is not enough... > If you need more information on how to solve this, copy this information and ask us by placing an issue at https://github.com/i3visio/osrframework/issues.
i am also facing the same problem. Did you find a fix for the issue?