Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnboundLocalError: local variable 'bbfn' referenced before assignment #19

Closed
skarra opened this issue Dec 13, 2012 · 1 comment
Closed
Labels

Comments

@skarra
Copy link
Owner

skarra commented Dec 13, 2012

As reported by Sam Steingold on the ASynK mailing list on Nov 27, 2012

$ python asynk.py --op=sync --db bb --op=list-folders
[16:25:55.543     INFO] Debug logging to file: /home/sds/.asynk/logs/asynk_logs.2012-11-26.16-25-55.542977
[16:25:55.543     INFO] Deleting log files older than 7 days, if any...
[16:25:55.543     INFO] Deleting log files older than 7 days, if any...done
Traceback (most recent call last):
  File "asynk.py", line 890, in <module>
    main()
  File "asynk.py", line 110, in main
    asynk.dispatch()
  File "asynk.py", line 411, in dispatch
    res = getattr(self, self.get_op())()
  File "asynk.py", line 426, in op_list_folders
    self._login()
  File "asynk.py", line 304, in _login
    self.set_db(db1id, getattr(self, login_func)())
  File "asynk.py", line 827, in login_bb
    if not bbfn:
UnboundLocalError: local variable 'bbfn' referenced before assignment
@skarra
Copy link
Owner Author

skarra commented Jan 5, 2013

This is fixed with the following commit: bf0b9b1

@skarra skarra closed this as completed Jan 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant