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

Most Recent Call Last #5

Open
ColbyC opened this issue Nov 19, 2016 · 2 comments
Open

Most Recent Call Last #5

ColbyC opened this issue Nov 19, 2016 · 2 comments

Comments

@ColbyC
Copy link

ColbyC commented Nov 19, 2016


root@debian:/home/python/Desktop# python craiglister.py
Traceback (most recent call last):
  File "craiglister.py", line 219, in <module>
    if (hasItBeenXDaysSinceFolderListed(dayListedFolder,3) == False):
  File "craiglister.py", line 188, in hasItBeenXDaysSinceFolderListed
    folderDate = datetime.date(int(dateSplit[2]) + 2000, int(dateSplit[0]), int(dateSplit[1]))
IndexError: list index out of range
@ColbyC
Copy link
Author

ColbyC commented Nov 19, 2016

I have received this error while testing code?

@derek-baker
Copy link

derek-baker commented Nov 21, 2016

Looks like an 'off-by-one' error' that resulted from trying to access an element in an array that doesn't exist(the element doesn't exist). The script mostly worked for me last time I used it a couple of months ago. I DID have to modify my Gmail settings a bit though.

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