gsemet / dopplerr

Subtitle Download Service
MIT License
16 stars 2 forks source link

TypeError: add_swagger() got an unexpected keyword argument 'title' #23

Closed KirovAir closed 6 years ago

KirovAir commented 6 years ago

Hello,

I get this error when creating a fresh docker image using the latest version. Full exception:

Traceback (most recent call last):
stdout
10:21:31
  File "/usr/bin/dopplerr", line 10, in <module>
stdout
10:21:31
    sys.exit(main())
stdout
10:21:31
  File "/usr/lib/python3.6/site-packages/dopplerr/main.py", line 105, in main
stdout
10:21:31
    listen()
stdout
10:21:31
  File "/usr/lib/python3.6/site-packages/dopplerr/routes.py", line 37, in listen
stdout
10:21:31
    base_path=None)
stdout
10:21:31
TypeError: add_swagger() got an unexpected keyword argument 'title'

After this error has been thrown dopplerr keeps rebooting itself. It might has something to do with the latest swagger changes in the WIP commit but are those already included in the docker image? I will try an older version for now. Thanks for creating this btw, exactly where I was searching for! 👍 Edit: 0.6.4 seems to be working without reboots.

Using a Synology 216+ii with 8GB of RAM.

gsemet commented 6 years ago

Hello. Yes, this is normal. I have made a patch on transmute sanic to add some extra info in the swagger file and it is still not integrated: https://github.com/yunstanford/sanic-transmute/pull/4/ so I cannot release 0.6.5 yet. I'll do it differently to not rely on this pull request I guess will never get integrated :(

gsemet commented 6 years ago

You can try latest HEAD

KirovAir commented 6 years ago

Thanks for the fast response!