i3visio / osrframework

OSRFramework, the Open Sources Research Framework is a AGPLv3+ project by i3visio focused on providing API and tools to perform more accurate online researches.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Traceback

apambalik1337 opened this issue · comments

Traceback (most recent call last):
File "/usr/local/lib/python3.9/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/x/.config/OSRFramework/default/general.cfg'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/phonefy.py", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/osrframework/phonefy.py", line 112, in main
parser = get_parser()
File "/usr/local/lib/python3.9/dist-packages/osrframework/phonefy.py", line 62, in get_parser
DEFAULT_VALUES = configuration.get_configuration_values_for("phonefy")
File "/usr/local/lib/python3.9/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/x/.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/x/.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.