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

Couldn't get to participant URL #43

Closed
McSquid opened this issue Nov 7, 2019 · 6 comments
Closed

Couldn't get to participant URL #43

McSquid opened this issue Nov 7, 2019 · 6 comments
Assignees
Labels

Comments

@McSquid
Copy link

McSquid commented Nov 7, 2019

Extra Life Participant ID and/or Team ID
This will help me figure out if I've fixed your issue.
349598

GUI and/or Console
Does the bug only happen on the GUI? Console? both?
Only GUI tested

Describe the bug
When clicking run, Nothing happens, and console shows "Couldn't get to participant URL."

Error Output
What, if anything, was output to the console when the error happened?
"
run button
Starting Thread-1
Couldn't get to participant URL
Check ExtraLifeID.
Or server may be unavailable.
Exception in thread Thread-1:
File "Threading.py", line 926, in _bootstrap_inner
File "gui.py", line 111, in run
File "extralifedonations.py", line 168, in run
File "extralifedonations.py", line 82, in get_participant_JSON
AttributeError: 'Participant' object has no attribute 'participantJSON'

To Reproduce
Steps to reproduce the behavior:

  1. Extract Extra.Life.Donation.Tracker.for.Windows.v2.2.1.zip
  2. Run gui.exe
  3. Click settings, enter EL ID, clear team id
  4. Click save
  5. Click run
  6. Observe error in console

Expected behavior
Gui to populate with EL information and data

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • OS Version [e.g. 22]
  • Extra Life Donation Tracker Version
  • Python Version 3.8

Additional context
Add any other context about the problem here.

@McSquid
Copy link
Author

McSquid commented Nov 7, 2019

I tried a fresh install and did not change the default values (EL and team IDS) and got the same issue.
I have also verified that nothing is being blocked by a firewall or antivirus.
I also tried the 2.2 release and got the same issue.

@djotaku
Copy link
Owner

djotaku commented Nov 7, 2019

OK I'll take a look later today

@djotaku
Copy link
Owner

djotaku commented Nov 7, 2019

Apparently my program isn't the only one affected - Python apps are currently getting 403s

@djotaku
Copy link
Owner

djotaku commented Nov 7, 2019

Working with the guys who run the API to see what's up

@McSquid
Copy link
Author

McSquid commented Nov 7, 2019

Huh... Glad to see it wasn't just me being stupid. Thanks!

djotaku added a commit that referenced this issue Nov 9, 2019
Adding headers to urlopen requests - fixes issue #43
@djotaku
Copy link
Owner

djotaku commented Nov 9, 2019

Fixed with #44 - go ahead and grab the v2.2.2 release and it should work now. Tested with my participantID and teamID and it worked on Windows and Linux.

@djotaku djotaku closed this as completed Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants