bot icon indicating copy to clipboard operation
bot copied to clipboard

Configuration file "telegram.yml" not found even if exists and has same permissions as config.yml

Open Simplion2 opened this issue 8 months ago • 1 comments

What happened: After running the bot successfully it echos an error for telegram reports: [05/14 11:10:45] ERROR | Configuration file not found: [Errno 2] No such file or directory: 'accounts/some_name/telegram.yml'

[05/14 11:10:45] ERROR | No telegram configuration found for some_name. Skipping report generation.

But the files does exist in that directory and it even has the same permissions set as the config.yml. (-rw-r--r-- 1 root root)

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • GramAddict version: 3.2.12
  • Device Model/Emulator Type:
  • Android Version:
  • Python Version: 3.9.18
  • Instagram Version:
  • Discord Ticket ID: *(if submitting crash log)

Relevant Logs:

  • activate debug mode in confing.yml if you want to paste from the console, otherwise attach the log file from the logs folder




*Note: if you have a crash log, please do not attach the archive here as this is not a secure place to upload the sensitive data inside. Please open a ticket in Discord in #lobby and provide the ticket ID here.

Simplion2 avatar May 14 '25 09:05 Simplion2

Your folder structure should look like this:

├── gramaddict |     ├── youraccountname |     |     ├── config.yml |     ├── accounts |     |     ├── youraccountname |     |     |     ├── telegram.yml |     ├── crashes |     ├── logs

Tiritibambix avatar Jun 17 '25 08:06 Tiritibambix