You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.
When I change the current path of base_path to a custom base_path, the program when finish and close fail to save the checkpoint file.
Log
2020-02-13 02:02:17,678 - DEBUG - Saving Checkpoint file to: /home/computer/works/Ungram/config/obatmanqueri.checkpoint
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/instabot/bot/bot.py", line 467, in print_counters
save_checkpoint(self)
File "/usr/lib/python3.8/site-packages/instabot/bot/bot_checkpoint.py", line 50, in save_checkpoint
with open(fname, "wb") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/computer/works/Ungram/config/obatmanqueri.checkpoint'
To Reproduce
(EXAMPLE:) Steps to reproduce the behavior:
Run anyone instabot script with custom base_path
Finish the script and wait for the error
Expected behavior
The expected is to save normally in the custom base_path.
Additional context
Add any other context about the problem here.
Version
Python version (python -v): 3.8
OS: Linux
The text was updated successfully, but these errors were encountered:
Yeah but i need to save in other location, all others files from instabot is saving to "data" folder, i put in the base_path for this, only the checkpoint saving in "config" folder, why?? The previous version works correctly
I have the same problem, I pass base_path, but it's replaced when join paths (base_path + CHECKPOINT_PATH). Previously, only the file name was stored in CHECKPOINT_PATH, now there is the full path, this is the problem
Example file
Describe the bug
When I change the current path of base_path to a custom base_path, the program when finish and close fail to save the checkpoint file.
Log
To Reproduce
(EXAMPLE:) Steps to reproduce the behavior:
Expected behavior
The expected is to save normally in the custom base_path.
Additional context
Add any other context about the problem here.
Version
Python version (
python -v
): 3.8OS: Linux
The text was updated successfully, but these errors were encountered: