Closed seligor closed 3 months ago
I have the same issue
@seligor @lucasnguyen3979 If the issue is still relevant:
git pull
)venv/bin/python3 main.py --action 2 >> app.log 2>&1
app.log
and wait for errors (ERROR) to appear, then stop the botapp.log
here for analysis and troubleshooting@Alexell
Error: 2024-08-09 18:03:10 | ERROR | 755 | yota | Unknown error: list index out of range
Debug:
Traceback: Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\FARM\XEmpireBot-main\bot\core\bot.py", line 731, in run
skill = calculate_best_skill(skills=self.dbs['dbSkills'], ignored_skills=config.IGNORED_SKILLS, profile=full_profile, level=self.level, balance=self.balance, improve=improve_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Administrator\Desktop\FARM\XEmpireBot-main\bot\utils\functions.py", line 112, in
calculate_best_skill best_skill = sorted(possible_skills, key=lambda x: x["ratio"])[-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^
IndexError: list index out of range
Log file: app.log