Error when trying to archive

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

OSError: [Errno 22] Invalid argument: 'lgbt.io.client.secret'

here is the full output of the command "mastodon-archive archive 678LISA@lgbt.io"

C:\>mastodon-archive archive 678LISA@lgbt.io
Registering app
Traceback (most recent call last):
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\runpy.py", 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\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\gay\AppData\Local\Programs\Python\Python38-32\Scripts\mastodon-archive.exe\__main__.py", line 7, in <module>
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\__init__.py", line 293, in main
    args.command(args)
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\archive.py", line 52, in archive
    mastodon = core.login(args)
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\core.py", line 81, in login
    return app.login(pace)
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\core.py", line 183, in login
    self.register()
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon_archive\core.py", line 104, in register
    Mastodon.create_app(
  File "c:\users\gay\appdata\local\programs\python\python38-32\lib\site-packages\mastodon\Mastodon.py", line 271, in create_app
    with open(to_file, 'w') as secret_file:
OSError: [Errno 22] Invalid argument: 'lgbt.io.client.secret'

Tags: Closed

Comments

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.