NameError sometimes in Ubuntu One replication
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktopcouch |
Fix Released
|
High
|
Chad Miller |
Bug Description
In 0.6.9b, it is possible for replication_
Then, we use that consumer variable to construct an oauth header.
We then try to get the "couchdb_root" from U1 API. IF that succeeds, then we save the result and on future runs we give that out. If that fails, we start over at the previous step, using a nonexistent consumer variable to construct an oauth header.
Using a nonexistent variable causes UnboundLocalError.
DEBUG:replicati
DEBUG:replicati
ERROR:replicati
Traceback (most recent call last):
File "/home/
remote_location = str(prefix_getter)
File "/home/
consumer, access_token, url)
UnboundLocalError: local variable 'consumer' referenced before assignment
replication 2010-10-05 12:57:08,681 - replication of services aborted
Related branches
- dobey (community): Approve
- Vincenzo Di Somma (community): Approve
-
Diff: 18 lines (+2/-2)1 file modifieddesktopcouch/replication_services/ubuntuone.py (+2/-2)
Changed in desktopcouch: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Chad Miller (cmiller) |
Changed in desktopcouch: | |
status: | Confirmed → Fix Committed |
Changed in desktopcouch: | |
status: | Fix Committed → Fix Released |