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: int() argument must be a string or a number, not 'NoneType' #3451

Closed
Sylanorr opened this issue Dec 11, 2017 · 78 comments · Fixed by #5163
Closed
Milestone

Comments

@Sylanorr
Copy link

Sylanorr commented Dec 11, 2017

INFO

Python Version: 2.7.9 (default, Aug 13 2016, 17:56:53) [GCC 4.9.2]
Operating System: Linux-4.9.29-10-osmc-armv7l-with-debian-8.9
Locale: None
Branch: master
Database: 44.8
Commit: 1a8dc66
Link to Log: https://gist.github.com/965957a628ee04b1d9c8ae8564ad3daf

ERROR

2017-12-11 21:30:50 ERROR    Thread-19 :: [1a8dc66] Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/home/**********/medusa/medusa/server/web/core/base.py", line 263, in async_call
    result = function(**kwargs)
  File "/home/**********/medusa/medusa/server/web/home/post_process.py", line 50, in processEpisode
    ignore_subs=argToBool(ignore_subs)
  File "/home/**********/medusa/medusa/process_tv.py", line 146, in process
    ignore_subs=ignore_subs)
  File "/home/**********/medusa/medusa/process_tv.py", line 335, in process_files
    self.process_media(path, self.video_files, force, is_priority, ignore_subs)
  File "/home/**********/medusa/medusa/process_tv.py", line 536, in process_media
    self.result = processor.process()
  File "/home/**********/medusa/medusa/post_processor.py", line 1068, in process
    if int(ep_obj.season) > int(max_season[0][0]):
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@medariox
Copy link
Contributor

Something is wrong with the database entry of the show you are trying to process. Try to force update that show.

@Sylanorr
Copy link
Author

It works after the force update. Thanks a lot !

@ripper1967
Copy link

INFO

Python Version: 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609]
Operating System: Linux-4.13.0-26-generic-x86_64-with-LinuxMint-18.3-sylvia
Locale: UTF-8
Branch: develop
Database: 44.9
Commit: 52a9463
Link to Log: https://gist.github.com/92f519661696852e42669455b0298e5b

ERROR

2018-01-18 07:34:12 ERROR    SHOWQUEUE-REFRESH :: [52a9463] 21656: Error while refreshing show Dynasty. Error: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/opt/Medusa/medusa/show_queue.py", line 628, in run
    self.show.refresh_dir()
  File "/opt/Medusa/medusa/tv/series.py", line 1749, in refresh_dir
    self.load_episodes_from_dir()
  File "/opt/Medusa/medusa/tv/series.py", line 927, in load_episodes_from_dir
    cur_episode = self.make_ep_from_file(os.path.join(self.location, media_file))
  File "/opt/Medusa/medusa/tv/series.py", line 1277, in make_ep_from_file
    'normal', 'anime')[self.is_anime]).parse(filepath)
  File "/opt/Medusa/medusa/name_parser/parser.py", line 293, in parse
    result = self._parse_string(name)
  File "/opt/Medusa/medusa/name_parser/parser.py", line 64, in _parse_string
    search_series = helpers.get_show(result.series_name, self.try_indexers) if not self.naming_pattern else None
  File "/opt/Medusa/medusa/helpers/__init__.py", line 1032, in get_show
    series_from_name = scene_exceptions.get_scene_exceptions_by_name(series_name)[0]
  File "/opt/Medusa/medusa/scene_exceptions.py", line 142, in get_scene_exceptions_by_name
    indexer = int(exception[b'indexer'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@medariox medariox reopened this Jan 18, 2018
@ripper1967
Copy link

INFO

Python Version: 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609]
Operating System: Linux-4.13.0-26-generic-x86_64-with-LinuxMint-18.3-sylvia
Locale: UTF-8
Branch: develop
Database: 44.9
Commit: 52a9463
Link to Log: https://gist.github.com/56a843a91d0998eb0f1130680e83b4ad

ERROR

2018-01-18 07:39:02 ERROR    SHOWQUEUE-REFRESH :: [52a9463] 337907: Error while refreshing show 9-1-1. Error: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/opt/Medusa/medusa/show_queue.py", line 628, in run
    self.show.refresh_dir()
  File "/opt/Medusa/medusa/tv/series.py", line 1749, in refresh_dir
    self.load_episodes_from_dir()
  File "/opt/Medusa/medusa/tv/series.py", line 927, in load_episodes_from_dir
    cur_episode = self.make_ep_from_file(os.path.join(self.location, media_file))
  File "/opt/Medusa/medusa/tv/series.py", line 1277, in make_ep_from_file
    'normal', 'anime')[self.is_anime]).parse(filepath)
  File "/opt/Medusa/medusa/name_parser/parser.py", line 293, in parse
    result = self._parse_string(name)
  File "/opt/Medusa/medusa/name_parser/parser.py", line 64, in _parse_string
    search_series = helpers.get_show(result.series_name, self.try_indexers) if not self.naming_pattern else None
  File "/opt/Medusa/medusa/helpers/__init__.py", line 1032, in get_show
    series_from_name = scene_exceptions.get_scene_exceptions_by_name(series_name)[0]
  File "/opt/Medusa/medusa/scene_exceptions.py", line 142, in get_scene_exceptions_by_name
    indexer = int(exception[b'indexer'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@medariox
Copy link
Contributor

Pretty sure this is fixed, please ping if not.

@ripper1967
Copy link

INFO

Python Version: 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
Operating System: Linux-4.15.0-32-generic-x86_64-with-LinuxMint-18.3-sylvia
Locale: UTF-8
Branch: develop
Database: 44.12
Commit: 3965eb1
Link to Log: https://gist.github.com/1b699062ba26834feb1729c8fd590b1a

ERROR

2018-08-22 22:46:15 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [3965eb1] DailySearchQueueItem Exception, error: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/opt/Medusa/medusa/search/queue.py", line 263, in run
    found_results = search_for_needed_episodes(force=self.force)
  File "/opt/Medusa/medusa/search/core.py", line 509, in search_for_needed_episodes
    episodes.extend(wanted_episodes(cur_show, from_date))
  File "/opt/Medusa/medusa/search/core.py", line 479, in wanted_episodes
    ep_obj = series_obj.get_episode(episode[b'season'], episode[b'episode'])
  File "/opt/Medusa/medusa/tv/series.py", line 795, in get_episode
    ep = Episode(self, season, episode)
  File "/opt/Medusa/medusa/tv/episode.py", line 270, in __init__
    self._specify_episode(self.season, self.episode)
  File "/opt/Medusa/medusa/tv/episode.py", line 554, in _specify_episode
    sql_results = self.load_from_db(season, episode)
  File "/opt/Medusa/medusa/tv/episode.py", line 635, in load_from_db
    self.watched = int(sql_results[0][b'watched'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@sharkykh sharkykh reopened this Aug 23, 2018
@scott451
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/8e3bbcb5a5a856c28560c0480df67312

ERROR

2018-08-23 19:25:31 ERROR    POSTPROCESSOR :: [f5973b2] Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/scheduler.py", line 93, in run
    self.action.run(self.force)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/auto_post_processor.py", line 58, in run
    process_tv.ProcessResult(app.TV_DOWNLOAD_DIR, app.PROCESS_METHOD).process(force=force)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/process_tv.py", line 145, in process
    ignore_subs=ignore_subs)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/process_tv.py", line 333, in process_files
    self.process_media(path, self.video_files, force, is_priority, ignore_subs)
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/process_tv.py", line 554, in process_media
    self.result = processor.process()
  File "/volume1/@appstore/sickbeard-custom/var/SickBeard/medusa/post_processor.py", line 1106, in process
    if int(ep_obj.season) > int(max_season[0][0]):
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@PlaceboPRS
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.12
Commit: f5973b2
Link to Log: https://gist.github.com/51636d6471263e0be5825eeb87269984

ERROR

2018-08-30 03:59:35 ERROR    BACKLOG :: [f5973b2] Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\scheduler.py", line 93, in run
    self.action.run(self.force)
  File "C:\Medusa\Medusa\medusa\search\backlog.py", line 215, in run
    self.search_backlog()
  File "C:\Medusa\Medusa\medusa\search\backlog.py", line 110, in search_backlog
    segments = self._get_segments(series_obj, from_date)
  File "C:\Medusa\Medusa\medusa\search\backlog.py", line 185, in _get_segments
    ep_obj = series_obj.get_episode(episode[b'season'], episode[b'episode'])
  File "C:\Medusa\Medusa\medusa\tv\series.py", line 795, in get_episode
    ep = Episode(self, season, episode)
  File "C:\Medusa\Medusa\medusa\tv\episode.py", line 270, in __init__
    self._specify_episode(self.season, self.episode)
  File "C:\Medusa\Medusa\medusa\tv\episode.py", line 554, in _specify_episode
    sql_results = self.load_from_db(season, episode)
  File "C:\Medusa\Medusa\medusa\tv\episode.py", line 635, in load_from_db
    self.watched = int(sql_results[0][b'watched'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@PlaceboPRS
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.12
Commit: db3d9d7
Link to Log: No Log available

ERROR

2018-09-07 12:46:50 ERROR    DAILYSEARCHER :: [db3d9d7] Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\scheduler.py", line 93, in run
    self.action.run(self.force)
  File "C:\Medusa\Medusa\medusa\search\daily.py", line 97, in run
    cur_ep = series_obj.get_episode(db_episode[b'season'], db_episode[b'episode'])
  File "C:\Medusa\Medusa\medusa\tv\series.py", line 796, in get_episode
    ep = Episode(self, season, episode)
  File "C:\Medusa\Medusa\medusa\tv\episode.py", line 270, in __init__
    self._specify_episode(self.season, self.episode)
  File "C:\Medusa\Medusa\medusa\tv\episode.py", line 554, in _specify_episode
    sql_results = self.load_from_db(season, episode)
  File "C:\Medusa\Medusa\medusa\tv\episode.py", line 635, in load_from_db
    self.watched = int(sql_results[0][b'watched'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@sharkykh
Copy link
Contributor

sharkykh commented Sep 7, 2018

@PlaceboPRS
Did you change to develop branch and then back to master at some point since version 0.2.8?

@PlaceboPRS
Copy link

I did yeah because whilst one problem was fixed with develop (the unknown folder issue) it introduced a new more critical problem whereby certain TV shows simply wouldn't load. Is there a way to remedy my fubar please? Thanks in advance :)

@sharkykh
Copy link
Contributor

sharkykh commented Sep 7, 2018

@PlaceboPRS
Open cmd

cd "C:\Medusa\Data"
C:\Medusa\Python\python.exe -c "import sqlite3; db = sqlite3.connect('main.db'); db.cursor().execute('UPDATE tv_episodes SET watched = 0 WHERE watched IS NULL;'); db.commit(); db.close()"

Should fix it.
The "minified" script is:

import sqlite3
db = sqlite3.connect('main.db')
db.cursor().execute('UPDATE tv_episodes SET watched = 0 WHERE watched IS NULL;')
db.commit()
db.close()

@PlaceboPRS
Copy link

Thanks I ran that with no errors or anything reported (shut Medusa down first), so I'll give it a try, appreciate you taking the time to reply to my report :)

@sharkykh sharkykh mentioned this issue Sep 7, 2018
3 tasks
@bassings
Copy link

bassings commented Sep 7, 2018

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.12
Commit: db3d9d7
Link to Log: https://gist.github.com/2ffffb9accc4b385ad67f3667aae92b2

ERROR

2018-09-08 20:46:56 ERROR    DAILYSEARCHER :: [db3d9d7] Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/var/lib/**********mediaserver/medusa/medusa/scheduler.py", line 93, in run
    self.action.run(self.force)
  File "/var/lib/**********mediaserver/medusa/medusa/search/daily.py", line 97, in run
    cur_ep = series_obj.get_episode(db_episode[b'season'], db_episode[b'episode'])
  File "/var/lib/**********mediaserver/medusa/medusa/tv/series.py", line 796, in get_episode
    ep = Episode(self, season, episode)
  File "/var/lib/**********mediaserver/medusa/medusa/tv/episode.py", line 270, in __init__
    self._specify_episode(self.season, self.episode)
  File "/var/lib/**********mediaserver/medusa/medusa/tv/episode.py", line 554, in _specify_episode
    sql_results = self.load_from_db(season, episode)
  File "/var/lib/**********mediaserver/medusa/medusa/tv/episode.py", line 635, in load_from_db
    self.watched = int(sql_results[0][b'watched'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@sharkykh sharkykh mentioned this issue Sep 8, 2018
8 tasks
@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.12
Commit: db3d9d7
Link to Log: https://gist.github.com/01d97e0b9c1f1dba0894124515e109d2

ERROR

2018-09-08 12:23:58 ERROR    Thread_12 :: [db3d9d7] Exception generated: int() argument must be a string or a number, not 'NoneType'
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 181, in changeEpisodeStatuses
    direct=True
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/server/web/home/handler.py", line 1913, in setStatus
    ep_obj = series_obj.get_episode(season_no, episode_no)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/tv/series.py", line 796, in get_episode
    ep = Episode(self, season, episode)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/tv/episode.py", line 270, in __init__
    self._specify_episode(self.season, self.episode)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/tv/episode.py", line 554, in _specify_episode
    sql_results = self.load_from_db(season, episode)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/tv/episode.py", line 635, in load_from_db
    self.watched = int(sql_results[0][b'watched'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@sharkykh sharkykh added this to the 0.2.10 (Hotfix) milestone Sep 8, 2018
@sharkykh sharkykh added the Fixed label Sep 9, 2018
@rader4096
Copy link

INFO

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

ERROR

2018-10-16 18:10:51 ERROR    SHOWQUEUE-ADD :: [4614efc] None: Error while loading information from indexer TMDB. Error: TypeError("int() argument must be a string or a number, not 'NoneType'",)
Traceback (most recent call last):
  File "/app/medusa/medusa/show_queue.py", line 395, in run
    show_name = get_showname_from_indexer(self.indexer, self.indexer_id, self.lang)
  File "/app/medusa/medusa/helpers/__init__.py", line 1522, in get_showname_from_indexer
    s = indexer_api[int(indexer_id)]
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@taktlos79
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.12
Commit: 4614efc
Link to Log: https://gist.github.com/cfc5167ca75bc36c19f6474ec82709c7

ERROR

2018-10-23 19:30:50 ERROR    POSTPROCESSOR :: [4614efc] Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/scheduler.py", line 93, in run
    self.action.run(self.force)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/auto_post_processor.py", line 58, in run
    process_tv.ProcessResult(app.TV_DOWNLOAD_DIR, app.PROCESS_METHOD).process(force=force)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/process_tv.py", line 145, in process
    ignore_subs=ignore_subs)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/process_tv.py", line 333, in process_files
    self.process_media(path, self.video_files, force, is_priority, ignore_subs)
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/process_tv.py", line 554, in process_media
    self.result = processor.process()
  File "/share/CACHEDEV1_DATA/.qpkg/Medusa/Medusa/medusa/post_processor.py", line 1106, in process
    if int(ep_obj.season) > int(max_season[0][0]):
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@rader4096
Copy link

INFO

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

ERROR

2018-10-28 20:22:36 ERROR    SHOWQUEUE-ADD :: [4614efc] None: Error while loading information from indexer TMDB. Error: TypeError("int() argument must be a string or a number, not 'NoneType'",)
Traceback (most recent call last):
  File "/app/medusa/medusa/show_queue.py", line 395, in run
    show_name = get_showname_from_indexer(self.indexer, self.indexer_id, self.lang)
  File "/app/medusa/medusa/helpers/__init__.py", line 1522, in get_showname_from_indexer
    s = indexer_api[int(indexer_id)]
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@p0psicles p0psicles reopened this Oct 29, 2018
@scarygary
Copy link

INFO

Python Version: 2.7.15 (default, Oct 2 2018, 01:21:44) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)]
Operating System: FreeBSD-11.2-STABLE-amd64-64bit-ELF
Locale: UTF-8
Branch: master
Database: 44.12
Commit: 54da0c7
Link to Log: https://gist.github.com/ef8e522e70a18d9e486c815445db86fb

ERROR

2018-11-24 15:16:50 ERROR    SEARCHQUEUE-DAILY-SEARCH :: [TorrentBytes] :: [54da0c7] DailySearchQueueItem Exception, error: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/usr/local/medusa/medusa/search/queue.py", line 262, in run
    found_results = search_for_needed_episodes(force=self.force)
  File "/usr/local/medusa/medusa/search/core.py", line 523, in search_for_needed_episodes
    cur_provider.cache.update_cache()
  File "/usr/local/medusa/medusa/tv/cache.py", line 233, in update_cache
    result = self._parse_item(item)
  File "/usr/local/medusa/medusa/tv/cache.py", line 312, in _parse_item
    leechers, size, pubdate)
  File "/usr/local/medusa/medusa/tv/cache.py", line 381, in add_cache_entry
    parse_result = parsed_result or NameParser().parse(name)
  File "/usr/local/medusa/medusa/name_parser/parser.py", line 367, in parse
    result = self._parse_string(name)
  File "/usr/local/medusa/medusa/name_parser/parser.py", line 278, in _parse_string
    search_series = helpers.get_show(result.series_name, self.try_indexers) if not self.naming_pattern else None
  File "/usr/local/medusa/medusa/helpers/__init__.py", line 1018, in get_show
    series_from_name = scene_exceptions.get_scene_exceptions_by_name(series_name)[0]
  File "/usr/local/medusa/medusa/scene_exceptions.py", line 167, in get_scene_exceptions_by_name
    indexer = int(exception['indexer'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/bbf46de4edbf718cdb3fe70da92f638a

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\Bad Mothers: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/9b1f57002c3192a709b0b92770b868ce

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\Roswell: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/ade8fd532554494663d2777e3121e9bf

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\Curfew: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/e938d76f59f30af8f020d6fb0e399ada

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\Miracle Workers (2019): Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/cb16847f57efda8b569567f3888f1544

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\The InBetween: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/2ecd741d83d016f32bdcbed8cbb18ef1

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in G:\Tv Shows\The Order: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/975c5a0c598dc0d1737ae242ee563f2c

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\The Boys: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/475287b4dce8b518f6b42768e62d33ba

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\Proven Innocent: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/36f88a6e5666fd0cb0f2bae631c0dd9d

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\I Am the Night: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/089552c07934984caddd3f8c69e99f25

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\Abby's: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/b13b93f983a8856efa085085b5684784

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\The Name of the Rose: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@ripper1967
Copy link

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.14
Commit: 94fae84
Link to Log: https://gist.github.com/fd63c41fba27ffdb0bb5fd7e8605dc6c

ERROR

2019-03-14 17:19:58 ERROR    MAIN :: [94fae84] There was an error creating the show in A:\TV\The Widow: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "C:\Medusamaster\medusa\__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "C:\Medusamaster\medusa\tv\series.py", line 245, in __init__
    self._load_from_db()
  File "C:\Medusamaster\medusa\tv\series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/67ddf4017332e988bfb844ba99cd1416

ERROR

2019-03-18 21:34:30 ERROR    SHOWQUEUE-ADD :: [79efa1a] Error trying to add show: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/show_queue.py", line 517, in run
    newShow = Series(self.indexer, self.indexer_id, self.lang)
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@medariox
Copy link
Contributor

@ripper1967 @Magnus010
Upload your main.db to https://send.firefox.com/ and post the link. I will send you a fixed DB version that will allow you to update correctly to get rid of this issue.

@ripper1967
Copy link

ripper1967 commented Mar 19, 2019 via email

@medariox
Copy link
Contributor

@ripper1967
Copy link

ripper1967 commented Mar 19, 2019 via email

@Magnus010
Copy link

@medariox
Copy link
Contributor

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/918deb93b0a7d3745fb51baa4cd5709d

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Star Trek Osiris: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/a4e6c6546617a8723930f02c2723625f

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Acquisitions Incorporated The C Team: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/f1b4d6d359b4833e675d428ba3016237

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Alien Isolation The Digital Series: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/40a0410e18ffe4091e130e556547c054

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/The Super Hero Squad Show: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/ae03a3ca076b2b55162e0ce659d091ad

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Force Grey Giant Hunters: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/2c79e1dd2c337333d15ede0edcb3165c

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Doctor Horrible's Sing-Along Blog: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/931a234ba4c28b767b5b286295385a61

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Acquisitions Incorporated: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/35787a9863558c9edd6cd24ad077960a

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Untitled Jean-Luc Picard Star Trek Series: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/d36d5c71d2ee8309f04ea7b182a108a7

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Starship Farragut: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

INFO

Python Version: 2.7.15 (default, Jan 24 2019, 16:32:39) [GCC 8.2.0]
Operating System: Linux-4.15.0-46-generic-x86_64-with
Locale: None
Branch: master
Database: 44.14
Commit: 79efa1a
Link to Log: https://gist.github.com/0fdc374f194604d6826a3ee2f72f8296

ERROR

2019-03-19 20:39:28 ERROR    MAIN :: [79efa1a] There was an error creating the show in /tv/Star Trek Phoenix: Exception generated: int() argument must be a string or a number, not 'NoneType'
Traceback (most recent call last):
  File "/app/medusa/medusa/__main__.py", line 2122, in load_shows_from_db
    cur_show = Series(sql_show['indexer'], sql_show['indexer_id'])
  File "/app/medusa/medusa/tv/series.py", line 245, in __init__
    self._load_from_db()
  File "/app/medusa/medusa/tv/series.py", line 1493, in _load_from_db
    self.airdate_offset = int(sql_results[0]['airdate_offset'])
TypeError: int() argument must be a string or a number, not 'NoneType'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@Magnus010
Copy link

Looks like that worked. Thank you!

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

Successfully merging a pull request may close this issue.