AIX ERROR: exceptions.UnboundLocalError: local variable 'changed' referenced be fore assignment
Bug #868284 reported by
Adi Roiban
This bug report is a duplicate of:
Bug #837221: "Variable referenced before initialization" using Cython 0.15 to compile extensions.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Incomplete
|
Medium
|
Unassigned |
Bug Description
I just branched and pulled some changes on a branch on AIX, and bzr stopped working, always raising the attached error.
I am using the bzr version with out of memory fix from this bug: https:/
Cheers,
Adi
To post a comment you must log in.
That would indicate that this loop is never entered:
while (current_entry is not None or current_path_info is not None):
so both "current_entry" is None and "current_path_info" is None, which might be bogus.
Specifically, this loop is about iterating in sorted order, the list of objects on disk, comparing it to the list of objects in our saved state.
Going up a level, the calling code has: dir_info is not None
while (self.current_
or self.current_block is not None):
It sounds like both of them are not None, but also are not empty.
Would it be possible to get an "ls -R" and the contents of .bzr/checkout/ dirstate?
My initial guess is that 'readdir()' returns something different on AIX than what we are expecting. (Like not returning anything for an empty directory, and we expect it to return at least '.', etc.)