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

Is this project active? #3

Open
jpolitz opened this issue Jan 27, 2017 · 0 comments
Open

Is this project active? #3

jpolitz opened this issue Jan 27, 2017 · 0 comments

Comments

@jpolitz
Copy link

jpolitz commented Jan 27, 2017

I just did a small test with this and got an error that I'm not sure how to interpret (I removed the ids in case they are sensitive information):

⤇ python -c 'import gradesourceuploader; gradesourceuploader.updateScoresByEmail("jpolitz", "<course-id>", "<assignment-id>", "grades.csv", "0")'
Password:
Logging in....
Selecting course <course-id>
Generating list of students
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "gradesourceuploader.py", line 27, in updateScoresByEmail
    gradesource = GradesourceSession(login, getpass('Password: '), courseID)
  File "gradesourcesession.py", line 37, in __init__
    self.email()
  File "gradesourcesession.py", line 169, in email
    tbody = nomnomsoup('td', text=re.compile("Secret*"))[0].parent.parent.parent.parent
IndexError: list index out of range

I'm fairly certain grades.csv is in the right format, it looks like (I just mangled the stuff before the @):

Can you advise if I should expect this to still work with GradeSource as-is in 2017, and I'm doing something wrong?

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

1 participant