0

UnboundLocalError: local variable 'downloader' referenced before assignment

Xavier Ho 13 years ago 0

(Okay, pasting traceback in UserEcho seems a bad idea.)


Sublime Package Control crashes at Package Control.py, Line 999.


Looking at the source code, it looks like there is a chance when `downloader` hasn't been introduced to the local namespace.  This makes my plugins managed by Package Control completely unusable.  


I've currently padded 


downloader = None


just before the if statement to get the error message to properly print.