1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00
Commit Graph

1521 Commits

Author SHA1 Message Date
Adam
72b0b04045 Halt post processing if lftp temporary files are detected 2014-08-11 18:29:28 +08:00
echel0n
90146d33fa Merge pull request #703 from dwaldhans/branch-search_pattern_fix
Fixed search pattern for checking ignored and required words in release names
2014-08-10 21:37:37 -07:00
echel0n
4d7d85e21b Merge pull request #704 from adam111316/hdbits_cache
Fix for HDbits tvcache issue
2014-08-10 21:37:02 -07:00
echel0n
ad7c8d8c17 Merge pull request #705 from adam111316/airdates_fix
Fix for tpb ABD shows
2014-08-10 21:35:24 -07:00
Adam
66f962f89b Fix for tpb ABD shows 2014-08-11 08:10:24 +08:00
Adam
e19f1ee53e Fix for HDbits tvcache issue 2014-08-11 07:59:56 +08:00
David Waldhans
16ae4c1db7 Fixed search pattern for checking ignored and required words in release names 2014-08-10 13:56:55 +02:00
echel0n
9714fc3299 Code fix for attribute error 2014-08-09 17:28:15 +00:00
echel0n
50b91f9d7c Code correction 2014-08-09 17:17:44 +00:00
echel0n
e98418ba8d Small code change 2014-08-09 11:36:14 +00:00
echel0n
f1c45a596d Code typo fixed 2014-08-09 11:30:36 +00:00
echel0n
3ae4c13104 Code fix 2014-08-09 11:28:22 +00:00
echel0n
6a5567d040 Another minor code fix 2014-08-09 11:22:56 +00:00
echel0n
f5725f4402 Minor code correction. 2014-08-09 11:20:24 +00:00
echel0n
17906539ae Fixed improper line indentation 2014-08-09 11:16:55 +00:00
echel0n
1ee64ced4d If we fail to find season/episode info for air-by-date shows via DB query we attempt via indexerAPI calls 2014-08-09 11:14:51 +00:00
echel0n
dfc18b8d54 Small code change for parsing air-by-date shows to get season/episode info 2014-08-09 10:59:39 +00:00
echel0n
9ac23ae707 Merge pull request #699 from echel0n/master
Sync master<->dev
2014-08-09 01:21:25 -07:00
echel0n
e25a2a8031 Merge pull request #698 from loginfliggle/patch-1
Update tvrage_api.py
2014-08-09 01:19:34 -07:00
loginfliggle
62a7d9850c Update tvrage_api.py
Bugfix by viperidae

Reference:
---------------
Reference: https://sickrage.tv/forums/forum/help-support/bug-issue-reports/6224-there-was-an-error-with-the-xml-retrieved-from-tvrage-com

Quote:
----------
Had a look at the code and the xml documents...

It looks like the problem is caused by an empty <genre /> element in Results/shows/show/genres/
Line 459 of tvrage_api.py (it's 460 in my track in the previous post because of the debug statements I put in)

I assume it's because value is NoneType, gets replaced by a [NoneType] list and then tries to call '|'.join([NoneType]) when it was expecting a list of strings.

I changed this to the following and the problem appears to be resolved

Syslog extract:
----------------------
tvrage_error: There was an error with the XML retrieved from tvrage.com
First try emptying the cache folder at..
C:\Users\Josh\Documents\Programs\SickRage\cache\indexers\TVRage
If this does not resolve the issue, please try again later. If the error persists, report a bug on


2014-08-09 00:43:25 INFO     SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Searching for episodes we need from Top Gear Season 21
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: SELECT * FROM [nmatrix] WHERE indexerid = ? AND season = ? AND episodes LIKE ? with args [74608, 21, '%|2|%']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: UPDATE lastSearch SET time = ? WHERE provider = ? with args [1407559405, 'nmatrix']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: cache.db: INSERT INTO lastSearch (time, provider) VALUES (?, ?) with args [1407559405, 'nmatrix']
2014-08-09 00:43:25 DB       SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: sickbeard.db: SELECT * FROM indexer_mapping WHERE indexer_id = ? AND indexer = ? with args [74608, 1]
2014-08-09 00:43:25 ERROR    SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Error while searching NMatrix, skipping: There was an error with the XML retrieved from tvrage.com
First try emptying the cache folder at..
C:\Users\Josh\Documents\Programs\SickRage\cache\indexers\TVRage
If this does not resolve the issue, please try again later. If the error persists, report a bug on

2014-08-09 00:43:25 DEBUG    SEARCHQUEUE-BACKLOG-74608 :: [NMatrix] :: Traceback (most recent call last):
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\search.py", line 428, in searchProviders
    searchResults = curProvider.findSearchResults(show, season, episodes, search_mode, manualSearch)
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\providers\generic.py", line 264, in findSearchResults
    for curString in self._get_episode_search_strings(epObj):
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\providers\newznab.py", line 133, in _get_episode_search_strings
    rid = helpers.mapIndexersToShow(ep_obj.show)[2]
  File "C:\Users\Josh\Documents\Programs\SickRage\sickbeard\helpers.py", line 1178, in mapIndexersToShow
    mapped_show = t[showObj.name]
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 675, in __getitem__
    selected_series = self._getSeries(key)
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 566, in _getSeries
    allSeries = self.search(series)
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 557, in search
    seriesEt = self._getetsrc(self.config['url_getSeries'], self.config['params_getSeries'])
  File "C:\Users\Josh\Documents\Programs\SickRage\lib\tvrage_api\tvrage_api.py", line 500, in _getetsrc
    raise tvrage_error(errormsg)
2014-08-09 02:36:21 -04:00
echel0n
7f8c170f67 Fixed AttributeError: 'dict' object has no attribute 'name' error 2014-08-09 06:22:54 +00:00
echel0n
a74181dca2 Merge branch 'dev' of /home/git/repositories/echel0n/sickrage 2014-08-09 01:56:30 +00:00
echel0n
1136e5c833 Fixed IndexError: list index out of range issue 2014-08-09 01:43:02 +00:00
echel0n
c4105db242 Testing fix for locale and startup issues related to improperly being set 2014-08-09 00:55:46 +00:00
echel0n
3eed021200 Fixed issues where data needing to be posted was being sent via a GET instead of POST 2014-08-09 00:45:21 +00:00
echel0n
8bec8751fb Merge pull request #697 from cptjhmiller/dev
Trakt method, error checking, remove series
2014-08-08 17:35:16 -07:00
echel0n
89944ed82b Merge pull request #696 from monkiibiz/dev
Added Danish Public Service channels
2014-08-08 17:34:48 -07:00
echel0n
c658fe0f26 Fixed NoneType error when mapping indexers to show 2014-08-09 00:19:29 +00:00
Jamie
18da621016 Trakt method, error checking, remove series 2014-08-09 00:07:17 +01:00
monkiibiz
60129f57cc Added Danish Public Service channels
DR1, DR2, TV2
2014-08-08 10:07:38 -05:00
echel0n
a2886bcf02 Merge pull request #695 from echel0n/dev
Fixed unbound method editShow() error
2014-08-08 00:18:42 -07:00
echel0n
3592e559d0 Fixed unbound method editShow() error 2014-08-08 00:18:03 -07:00
echel0n
12ce38dfd1 Merge pull request #694 from echel0n/dev
Fixes update issues for source code downloaded versions
2014-08-07 23:34:47 -07:00
echel0n
1bf47900df More fixes for source code updating 2014-08-07 23:30:56 -07:00
echel0n
f9ababe7cb Fix for updating issues 2014-08-07 23:21:30 -07:00
echel0n
922df4c160 Fix for NoneType errors 2014-08-07 22:58:41 -07:00
echel0n
de8adb24d0 Fix for AttributeError in SourceUpdateManager 2014-08-07 22:44:06 -07:00
echel0n
1c4cc6851f Merge pull request #693 from echel0n/dev
Merge pull requests and changes from DEV branch into MASTER
2014-08-07 22:22:13 -07:00
echel0n
318379522b Merge pull request #692 from Supremicus/dev
Provider image fixes.
2014-08-07 22:11:26 -07:00
echel0n
1710fe6362 Merge pull request #691 from nielsenj/XofXEpNaming
Changes "no_season" regex to support XofX naming
2014-08-07 22:11:05 -07:00
echel0n
2a0d747f8b Merge pull request #690 from adam111316/btsync
Halt postprocessing if temporary btsync files are detected
2014-08-07 22:10:50 -07:00
echel0n
aa09e88d5f Merge pull request #689 from adam111316/tidy
Tidying provider code
2014-08-07 22:10:40 -07:00
echel0n
df4f2d11d2 Merge pull request #688 from adam111316/hdbits_fix
HDbits fix
2014-08-07 22:10:29 -07:00
echel0n
36aa148e5d Merge pull request #687 from Squirtukuk/xbmcnotify
Fixed xbmc notifier failing when it shouldn't
2014-08-07 22:10:19 -07:00
echel0n
4dc0e95886 Merge pull request #684 from ressu/thexem_a_leak
Fix <a> element so that it doesn't leak to other elements
2014-08-07 22:09:43 -07:00
Supremicus
b5c703c893 Provider image fixes.
newznab.py - changed to use provider image from set gui interface (for
gui skin support).
rsstorrent.py - as per above, directory was wrong all together.
2014-08-08 09:17:31 +10:00
nielsenj
88a3444db2 Changes "no_season" regex to support XofX naming
Previous version would allow for:

Britannia The Great Elizabethan Journey - 1 of 3 (19th May 2012) [HDTV 720p (x264)]

But disallow (because of no spaces around "of"):

Britannia The Great Elizabethan Journey - 1of3 (19th May 2012) [HDTV 720p (x264)]

Also previous extra_info changes from:
of 3 (19th May 2012) [HDTV 720p (x264)]

To:
(19th May 2012) [HDTV 720p (x264)]
2014-08-06 21:45:38 -07:00
adam
c4d5e480b5 Halt postprocessing if temporary btsync files are detected 2014-08-06 21:55:17 +08:00
Adam
6ad5ccf966 HDbits fix 2014-08-06 19:58:10 +08:00
Simon
ff9c8ae82c Fixed notifier failing when it shouldn't 2014-08-06 12:06:26 +01:00