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 Jun 17, 2023. It is now read-only.
Traceback (most recent call last):
File "/usr/bin/postgres_to_s3.py", line 177, in <module>
archive(args.schedule_module)
File "/usr/bin/postgres_to_s3.py", line 106, in __init__
year = name_parts[-3]
IndexError: list index out of range
After looking at the code, the line that seems to create the wrong list size is 105:
# value of key.name in my execution: mdb/mdb_test_20141117_182804.tar.gz
name_parts = key.name.split('/')
I don't mind submitting a fix but I wasn't sure if this is just me not using it properly :)
The text was updated successfully, but these errors were encountered:
Here's the traceback:
After looking at the code, the line that seems to create the wrong list size is
105
:I don't mind submitting a fix but I wasn't sure if this is just me not using it properly :)
The text was updated successfully, but these errors were encountered: