You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2025. It is now read-only.
It seems that Python3.8 does like dictionaries under his chair in utils.py (was working fine with Python3.7 before upgrade ubuntu):
Traceback (most recent call last):
File "./main.py", line 52, in <module>
main()
File "./main.py", line 34, in main
at, ats = service.get_access_token(rt, rts, params={'oauth_verifier': verifier})
File "/home/tetractius/PycharmProjects/SmugmugPyAuth/venv/lib/python3.8/site-packages/rauth/service.py", line 332, in get_access_token
process_token_request(r, decoder, key_token, key_token_secret)
File "/home/tetractius/PycharmProjects/SmugmugPyAuth/venv/lib/python3.8/site-packages/rauth/service.py", line 20, in process_token_request
data = decoder(r.content)
File "/home/tetractius/PycharmProjects/SmugmugPyAuth/venv/lib/python3.8/site-packages/rauth/utils.py", line 26, in parse_utf8_qsl
for k, v in d.items(): # pragma: no cover
RuntimeError: dictionary keys changed during iteration
I just tried to create a copy of the dictionary d for iteration-only purposes, and that seems to be enough.