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

KeyError: 'activities' #24

Open
e-sacchi opened this issue Feb 14, 2025 · 4 comments
Open

KeyError: 'activities' #24

e-sacchi opened this issue Feb 14, 2025 · 4 comments

Comments

@e-sacchi
Copy link

Running with the token, I get this error message:

[+] Starting NRC Exporter
[+] πŸƒβ€β™€οΈ  Getting activities list
[+] πŸ“ƒ  opening page 1 of activities
Traceback (most recent call last):
  File "/Users/.../bin/nrc-exporter", line 8, in <module>
    sys.exit(main())
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 611, in main
    activity_ids = get_activities_list(options)
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 305, in get_activities_list
    for activity in activity_list.json()["activities"]:
KeyError: 'activities'

Any ideas?
Thanks!

@yihong0618
Copy link
Collaborator

Running with the token, I get this error message:

[+] Starting NRC Exporter
[+] πŸƒβ€β™€οΈ  Getting activities list
[+] πŸ“ƒ  opening page 1 of activities
Traceback (most recent call last):
  File "/Users/.../bin/nrc-exporter", line 8, in <module>
    sys.exit(main())
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 611, in main
    activity_ids = get_activities_list(options)
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 305, in get_activities_list
    for activity in activity_list.json()["activities"]:
KeyError: 'activities'

Any ideas?
Thanks!

nrc update the api
can you try https://github.com/yihong0618/running_page to check if it works
if not I will try to update this week

1 similar comment
@yihong0618
Copy link
Collaborator

Running with the token, I get this error message:

[+] Starting NRC Exporter
[+] πŸƒβ€β™€οΈ  Getting activities list
[+] πŸ“ƒ  opening page 1 of activities
Traceback (most recent call last):
  File "/Users/.../bin/nrc-exporter", line 8, in <module>
    sys.exit(main())
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 611, in main
    activity_ids = get_activities_list(options)
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 305, in get_activities_list
    for activity in activity_list.json()["activities"]:
KeyError: 'activities'

Any ideas?
Thanks!

nrc update the api
can you try https://github.com/yihong0618/running_page to check if it works
if not I will try to update this week

@qing762
Copy link

qing762 commented Feb 26, 2025

Running with the token, I get this error message:

[+] Starting NRC Exporter
[+] πŸƒβ€β™€οΈ  Getting activities list
[+] πŸ“ƒ  opening page 1 of activities
Traceback (most recent call last):
  File "/Users/.../bin/nrc-exporter", line 8, in <module>
    sys.exit(main())
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 611, in main
    activity_ids = get_activities_list(options)
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 305, in get_activities_list
    for activity in activity_list.json()["activities"]:
KeyError: 'activities'

Any ideas?
Thanks!

nrc update the api can you try yihong0618/running_page to check if it works if not I will try to update this week

Can confirm to be working.

@yihong0618
Copy link
Collaborator

Running with the token, I get this error message:

[+] Starting NRC Exporter
[+] πŸƒβ€β™€οΈ  Getting activities list
[+] πŸ“ƒ  opening page 1 of activities
Traceback (most recent call last):
  File "/Users/.../bin/nrc-exporter", line 8, in <module>
    sys.exit(main())
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 611, in main
    activity_ids = get_activities_list(options)
  File "/Users/.../lib/python3.6/site-packages/nrc_exporter.py", line 305, in get_activities_list
    for activity in activity_list.json()["activities"]:
KeyError: 'activities'

Any ideas?
Thanks!

nrc update the api can you try yihong0618/running_page to check if it works if not I will try to update this week

Can confirm to be working.

thanks

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

3 participants