Windows - Linux -- UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 13: unexpected code byte
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
I was trying to use Bazaar as a sync tool between windows and linux machines. Linux and windows run on the same machine in this case and the repository and branches were created initially from windows. I guess the following problem is somewhat unusual. Here are the steps to reproduce the trace at the end of this report.
1. Start Windows (I use XP SP2)
2. Create a Bazaar repository. Mine contains a huge number of PDF files (~ 4GB).
3. Linux is installed on the same machine. I have mounted the ext3 file system
to have access to it when using windows. I created a branch and run update.
The files initially committed in step 2 were imported. I used the menu in the
windows explorer to achieve this.
4. I changed a file in the original repository on my ntfs partition.
5. I started Ubunutu 8.04
6. I ran 'bzr update' from the console in the repository --> Error
I guess Bazaar is not meant to be used for this purpose or at least I should create the branch form linux?
Anyway, I want to report here in case it is important.
-------
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
to_
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
return unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
(None, utf8_decode(
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 13: unexpected code byte
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'status']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'de_DE.UTF-8'
plugins:
launchpad /usr/lib/
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Low |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Ok I had a look at the log file and it states that the repository was created with the default os encoding - which is cp1252 in my case (when running Windows). In Linux it is UTF-8 so I guess this is the fault. If this is correct this bug is invalid?
Sorry...