UnboundLocalError with 32p

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
ghlave
Posts: 23
Joined: Thu Feb 26, 2015 8:29 am

UnboundLocalError with 32p

Post by ghlave »

I just noticed this in my log files. I know it *was* working a couple of weekends ago, so I'm not sure if an update broke it, or maybe me mucking around with all my python versions did.

Code: Select all

27-Jun-2015 10:56:01 - INFO    :: Thread-12 : [RSS] Initiating Torrent RSS Feed Check on 32P.
27-Jun-2015 10:56:01 - DEBUG   :: Thread-12 : [RSS] 32P mode set to Auth mode. Monitoring all personal notification feeds & New Releases feed
27-Jun-2015 10:56:01 - DEBUG   :: Thread-12 : [32P] Verify SSL set to : True
27-Jun-2015 10:56:32 - INFO    :: Thread-12 : [32P-AUTHENTICATION] Atttempting to integrate with all of your 32P Notification feeds.
27-Jun-2015 10:56:32 - ERROR   :: Thread-12 : Uncaught exception: Traceback (most recent call last):
  File "/opt/Mylar/mylar/logger.py", line 159, in new_run
    old_run(*args, **kwargs)
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/opt/Mylar/mylar/rsscheckit.py", line 78, in run
    feedinfo = feed32p.authenticate()
  File "/opt/Mylar/mylar/auth32p.py", line 117, in authenticate
    mylar.PASSKEY_32P = passkey
UnboundLocalError: local variable 'passkey' referenced before assignment
User avatar
evilhero
Site Admin
Posts: 2887
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: UnboundLocalError with 32p

Post by evilhero »

It's actually due to 32p being offline. I noticed it yesterday and was getting the same error, and sure enough it's down atm. If you check the non https version of the site, you'll get a nice graphic saying as much ;)

I've fixed the error that happens when 32p isn't online in my local repo, but haven't pushed it out yet due to personal free time issues (kids are done school now lol).

In the meantime, until 32p comes back online, or I get that commit out, you need to disable 32p as a provider.
Post Reply