buckket / twtxt

Decentralised, minimalist microblogging service for hackers.
http://twtxt.readthedocs.org/en/stable/
MIT License
1.94k stars 79 forks source link

Missing argument in cache when using `twtxt unfollow` #141

Closed MineRobber9000 closed 2 years ago

MineRobber9000 commented 6 years ago
Traceback (most recent call last):
  File "/usr/local/bin/twtxt", line 11, in <module>
    sys.exit(main())
  File "/home/khuxkm/.local/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/khuxkm/.local/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/khuxkm/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/khuxkm/.local/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/khuxkm/.local/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/khuxkm/.local/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/twtxt/cli.py", line 261, in unfollow
    with Cache.discover() as cache:
  File "/usr/local/lib/python3.6/dist-packages/twtxt/cache.py", line 57, in discover
    return cls.from_file(file, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/twtxt/cache.py", line 48, in from_file
    return cls(file, cache, *args, **kwargs)
TypeError: __init__() missing 1 required positional argument: 'update_interval'