pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.8k stars 277 forks source link

[APP SUBMITTED]: UnboundLocalError: local variable 'do_update' referenced before assignment #2058

Closed ripper1967 closed 7 years ago

ripper1967 commented 7 years ago

INFO

Python Version: 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] Operating System: Windows-10-10.0.14393 Locale: cp1252 Branch: develop Database: 44.4 Commit: pymedusa/Medusa@e0e6acf52478ac0317c7c017ab7e342274919a1f Link to Log: https://gist.github.com/1018bbce05692e5fc51591bb08f5596f

ERROR

2017-01-29 07:17:53 ERROR    Thread-28 :: [e0e6acf] Exception generated: local variable 'do_update' referenced before assignment
Traceback (most recent call last):
  File "C:\pymedusaSickRage\medusa\server\web\core\base.py", line 259, in async_call
    result = function(**kwargs)
  File "C:\pymedusaSickRage\medusa\server\web\home\handler.py", line 1513, in editShow
    if do_update:
UnboundLocalError: local variable 'do_update' referenced before assignment

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

ripper1967 commented 7 years ago

Tried adding Taboo.UK to scene exceptions, when clicking save changes web page went to white page and this error happened.

fernandog commented 7 years ago

@p0psicles

1) image

2) image

medariox commented 7 years ago

Fixed with https://github.com/pymedusa/Medusa/pull/2061