Got this error after providing client_idclient_secretpath
Traceback (most recent call last):
File "/usr/local/bin/itf", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/imgurtofolder/__main__.py", line 142, in main
config = fetch_configuration(args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/imgurtofolder/__main__.py", line 218, in fetch_configuration
config = Configuration(
^^^^^^^^^^^^^^
TypeError: Configuration.__init__() missing 2 required positional arguments: 'access_token' and 'refresh_token'
I tried it on macOS (with python 3.11.7 and pip 23.3.2)
Besides also tried it on Colab (with python 3.10.12 and pip 23.1.2) and got the exact same error
main.txt
try to substitute this file with original main.py in the location given in your error.
and remember to save it as .py
also you can remove anything that is commented within the file.
Got this error after providing
client_id
client_secret
path
I tried it on macOS (with python 3.11.7 and pip 23.3.2) Besides also tried it on Colab (with python 3.10.12 and pip 23.1.2) and got the exact same error