Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR ] Initialization error #162

Open
ilya-88 opened this issue May 1, 2024 · 2 comments
Open

[ERROR ] Initialization error #162

ilya-88 opened this issue May 1, 2024 · 2 comments

Comments

@ilya-88
Copy link

ilya-88 commented May 1, 2024

Hello, I can't figure out what I'm doing wrong

2024-05-01 22:08:31 [2024-05-01 19:08:31] [7 ] [INFO ] GPT-Telegramus version: 5.4.2
2024-05-01 22:08:31 [2024-05-01 19:08:31] [7 ] [INFO ] https://github.com/F33RNI/GPT-Telegramus
2024-05-01 22:08:31 [2024-05-01 19:08:31] [7 ] [INFO ] Loading config file /app/config.json
2024-05-01 22:08:31 [2024-05-01 19:08:31] [7 ] [INFO ] Enabled modules: lmao_chatgpt, lmao_ms_copilot, gemini, groq
2024-05-01 22:08:31 [2024-05-01 19:08:31] [7 ] [INFO ] Parsing module_configs directory
2024-05-01 22:08:31 [2024-05-01 19:08:31] [7 ] [ERROR ] Initialization error
2024-05-01 22:08:31 Traceback (most recent call last):
2024-05-01 22:08:31 File "main.py", line 142, in main
2024-05-01 22:08:31 File "main.py", line 81, in load_and_parse_config
2024-05-01 22:08:31 FileNotFoundError: [Errno 2] No such file or directory: 'module_configs'
2024-05-01 22:08:31 Traceback (most recent call last):
2024-05-01 22:08:31 File "main.py", line 235, in
2024-05-01 22:08:31 File "main.py", line 219, in main
2024-05-01 22:08:31 UnboundLocalError: local variable 'queue_handler_' referenced before assignment
2024-05-01 22:08:31 [7] Failed to execute script 'main' due to unhandled exception!

@F33RNI
Copy link
Owner

F33RNI commented May 3, 2024

You need to download directory with config files for modules. Pls check repo

@F33RNI
Copy link
Owner

F33RNI commented May 3, 2024

You can specify path to it in config.json

"__comment05__": "Paths to files and directories",
"files": {
    "module_configs_dir": "module_configs",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants