Closed vrooms-leucine0i closed 4 months ago
Also when I try "$ python export_trakt.py" I get this:
Options: Namespace(config='config.ini', output=None, format='imdb', type='movies', list='history', userlist=None, listid=None, clean=False, dup=False, sortorder='desc', verbose=True)
Config file: config.ini
Warning, no access token found. Authentification is required
Warning, no refresh token found. Authentification is required
Config: <configparser.ConfigParser object at 0x000001312648ECB0>
Trakt, no token found in config file, requesting authorization_code
Manual authentification. Open the link in a browser and paste the pincode when prompted
https://trakt.tv/oauth/authorize?response_type=code&client_id=(CLIENT ID HERE)&redirect_uri=urn:ietf:wg:oauth:2.0:oob
Input PIN: (PIN HERE)
Traceback (most recent call last):
File "C:\Users\K\Downloads\letterboxd-06_force_damage-2024-05-13-02-54-utc\trakt-master\export_trakt.py", line 605, in <module>
main()
File "C:\Users\K\Downloads\letterboxd-06_force_damage-2024-05-13-02-54-utc\trakt-master\export_trakt.py", line 400, in main
api_auth(options, config, False)
File "C:\Users\K\Downloads\letterboxd-06_force_damage-2024-05-13-02-54-utc\trakt-master\export_trakt.py", line 173, in api_auth
pincode = str(input('Input PIN:'))
File "C:\Users\K\AppData\Local\Programs\Python\Python310\lib\encodings\cp1252.py", line 22, in decode
def decode(self, input, final=False):
KeyboardInterrupt
Not quite sure what you mean. what is the issue?
KeyboardInterrupt
is you.
When I type vim config.ini, I get the error on the top part, where it doesn't give me an access token or reset token. It just sits there.
And when I type python export_trakt.py It says there's no access or refresh token found.
I'm not sure why it's saying keyboard interrupt because I'm not typing anything other than the above commands and hitting enter
Sorry I'm very dumb when it comes to computers. I'm just trying to export my 2200 entry Letterboxd diary into Trakt, without having to do it manually
Please follow the usage documentation. You don't have to use vim, you can use any text editor. then follow the instruction, you need to input the validation code from Trakt. https://github.com/xbgmsharp/trakt?tab=readme-ov-file#usage
So I've done that, I've entered in the client ID and Client secret, then I get to the step where it says to type "$ vim config.ini" Which when I do, gives me the output referenced here - https://github.com/xbgmsharp/trakt/issues/62#issue-2292980248
and does not give me any tokens or anything. I've put in the code I get from trakt as well and it doesn't do anything
I'm not sure why this was closed, the issue is still happening
I type in "vim config.ini" and get this: