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: getSeasonSceneExceptions() takes exactly 3 arguments (1 given) #4757

Closed
poplolnman opened this issue Jul 26, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@poplolnman
Copy link

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.17134
Locale: cp1252
Branch: master
Database: 44.11
Commit: e7c4ff3
Link to Log: No Log available

ERROR

2018-07-26 03:00:09 ERROR    Thread_8 :: [e7c4ff3] Exception generated: getSeasonSceneExceptions() takes exactly 3 arguments (1 given)
Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\server\web\core\base.py", line 283, in async_call
    result = function(**kwargs)
TypeError: getSeasonSceneExceptions() takes exactly 3 arguments (1 given)

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@OmgImAlexis OmgImAlexis added the triage Untriaged issue label Jul 26, 2018
@sharkykh
Copy link
Contributor

This is the only code that uses that endpoint:

$.getJSON('home/getSeasonSceneExceptions', {
indexername: $('#indexer-name').val(),
seriesid: $('#series-id').val() // eslint-disable-line camelcase
}, data => {
setSeasonSceneException(data);
});

So looks like it got undefined values from the selectors, so it didn't sent the parameters.
(The elements exist, if they didn't it would have thrown an error each time you loaded displayShow)
I'm going to assume #4751 fixed it.

@sharkykh sharkykh added Bug and removed triage Untriaged issue labels Jul 26, 2018
@sharkykh sharkykh added this to the 0.2.7 milestone Jul 26, 2018
@poplolnman
Copy link
Author

INFO

Python Version: 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)]
Operating System: Windows-10-10.0.17134
Locale: cp1252
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/f31a5569609605580ff1a0f9f3a657ec

ERROR

2018-08-25 03:42:42 ERROR    Thread_17 :: [f5973b2] Exception generated: getSeasonSceneExceptions() takes exactly 3 arguments (1 given)
Traceback (most recent call last):
  File "C:\Users\Mat\Videos\Captures\Medusa-develop\medusa\server\web\core\base.py", line 259, in async_call
    result = function(**kwargs)
TypeError: getSeasonSceneExceptions() takes exactly 3 arguments (1 given)

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@medariox medariox reopened this Aug 25, 2018
@sharkykh sharkykh modified the milestones: 0.2.7, 0.2.9 Aug 26, 2018
medariox pushed a commit that referenced this issue Aug 26, 2018
* Fix: displayShow / getSeasonSceneExceptions

* Update CHANGELOG.md
@medariox
Copy link
Contributor

Fixed with #4964

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

No branches or pull requests

4 participants