Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Ucheck questionnaire URL looks to be different for other UofT students #2

Closed
stove-lab opened this issue Nov 22, 2021 · 3 comments
Closed

Comments

@stove-lab
Copy link

Just leaving a note in case people have the same issue. Was getting a chromedriver timeout error initially, but it stemmed from the ucheck questionnaire URL in the config.yaml file being different from mine.

@irahorecka
Copy link
Owner

Hey @stove-lab, thanks for the issue. It appears the oddly complicated URL consistently invokes the user login page (I didn't build any cookie recall logic into the library).
I received a connectionTimeout exception several days ago, but this was because of my spotty internet. I'll keep this open for now because the URL is still valid on my end. Also, which URL did you use? Just curious...

Please let me know if this issue persists.

@stove-lab
Copy link
Author

Hey there, the url for my questionnaire was https://ucheck.utoronto.ca/questionnaire?org=22f9f13e-e281-4688-9d95-324d4ae4e43b&pt=82ba63d7-6ec7-4b0b-9832-db5f3f6a30bc

I'm guessing it's probably student-specific. Another thing is os.environ gave me a KeyError but it worked fine when I used os.environ.get.

@irahorecka
Copy link
Owner

irahorecka commented Nov 25, 2021

Ok, I'll go ahead and leave the URL as-is.
Also, os.environ.get will return None if the key is unavailable (make sure you check for this!), which is why I chose to directly access the key.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants