Closed arooni closed 2 years ago
is this error message causing the failure?
ERROR: 2022-06-22 21:34:44,192 Error loading advanced.py from merchants folder
Traceback (most recent call last):
File "debbit.py", line 787, in <module>
File "debbit.py", line 48, in main
File "debbit.py", line 69, in load_merchant
File "debbit.py", line 64, in load_merchant
ModuleNotFoundError: No module named 'program_files.merchants.advanced'
[95078] Failed to execute script debbit
Issue was self induced. It's very important to note the indentation in the config file, I'm guessing it's a python thing. Essentially the advanced: section wasn't indented inward two spaces so debbit thought of this as a completely new vendor/merchant and there was no "advanced.py" merchant.
Great error messages made it easy to track down (once I was a little less sleep deprived). Thanks!
Example config:
output
It seems to run only for the first card in the config file, I seem to have to comment out the other config to get it to run a second time.
from your website
"mode: burst Best if using a laptop or a computer that is not always on. Debbit will check every 5 minutes if enough time has elapsed such that it should execute purchases. This allows you to sleep your computer without concern for debbit. Whenever your computer is back on, debbit will check if it is time to execute purchases and do so accordingly."
So does this mean I just need to chill and let 5 minutes elapse for the next burst of charging the next available card?