abiword import fails with UnicodeDecodeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad CSCVS |
Triaged
|
Low
|
Unassigned |
Bug Description
The abiword import fails like this:
Traceback (most recent call last):
File "/home/
main()
File "/home/
doer.
File "/home/
getattr(
File "/home/
strategy(self, dir, logger)
File "/home/
self.
File "/home/
self.
File "/home/
totla.
File "/home/
apply_
File "/home/
fileChange.
File "/home/
self.
File "/home/
self.
File "/home/
",,new.%s.%s" % (random.random(), os.path.
File "/usr/lib/
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa7 in position 23: ordinal not in range(128)
Some kind of confusion with unicode file names?
Changed in launchpad-cscvs: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: cvs |
Similarly, the freetrain import fails with:
File "/home/ importd/ dists/launchpad /lib/cscvs/ cmds/totla. py", line 252, in totla changeset( source_ tree, logger, apply, revision, target_tree, revisions) importd/ dists/launchpad /lib/cscvs/ cmds/totla. py", line 122, in apply_changeset apply(logger, target_tree, prune) importd/ dists/launchpad /lib/svn_ oo/AddedFile. py", line 27, in apply importd/ dists/launchpad /lib/svn_ oo/util. py", line 80, in addFile target_ tree, relpath, url, revision) importd/ dists/launchpad /lib/svn_ oo/util. py", line 91, in writeFile importd/ dists/launchpad /lib/SCM/ __init_ _.py", line 203, in write_file_ breaking_ links unlink( newname)
apply_
File "/home/
fileChange.
File "/home/
self.url(), self.revision)
File "/home/
writeFile(
File "/home/
filemode(url, revision))
File "/home/
os.
UnicodeEncodeError: 'ascii' codec can't encode characters in position 115-117: ordinal not in range(128)
Generally, cscvs does not seem to like non-ascii names.