Repository: pymedusa/Medusa

Issue:
[APP SUBMITTED]: AttributeError: 'NoneType' object has no attribute 'status_code'

### INFO
**Python Version**: `3.8.6 (default, Nov 20 2020, 23:57:10) [Clang 12.0.0 (clang-1200.0.32.27)]`
**Operating System**: `macOS-11.0.1-x86_64-i386-64bit`
**Locale**: `UTF-8`
**Branch**: [develop](../tree/develop)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@cd5fbd31da327043423d8b0b6645fa782d7f7926
**Link to Log**: https://gist.github.com/071b64a6e0ffe89c439a72c20a473a5e
### ERROR
<pre>
2020-12-08 05:09:58 ERROR    SNATCHQUEUE-SNATCH-387840 :: [cd5fbd3] qBittorrent: Failed Sending Torrent
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/cd5fbd31da327043423d8b0b6645fa782d7f7926/medusa/clients/torrent/generic.py#L256">medusa/clients/torrent/generic.py</a>", line 256, in send_torrent
    r_code = self._add_torrent_file(result)
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/cd5fbd31da327043423d8b0b6645fa782d7f7926/medusa/clients/torrent/qbittorrent.py#L170">medusa/clients/torrent/qbittorrent.py</a>", line 170, in _add_torrent_file
    return self._request(method='post', data=data, files=files, cookies=self.session.cookies)
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/cd5fbd31da327043423d8b0b6645fa782d7f7926/medusa/clients/torrent/generic.py#L95">medusa/clients/torrent/generic.py</a>", line 95, in _request
    if self.response.status_code == 401:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators



Discussion:
I think you need to reauthorize. Do you use pass ecryption? 
From the log: 
```
2020-12-08 05:09:58 DEBUG    SNATCHQUEUE-SNATCH-387840 :: [cd5fbd3] Error requesting url http://localhost:8082/api/v2/torrents/add Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2020-12-08 05:09:58 ERROR    SNATCHQUEUE-SNATCH-387840 :: [cd5fbd3] qBittorrent: Failed Sending Torrent
```

Client machine went down or similar, shouldn't cause an exception. Fixed with: https://github.com/pymedusa/Medusa/pull/8851

### INFO
**Python Version**: `3.8.6 (default, Nov 20 2020, 23:57:10) [Clang 12.0.0 (clang-1200.0.32.27)]`
**Operating System**: `macOS-11.1-x86_64-i386-64bit`
**Locale**: `UTF-8`
**Branch**: [develop](../tree/develop)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@6a894fb74a56d684a0952092bcd99c19df5c356e
**Link to Log**: https://gist.github.com/cdc2b088a01ebad2d732559bf6beab6f
### ERROR
<pre>
2020-12-11 02:38:24 ERROR    SNATCHQUEUE-SNATCH-385002 :: [6a894fb] Snatch failed! For result: [SubsPlease].Higurashi.no.Naku.Koro.ni.Gou.-.11.(1080p).[15323E54].mkv
Traceback (most recent call last):
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/6a894fb74a56d684a0952092bcd99c19df5c356e/medusa/search/queue.py#L518">medusa/search/queue.py</a>", line 518, in run
    self.success = snatch_episode(result)
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/6a894fb74a56d684a0952092bcd99c19df5c356e/medusa/search/core.py#L167">medusa/search/core.py</a>", line 167, in snatch_episode
    result_downloaded = client.send_torrent(result)
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/6a894fb74a56d684a0952092bcd99c19df5c356e/medusa/clients/torrent/generic.py#L242">medusa/clients/torrent/generic.py</a>", line 242, in send_torrent
    if not self._get_auth():
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/6a894fb74a56d684a0952092bcd99c19df5c356e/medusa/clients/torrent/qbittorrent.py#L48">medusa/clients/torrent/qbittorrent.py</a>", line 48, in _get_auth
    auth = self._get_auth_v2()
  File "/Users/ovidijus/Apps/Medusa/<a href="../blob/6a894fb74a56d684a0952092bcd99c19df5c356e/medusa/clients/torrent/qbittorrent.py#L97">medusa/clients/torrent/qbittorrent.py</a>", line 97, in _get_auth_v2
    if self.response.status_code == 200:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators

there are no issues with authentication. I use login for qBitTorrent but there no issues, every time I get this error the intended torrent that is snatched does not have a tag assigned. it goes into the Uncategorized category in qbittorrent instead of medusa + this has been happening of late hit or miss where it either gets assigned the medusa category/tag or not.

torrents manually triggered per ep in medusa don't have this issue only when medusa automatically snatched Ep's via daily search queue.

Logs: 
[Logs.zip](https://github.com/pymedusa/Medusa/files/5674017/Logs.zip) <--qbittorrent logs included

qBittorrent is not reachable: 
`
Error requesting url http://localhost:8082/api/v2/auth/login Error: HTTPConnectionPool(host='localhost', port=8082): Read timed out. (read timeout=30)
`
well in qbittorrent no issues`(N) 2020-12-11T02:38:16 - WebAPI login success. IP: ::1`
to long to post here, but after that like, 20 min later it loads all tracker info & torrent is added. https://gist.github.com/XxUnkn0wnxX/bb4851e8fbaceeff4633eb5be5e0f1ee

### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@d45caa6b010ad704f4fa84ad120ef4e0b8402e30
**Link to Log**: **No Log available**
### ERROR
<pre>
2020-12-20 06:02:41 ERROR    SHOWUPDATER :: [d45caa6] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show The Chi. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@d45caa6b010ad704f4fa84ad120ef4e0b8402e30
**Link to Log**: **No Log available**
### ERROR
<pre>
2020-12-20 06:02:38 ERROR    SHOWUPDATER :: [d45caa6] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Znaki. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@d45caa6b010ad704f4fa84ad120ef4e0b8402e30
**Link to Log**: **No Log available**
### ERROR
<pre>
2020-12-23 05:37:54 ERROR    SHOWUPDATER :: [d45caa6] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show The Chi. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@d45caa6b010ad704f4fa84ad120ef4e0b8402e30
**Link to Log**: **No Log available**
### ERROR
<pre>
2020-12-23 05:37:50 ERROR    SHOWUPDATER :: [d45caa6] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Znaki. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@d45caa6b010ad704f4fa84ad120ef4e0b8402e30
**Link to Log**: **No Log available**
### ERROR
<pre>
2020-12-27 06:16:25 ERROR    SHOWUPDATER :: [d45caa6] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Znaki. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/d45caa6b010ad704f4fa84ad120ef4e0b8402e30/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@1c1d3279ea1c3bb891b8581671e21543aea00c8c
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-05 05:51:07 ERROR    SHOWUPDATER :: [1c1d327] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Znaki. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/1c1d3279ea1c3bb891b8581671e21543aea00c8c/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/1c1d3279ea1c3bb891b8581671e21543aea00c8c/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/1c1d3279ea1c3bb891b8581671e21543aea00c8c/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/1c1d3279ea1c3bb891b8581671e21543aea00c8c/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/1c1d3279ea1c3bb891b8581671e21543aea00c8c/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@698ca1db9903a9f716d9ed1910972cbf70ea50e8
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-15 06:39:28 ERROR    SHOWUPDATER :: [698ca1d] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show The Chi. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@698ca1db9903a9f716d9ed1910972cbf70ea50e8
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-15 06:39:25 ERROR    SHOWUPDATER :: [698ca1d] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Znaki. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/698ca1db9903a9f716d9ed1910972cbf70ea50e8/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:45:02 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Succession. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:59 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show See. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:56 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Missions. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:52 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Luther. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:49 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Fauda. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:46 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Criminal: UK. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:43 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Condor. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:40 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Strike. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:37 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Bosch. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:34 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Billions. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:31 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show The Chi. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


### INFO
**Python Version**: `3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]`
**Operating System**: `Windows-10-10.0.19041-SP0`
**Locale**: `cp1252`
**Branch**: [master](../tree/master)
**Database**: `44.17`
**Commit**: pymedusa/Medusa@2b874c2c6a3c33d653eec6e50598a194627a6f76
**Link to Log**: **No Log available**
### ERROR
<pre>
2021-01-23 05:44:28 ERROR    SHOWUPDATER :: [2b874c2] Problem running show_updater, Indexer TVmaze seems to be having issues while trying to get updates for show Znaki. Cause: AttributeError("'NoneType' object has no attribute 'status_code'").
Traceback (most recent call last):
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/schedulers/show_updater.py#L78">medusa\schedulers\show_updater.py</a>", line 78, in run
    last_updates[indexer_name], update_max_weeks
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L490">medusa\indexers\tvmaze\api.py</a>", line 490, in get_last_updated_series
    updates = self._get_all_updates(from_time, from_time + (weeks * 604800))  # + seconds in a week
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/medusa/indexers/tvmaze/api.py#L467">medusa\indexers\tvmaze\api.py</a>", line 467, in _get_all_updates
    updates = self.tvmaze_api.show_updates()
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L1177">lib\pytvmaze\tvmaze.py</a>", line 1177, in show_updates
    q = self._endpoint_standard_get(url)
  File "C:\Medusa\Medusa\<a href="../blob/2b874c2c6a3c33d653eec6e50598a194627a6f76/lib/pytvmaze/tvmaze.py#L542">lib\pytvmaze\tvmaze.py</a>", line 542, in _endpoint_standard_get
    if r.status_code in [404, 422]:
AttributeError: 'NoneType' object has no attribute 'status_code'
</pre>
---
_STAFF NOTIFIED_: @pymedusa/support @pymedusa/moderators


Resolving patch:
diff --git a/ext/tvdbapiv2/rest.py b/ext/tvdbapiv2/rest.py
--- a/ext/tvdbapiv2/rest.py
+++ b/ext/tvdbapiv2/rest.py
@@ -51,6 +51,9 @@ def request(self, method, url, query_params=None, headers=None, body=None, post_
             else:
                 r = self.session.request(method, url, params=query_params, headers=headers)
 
+            if r is None:
+                raise RequestException('Missing response')
+
             r.raise_for_status()
 
         except RequestException as error:
diff --git a/medusa/indexers/tvmaze/api.py b/medusa/indexers/tvmaze/api.py
--- a/medusa/indexers/tvmaze/api.py
+++ b/medusa/indexers/tvmaze/api.py
@@ -465,7 +465,9 @@ def _get_all_updates(self, start_date=None, end_date=None):
         results = []
         try:
             updates = self.tvmaze_api.show_updates()
-        except (ShowIndexError, UpdateNotFound):
+        except (AttributeError, ShowIndexError, UpdateNotFound):
+            # Tvmaze api depends on .status_code in.., but does not catch request exceptions.
+            # Therefor the AttributeError.
             return results
         except BaseError as e:
             log.warning('Getting show updates failed. Cause: {0}', e)


Test patch: