Branch/Commit: master/9e75d592bf4e4cd463087aa428f994530ed67971
OS: Mac OS/X 10.5.5
What you did: set cookies in torrentday search provider
What happened: now get errors in log around censoring
What you expected: logging as normal
Logs:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
return fmt.format(record)
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 859, in emit
msg = self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/logging/__init__.py", line 732, in format
return fmt.format(record)
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in format
censored = {item for _, item in censored_items.iteritems() if item}
File "/Users/mediaserver/SickRage-master/sickbeard/logger.py", line 90, in <setcomp>
censored = {item for _, item in censored_items.iteritems() if item}
TypeError: unhashable type: 'Section'
Logged from file logger.py, line 240
Thanks for the issue report! Before a real human comes by, please make sure your report has all the below criteria checked
Please make sure you also read how to create an issue and followed all of the steps.
The title should describe your issue. Having "SR not working" or "I get this bug" for 100 issues, isn't really helpful. We will close issues if there isn't enough information.
Sometimes the devs may seem like grunts and respond with short answers. This isn't (always) because the dev hates you, but because he's on mobile or busy fixing bugs. If something isn't clear, please let us know, and this bot may get updated to automatically answer you.
Thanks!
any guidance here would be helpful. The failures of log censoring are making it difficult to effectively monitor any other issues as no viewable logs are being output. Thanks.
Sadly not using torrentday, so its hard to give you any good info.
Think you might be better off trying the below issue, where all the TD issues are discussed. :
Getting the same error, but after setting some BTN provider option. I'm not using TD at all, so does not seem related.
I don't think this is related to a specific torrent provider.
I added have a cookie to the torrent day search provider configuration, which triggers the log censoring code.
The gentleman above probably has an API key in his BTN config which is causing the same issue.
In the interim setting censor_log=False in init.py has stopped the errors for me
if hasattr(curTorrentProvider, 'cookies'):
curTorrentProvider.cookies = check_setting_str(CFG, curTorrentProvider.get_id().upper(),
curTorrentProvider.get_id() + '_cookies', '', censor_log=False)
Which init.py did you edit? I'm having trouble finding the file. I'm finding a lot of init.py.
edit: oh I see the __ is what made it bold. Either way, I'm still unsure which to edit. Any help is appreciated.
Edit: I believe I have found the location of the file
\base directory\sickbeard\ __init__.py
It definitely did the trick. Thank you for the help, notroblowe!
@notroblowe If you are able, see if you can PR that change to the repository. That way everyone can profit thas has this issue. Also gives the devs a way to check the changes.
Just wanted to let you guys know that I'm still having to edit this file every update. Not sure if it was supposed to be fixed by now.
It's annoying.
Please commit the fix so we don't have to apply it manually at each update.
It's been an issue for at least 3 months.
What do we have to do to get this change added? It's been forever and we know what the fix is. I would do it, but I have now idea how.
+1 Having this issue still
PR submitted to fix this. Multiple requests upthread for this!
https://github.com/SickRage/SickRage/pull/2802
Turning off log censoring is not a good solution. I cant even reproduce this error, which means likely your ini has a bad value from when the code had a bug in it before.
What ini value do you mean? Happy to reset things but this is caused by a
few different torrent providers it seems. It only produced initially upon
adding a new provider. Without logs I can't debug better and when this fix
is applied no bug so catch 22.
It looks like:
providername_cookies = uid=xxxxx;pass=d8e2d6144209a1127aa2065148ab644q
Under every provider section of the ini
Maybe adding the cookie with the wrong format?
It's perfectly replicable for me if that's what you mean. Yes I can delete
and readd the provider to reproduce. I only initially added the provider v
recently
I literally tested with just that, deleting and re-adding torrentday several times, and then doing searches with it, no error.
Can you try by shutting down, renaming your config.ini and starting up again and adding a provider then?
Yes give me a few min. It's specifically FoT iirc. No other providers and
I've never once did anything special besides set login data
Confirmed 100% reproducible.
1) delete provider freshontv from config.ini and restart
2) logs work great.
3) re-add provider. cookies section blank by default
4) restart
5) cookies re-added apparently on shutdown, in the following format (exactly pasted):
[[freshontv_cookies]]
uid = 123456
pass = 0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0
6) Logging again fails - only viewable relic is in DEBUG mode:
2016-12-27 20:16:07 DEBUG MAIN :: The name Show.Name.S02E03.Ep Name.720p HDTV.ext parsed into Show Name - S02E03 [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-12-27 20:16:07 DEBUG MAIN :: Parsed Show.Name.S02E03.Ep Name.720p HDTV.ext into Show Name - S02E03 [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-12-27 20:16:07 DEBUG MAIN :: Trying to parse Show.Name.S02E03.Ep Name.720p HDTV.ext
2016-12-27 20:16:07 DEBUG MAIN :: formatting pattern: Season.%0S -> Season.02
2016-12-27 20:16:07 DEBUG MAIN :: Found codec for 'Show Name: Ep Name'.
2016-12-27 20:16:07 DEBUG MAIN :: Parsed Show.Name.S02E03.HDTV.XviD-RLSGROUP into Show Name - S02E03 [GROUP: RLSGROUP] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-12-27 20:16:07 DEBUG MAIN :: formatting pattern: %S.N.S%0SE%0E.%EN.%QN -> Show.Name.S02E03.Ep Name.720p HDTV
2016-12-27 20:16:07 DEBUG MAIN :: Episode has no release group, replacing it with 'RLSGROUP'
2016-12-27 20:16:07 DEBUG MAIN :: Found codec for 'Show Name: Ep Name'.
2016-12-27 20:16:07 DEBUG MAIN :: Parsed Show.Name.S02E03.HDTV.XviD-RLSGROUP into Show Name - S02E03 [GROUP: RLSGROUP] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2016-12-27 20:16:06 INFO EVENT-QUEUE :: Restarting SickRage with ['/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python', u'/Users/user/SickRage/SickBeard.py', '-q', u'--nolaunch']
I deleted all my providers from config.ini and re-added them 1 by 1. I saw no errors. I restarted sickrage and the censored items spam began again. I'm using BTN, MorethanTV, FreshonTV, TorrentDay, and IPtorrents. I'll try each 1 by 1 and see which causes the problem for me.
I've kinda learned to live with having to fix this manually at each update. It will probably drive a lot of people away, though. I switched to Sonarr but it doesn't recognise some of my less popular shows so I went back to Sickrage. Now I'm not updating very frequently because of the hassle with manually fixing it afterwards. I'm glad to see there is some activity regarding this issue. If I get the time I'll try too. I suspect it's freshon.tv which is causing the bug to show.
Yes looking at the code now it definitely seems to be coming from just FoT.
The cookie code there is weird and I can't quite follow it. I'm not even
sure why it's setting a cookie - to reduce fresh login requests perhaps?
Seems to be a hashing issue with the way the cookie is set into an array
potentially.
All my other providers have no problems.
added FreshOnTV, added UN/PW, restarted sickrage, no issues.
I then did a search for an episode which prompted all the providers to search.
I checked the config.ini and noted any changes between restarts.
Upon restarting once more, the error returned.
The freshontv_cookies = ""
became
"[[freshontv_cookies]]
uid = 1234
pass = 123423423523"
I think we can all agree that this is the reason it's happening as if I revert that line and restart sickrage, everything is fine until that line gets written after a search with FoTV and subsequently restarting sickrage.
I'm guessing on line 89 it's a conversion error somehow that the cookies
are being set as a multiple key->value object but the logger isn't expecing to handle multiple key->value arrays? It's super hard to understand the object structure here so apologies I cannot be more useful in contributing a fix. I've no idea how to best jump in to understand the internal structure(s) properly like this and the multiple levels of inheritance.
I guess the proper way to do this sort of thing is to write the cookie this way?
https://github.com/SickRage/SickRage/blob/21c9621a36dabe345fc4879200c3fba39b84c8ce/sickrage/providers/GenericProvider.py#L507
On Tue, Dec 27, 2016 at 9:02 PM Quiksmage notifications@github.com wrote:
started with BTN, added api key, restarted sickrage, no issues.
added MoreThanTV, added UN/PW, restarted sickrage, no issues.
added IPTorrents, added UN/PW and Cookies, restarted sickrage, no issues.
added TorrentDay, added UN/PW and Cookies, restarted sickrage, no issues.I kept FreshOnTV for last since the above seems to point to it being the
issueadded FreshOnTV, added UN/PW, restarted sickrage, no issues.
I then did a search for an episode which prompted all the providers to
search.I checked the config.ini and noted any changes between restarts.
Upon restarting once more, the error returned.
The freshontv_cookies = "" became
"[[freshontv_cookies]]
uid = 1234
pass = 123423423523"I think we can all agree that this is the reason it's happening as if I
revert that line and restart sickrage, everything is fine until that line
gets written after a search with FoTV and subsequently restarting sickrage.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SickRage/SickRage/issues/2079#issuecomment-269382215,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AASBwenE6X51B41vUVpXOR5Inu6Ptc13ks5rMXzOgaJpZM4JMpez
.
Strange, mine comes out like this after shutdown:
[TORRENTDAY]
torrentday = 1
torrentday_username = ""
torrentday_password = ""
torrentday_ratio = ""
torrentday_minseed = 1
torrentday_minleech = 0
torrentday_freeleech = 0
torrentday_search_mode = eponly
torrentday_search_fallback = 0
torrentday_enable_daily = 1
torrentday_enable_backlog = 1
torrentday_cookies = uid=2521999;pass=d8e2d6144209a1127aa2065148ab999e
(That isnt my real uid/pass)
Ill check freshontv
Freshontv needs updated...
Does FoT really need cookie auth or did you just put it in there because the field shows?
An invite code would help: miigotu@gmail
There's no cookie field at all! This is a weird one where it seems to cache
the cookie from the past session automatically without any user input and
then use that to limit subsequent login overhead. It's the only provider
written this way. Who knows what the original reason was but I'd prefer to
not have any cookie there at all.
That's probably the easiest fix to just remove any cookie traces from this
one unless the provider somehow requires it to reduce number of logins or
prevent captcha from hitting too frequently?
I'd invite you miigotu but I just invited a few friends and used my current Invites. Maybe someone else would be kind to invite miigotu?
I have extras if you want one @miigotu
On Tue, Dec 27, 2016 at 11:12 PM b0r0mir notifications@github.com wrote:
I can confirm that manually editing the config.ini to reformat the cookies with a semicolon after each variable does the trick. So it's just matter of properly encoding them in the freshon provider. I've tried using the syntax
self.cookies['uid'] = self._uid
self.cookies['pass'] = self._hash
But that doesn't seem to work. I'm not sure the object format of self in this case and what the correct way to pass a formatted cookie to it should be.
I took a first crack at a fix. Not sure this is working exactly in storing as I don't see the proper cookie data written to the config.ini but this should be the right function to call to do that...
just rename all instances of self.cookies in FoT provider to self._cookies
Ill commit it to develop and you can test it
Yeah, I see your point but you know this was previously just written weirdly. It stores the session cookie as a permanent cookie without the UI touching it at all. This is weird - no other providers do that. I'm wondering if there was a reason this was done initially? Seems too weird to not have been done for a reason.
It's to make sure multiple logins arent attempted in a single session, but the person who wrote it did it in a quirky way imho. Anyways I have pushed a fix to develop
Cool. Thanks.
Thanks guys!
Let me know if it works on develop, and then Ill merge it to master
working fine now. thx
Will we have to delete our current cookie setting in config.ini prior to updating or will the new PR replace whatever is there?
Shouldn't need to delete but wouldn't hurt to just delete the cookie
specific lines at the bottom.
Most helpful comment
It's to make sure multiple logins arent attempted in a single session, but the person who wrote it did it in a quirky way imho. Anyways I have pushed a fix to develop