Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #5

Closed
joebywan opened this issue Apr 5, 2020 · 3 comments
Closed

IndexError: list index out of range #5

joebywan opened this issue Apr 5, 2020 · 3 comments

Comments

@joebywan
Copy link

joebywan commented Apr 5, 2020

Looking for old dir at ./stls/agentsmith99\GrotMeks-Trakta-Gun-Warehammer-40K Copying 0 unchanged files. Downloading 11 new files of 11 Downloading 13 images. Downloading license Downloading thing 9 - 3170298 [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] [0, 22, 2018] Looking for old dir at ./stls/agentsmith99\Grot-Hanomag-Warhammer-40K Traceback (most recent call last): File "D:\waste\thingygrabber\thingy_grabber.py", line 660, in <module> main() File "D:\waste\thingygrabber\thingy_grabber.py", line 648, in main Designs(user, args.directory, args.quick).download() File "D:\waste\thingygrabber\thingy_grabber.py", line 241, in download RC = Thing(thing).download(self.download_dir) File "D:\waste\thingygrabber\thingy_grabber.py", line 433, in download new_last_time = new_file_links[0].last_update IndexError: list index out of range

This was done using thingy_grabber.py -d .\stls\ user agentsmith99

That's not the only user I'm getting it on. Just incase you think it's an isolated case. AntomanElven\Lucius-Pattern-head-for-Mars-Warlord-Titanicus-scale is another. So far I've gotten it about 4 times today on different ones.

@cwoac
Copy link
Owner

cwoac commented Apr 6, 2020

interesting, so it thinks the model has been updated, but none of the files have newer timestamps. Possibly a readme change or something?

@joebywan
Copy link
Author

joebywan commented Apr 6, 2020 via email

@cwoac
Copy link
Owner

cwoac commented Apr 12, 2020

Turned out to be an actual bug rather than just another thingiverse edge case - parsing dates was broken for things where all the files were in October, after the 9th (would also have been wrong for some others, but wouldn't have failed).
Fixed by 1267e58

@cwoac cwoac closed this as completed Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants