Error when trying to archive

i tried to archive my toots but i keep getting this error

OSError: [Errno 22] Invalid argument: ''

here is the full output of the command "mastodon-archive archive"

C:\>mastodon-archive archive
Registering app
Traceback (most recent call last):
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\gay\AppData\Local\Programs\Python\Python38-32\Scripts\mastodon-archive.exe\", line 7, in <module>
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\", line 293, in main
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\", line 52, in archive
    mastodon = core.login(args)
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\", line 81, in login
    return app.login(pace)
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\", line 183, in login
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\", line 104, in register
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon\", line 271, in create_app
    with open(to_file, 'w') as secret_file:
OSError: [Errno 22] Invalid argument: ''

Tags: Closed


ok nvm apparently this error happens when you try to output the file to c: directly

– PearloLesbo 2020-02-02 16:02 UTC

How strange!

– Alex Schroeder 2020-02-03 19:13 UTC

This wiki uses a variant of Markdown.

To save this page you must answer this question:

Please write "new issue" into the field below.