Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APP SUBMITTED]: TypeError: __new__() got an unexpected keyword argument 'type' #10762

Closed
duramato opened this issue Jun 15, 2022 · 5 comments
Closed
Assignees

Comments

@duramato
Copy link
Contributor

INFO

Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
Operating System: Linux-4.19.0-19-amd64-x86_64-with-debian-10.11
Locale: UTF-8
Branch: develop
Database: 44.19
Commit: 27eacf5
Link to Log: https://gist.github.com/0d7f104cb7e617936a9cab0b7b9ef30d

ERROR

2022-06-15 02:13:04 ERROR    GENERICQUEUESCHEDULER-UPDATE-RECOMMENDED-TRAKT :: [27eacf5] Could not connect to Trakt service: __new__() got an unexpected keyword argument 'type'
Traceback (most recent call last):
  File "/**********/Medusa/medusa/show/recommendations/trakt.py", line 141, in fetch_popular_shows
    not_liked_show = trakt_user.get_list(app.TRAKT_BLACKLIST_NAME) or []
  File "/**********/Medusa/ext/trakt/users.py", line 456, in get_list
    return UserList.get(title, self.username)
  File "/**********/Medusa/ext/trakt/core.py", line 549, in inner
    return generator.send(json_data)
  File "/**********/Medusa/ext/trakt/users.py", line 111, in _get
    ulist = UserList(creator=creator, **data)
TypeError: __new__() got an unexpected keyword argument 'type'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@simonc56
Copy link
Contributor

The fix is :

@duramato
Copy link
Contributor Author

INFO

Python Version: 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0]
Operating System: Linux-4.19.0-19-amd64-x86_64-with-debian-10.11
Locale: UTF-8
Branch: develop
Database: 44.19
Commit: bcc04b7
Link to Log: https://gist.github.com/bafb124f09af9224344153fdd2d27c91

ERROR

2022-06-24 02:16:04 ERROR    GENERICQUEUESCHEDULER-UPDATE-RECOMMENDED-TRAKT :: [bcc04b7] Could not connect to Trakt service: __new__() got an unexpected keyword argument 'type'
Traceback (most recent call last):
  File "/**********/Medusa/medusa/show/recommendations/trakt.py", line 141, in fetch_popular_shows
    not_liked_show = trakt_user.get_list(app.TRAKT_BLACKLIST_NAME) or []
  File "/**********/Medusa/ext/trakt/users.py", line 456, in get_list
    return UserList.get(title, self.username)
  File "/**********/Medusa/ext/trakt/core.py", line 549, in inner
    return generator.send(json_data)
  File "/**********/Medusa/ext/trakt/users.py", line 111, in _get
    ulist = UserList(creator=creator, **data)
TypeError: __new__() got an unexpected keyword argument 'type'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@p0psicles
Copy link
Contributor

I'll include the updated package, as soon as it's released

@p0psicles p0psicles self-assigned this Jun 24, 2022
@simonc56
Copy link
Contributor

simonc56 commented Nov 4, 2022

The maintainer of the package is not responding :

I suggest to switch to this active fork :

@simonc56
Copy link
Contributor

fixed with #11173 in version 1.0.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants