bzr commands sometimes fail with "ERROR: not well-formed (invalid token)"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Expired
|
Medium
|
Unassigned |
Bug Description
I have a c++ project with many apps sharing a common code basis, with many symbolic links (I try to pint out what can be different).
When I initialize bazaar, bzr check and any utility that tries to revert to any previous commit fails.
The same thing with a "fake" code tree works well.
This is the not working:
root@darkstar:
root@darkstar:
root@darkstar:
[...]
root@darkstar:
[...]
Committed revision 1.
root@darkstar:
Checking working tree at 'file:/
bzr: ERROR: not well-formed (invalid token): line 10892, column 74
root@darkstar:
root@darkstar:
unknown:
newfile.txt
root@darkstar:
added newfile.txt
root@darkstar:
bzr: ERROR: not well-formed (invalid token): line 10892, column 74
root@darkstar:
And this is the working:
root@darkstar:/opt# mkdir bzr_working
root@darkstar:/opt# cd bzr_working/
root@darkstar:
root@darkstar:
root@darkstar:
added work1.txt
root@darkstar:
Committing to: /opt/bzr_working/
added work1.txt
Committed revision 1.
root@darkstar:
root@darkstar:
Checking working tree at 'file:/
Checking repository at 'file:/
checked repository <bzrlib.
1 revisions
1 file-ids
1 unique file texts
0 repeated file texts
0 unreferenced text versions
Checking branch at 'file:/
checked branch file://
root@darkstar:
modified:
work1.txt
root@darkstar:
M work1.txt
I use slackware-current.
I upgraded python to the last version available on slackware repos.
I tried with bazaar version 1.5, 1.6 (the last available), and the I compiled myself the 1.6.1.
No changes in the errors.
Thank you for the help.
description: | updated |
SOLVED! priva. OD,
Thank to the irc support, the problem was solved.
There was a file in the keymapper/ subdirectory, called keymapper/
with nonprintable characters.
That caused the error. I deleted the file and created the branch from scratch, and now all goes well.
May be this could be checked / solved in some way in the future?
Thank you again, irc guys :)