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]: ValueError: need more than 1 value to unpack #4776

Closed
udochrist opened this issue Jul 28, 2018 · 16 comments
Closed

[APP SUBMITTED]: ValueError: need more than 1 value to unpack #4776

udochrist opened this issue Jul 28, 2018 · 16 comments

Comments

@udochrist
Copy link

INFO

Python Version: 2.7.14 (default, May 28 2018, 14:47:18) [GCC 4.7.3 20130102 (prerelease)]
Operating System: Linux-3.10.105-x86_64-with-glibc2.2.5
Locale: None
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/3df7613ad0568cc12f9fdcb7573afe31

ERROR

2018-07-28 02:02:50 ERROR    Thread_12 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@medariox medariox added the Bug label Jul 28, 2018
@Xenocell12
Copy link

INFO

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

ERROR

2018-07-27 22:16:42 ERROR    Thread_1 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "C:\Users\uTorrentVM\Medusa\medusa\server\web\core\base.py", line 259, in async_call
    result = function(**kwargs)
  File "C:\Users\uTorrentVM\Medusa\medusa\server\web\manage\handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "C:\Users\uTorrentVM\Medusa\medusa\server\web\home\handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@sharkykh
Copy link
Contributor

In the meantime you can use the per-show status/quality setter. The episode status managment page seems to be broken.

@medariox
Copy link
Contributor

Fixed in develop with: #4783

@benfishbus
Copy link

INFO

Python Version: 2.7.13 (default, Apr 11 2017, 16:05:39) [GCC 4.8.4]
Operating System: Linux-4.2.8-x86_64-with-glibc2.2.5
Locale: UTF-8
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/a3af3176eaa4bf965c23b59e449c2549

ERROR

2018-07-28 14:13:01 ERROR    Thread_0 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Sarcas666
Copy link

INFO

Python Version: 2.7.10 (default, Oct 6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]
Operating System: Darwin-17.7.0-x86_64-i386-64bit
Locale: None
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/21b6139152413f57468553cf550b036d

ERROR

2018-08-03 20:31:39 ERROR    Thread_1 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/Applications/Medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/Applications/Medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/Applications/Medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@bassings
Copy link

INFO

Python Version: 2.7.5 (default, Jul 13 2018, 13:06:57) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]
Operating System: Linux-3.10.0-862.11.6.el7.x86_64-x86_64-with-centos-7.5.1804-Core
Locale: UTF-8
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/cbfb4740727d96f19cf8bfe8c24a835e

ERROR

2018-08-21 10:26:51 ERROR    Thread_13 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/var/lib/**********mediaserver/medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/var/lib/**********mediaserver/medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/var/lib/**********mediaserver/medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@plexxman
Copy link

INFO

Python Version: 2.7.14 (default, Dec 14 2017, 15:51:29) [GCC 6.4.0]
Operating System: Linux-4.15.0-33-generic-x86_64-with
Locale: None
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/a55f27c18c43f834b0c5862c164a3e90

ERROR

2018-08-30 16:24:04 ERROR    Thread_0 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/app/medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/app/medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/app/medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ozhound
Copy link

ozhound commented Sep 1, 2018

INFO

Python Version: 2.7.15 (default, Aug 16 2018, 14:17:09) [GCC 6.4.0]
Operating System: Linux-3.10.102-x86_64-with
Locale: None
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/2a43d44c01723891f86ddbe6eb45cb3c

ERROR

2018-09-01 19:52:04 ERROR    Thread_5 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/app/medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/app/medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/app/medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@blakadder
Copy link

INFO

Python Version: 2.7.14 (default, Jan 10 2018, 14:55:03) [GCC 6.3.0]
Operating System: Linux-2.6.31.8-armv5tel-with-glibc2.4
Locale: ISO8859-1
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/afe6a5e22bfb9a1e6553cc033bbbeb09

ERROR

2018-09-03 09:15:59 ERROR    Thread_4 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/usr/local/zy-pkgs/opt/Medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/usr/local/zy-pkgs/opt/Medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/usr/local/zy-pkgs/opt/Medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@mdimura
Copy link

mdimura commented Sep 6, 2018

INFO

Python Version: 2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516]
Operating System: Linux-4.9.0-8-amd64-x86_64-with-debian-9.5
Locale: UTF-8
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/f74dca5a82ec13a0a5bea899146fdb5c

ERROR

2018-09-06 19:07:46 ERROR    Thread_8 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/opt/yunohost/medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/opt/yunohost/medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/opt/yunohost/medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@mdimura
Copy link

mdimura commented Sep 6, 2018

INFO

Python Version: 2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516]
Operating System: Linux-4.9.0-8-amd64-x86_64-with-debian-9.5
Locale: UTF-8
Branch: master
Database: 44.11
Commit: f5973b2
Link to Log: https://gist.github.com/34278c5b3f646ee0ad6e47461ecc62b6

ERROR

2018-09-06 19:10:19 ERROR    Thread_8 :: [f5973b2] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/opt/yunohost/medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/opt/yunohost/medusa/medusa/server/web/manage/handler.py", line 176, in changeEpisodeStatuses
    self.setStatus(indexer_id_to_name(int(cur_indexer_id)), cur_series_id, '|'.join(to_change[(cur_indexer_id, cur_series_id)]), newStatus, direct=True)
  File "/opt/yunohost/medusa/medusa/server/web/home/handler.py", line 1928, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@sharkykh
Copy link
Contributor

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-7-6.1.7601-SP1
Locale: cp1255
Branch: develop
Database: 44.12
Commit: fd35974
Link to Log: No Log available

ERROR

2018-09-25 19:05:04 ERROR    Thread_13 :: [fd35974] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "C:\Medusa\medusa\server\web\core\base.py", line 258, in async_call
    result = function(**kwargs)
  File "C:\Medusa\medusa\server\web\manage\handler.py", line 307, in downloadSubtitleMissed
    season, episode = epResult.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

sharkykh added a commit that referenced this issue Oct 7, 2018
OmgImAlexis pushed a commit that referenced this issue Oct 7, 2018
…path (#5356)

* Fix popularShows path on router

* Fix state-switch using incorrect spinner

* Fix missed subtitle download

Fixes #4776 (comment)

* Update changelog
@blakadder
Copy link

INFO

Python Version: 2.7.15+ (default, Aug 31 2018, 11:56:52) [GCC 8.2.0]
Operating System: Linux-4.18.4-kirkwood-tld-1-armv5tel-with-debian-9.5
Locale: None
Branch: master
Database: 44.12
Commit: 4614efc
Link to Log: https://gist.github.com/bd050107e3cf6a22d9e31ff4cd176bde

ERROR

2018-10-16 12:32:57 ERROR    Thread_3 :: [4614efc] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/opt/medusa/medusa/server/web/core/base.py", line 259, in async_call
    result = function(**kwargs)
  File "/opt/medusa/medusa/server/web/home/handler.py", line 1907, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@buzolich
Copy link

INFO

Python Version: 2.7.15 (default, Aug 16 2018, 14:17:09) [GCC 6.4.0]
Operating System: Linux-4.14.49-unRAID-x86_64-with
Locale: None
Branch: master
Database: 44.12
Commit: 0c0a735
Link to Log: https://gist.github.com/c6e89bdad230759dc389f09ff44bef95

ERROR

2018-11-14 08:10:12 ERROR    Thread_1 :: [77b2091] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/app/medusa/medusa/server/web/core/base.py", line 258, in async_call
    result = function(**kwargs)
  File "/app/medusa/medusa/server/web/home/handler.py", line 1897, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Rwanou88
Copy link

INFO

Python Version: 2.7.14 (default, May 28 2018, 14:47:18) [GCC 4.7.3 20130102 (prerelease)]
Operating System: Linux-4.4.59+-x86_64-with-glibc2.2.5
Locale: None
Branch: master
Database: 44.12
Commit: 54da0c7
Link to Log: https://gist.github.com/099cb4f8ee72c61c34d1a5b726aaad7d

ERROR

2018-12-12 14:50:45 ERROR    Thread_4 :: [54da0c7] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/server/web/core/base.py", line 258, in async_call
    result = function(**kwargs)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/server/web/home/handler.py", line 1883, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@pax0707
Copy link

pax0707 commented Jan 20, 2019

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.17763
Locale: cp1252
Branch: master
Database: 44.12
Commit: 918cfe7
Link to Log: https://gist.github.com/c35c4385e54508c0e1333ae58b6a48c5

ERROR

2019-01-21 00:32:18 ERROR    Thread_3 :: [918cfe7] Exception generated: need more than 1 value to unpack
Traceback (most recent call last):
  File "D:\Plex\Medusa\medusa\server\web\core\base.py", line 258, in async_call
    result = function(**kwargs)
  File "D:\Plex\Medusa\medusa\server\web\home\handler.py", line 1883, in setStatus
    season_no, episode_no = cur_ep.lstrip('s').split('e')
ValueError: need more than 1 value to unpack

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

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

No branches or pull requests