unison can't handle international characters in folder names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unison (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: unison
I use Unison to synchronize my music collection between computers. Recently I've added a new CD, ripped via Rhythmbox into the flac format, by the artist Bjørn Lynne. I previously had some of his music under the name "Bjorn Lynne" (my music is organized by artist) but decided to move it all to the new folder, "Bjørn Lynne". Unison is unable to synchronize his folder apparently because of the unusual character in his name. The relevant portion of Unison's log file is quoted below.
UNISON 2.27.57 started propagating changes at 21:00:29 on 24 Apr 2010
[BGN] Copying Bjørn Lynne from /home/james/Music to //jdu-l/
[BGN] Updating file REM/Around The Sun/track02.oga from //jdu-l/
[BGN] Updating file REM/Around The Sun/track10.oga from //jdu-l/
[BGN] Copying The Concert/
[BGN] Copying Ubuntu Podcast from the UK LoCo team » ogg-high/
Shortcut: copying Bjørn Lynne/Beneath Another Sky/Bjorn_
Shortcut: copying Bjørn Lynne/Beneath Another Sky/bjorn_
Shortcut: copying Bjørn Lynne/Return to Witchwood/
Shortcut: copying Bjørn Lynne/Soothe/
Shortcut: copying Bjørn Lynne/The Gods Awaken/
Failed: Not_found raised in tryCopyMovedFile (this indicates a bug!)
[END] Updating file REM/Around The Sun/track02.oga
[END] Updating file REM/Around The Sun/track10.oga
[END] Copying Ubuntu Podcast from the UK LoCo team » ogg-high/
[END] Copying The Concert/
[BGN] Deleting Bjorn Lynne from //jdu-l/
[BGN] Deleting REM/Around The Sun/.track11.
[END] Deleting Bjorn Lynne
[END] Deleting REM/Around The Sun/.track11.
UNISON 2.27.57 finished propagating changes at 21:02:14 on 24 Apr 2010
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: unison-gtk 2.27.57-2ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Apr 24 21:01:13 2010
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: unison
XsessionErrors:
(polkit-
(dropbox:2078): Gdk-CRITICAL **: gdk_window_
(gnome-
On Sun, Apr 25, 2010 at 04:16:28AM -0000, James Dearing wrote: Bjorn_Lynne- Joolis- Song-surround. ac3 from local file Bjorn Lynne/The Gods Awaken/ Bjorn_Lynne- Joolis- Song-surround. ac3
> I use Unison to synchronize my music collection between computers.
> Recently I've added a new CD, ripped via Rhythmbox into the flac format,
> by the artist Bjørn Lynne. I previously had some of his music under the
> name "Bjorn Lynne" (my music is organized by artist) but decided to move
> it all to the new folder, "Bjørn Lynne". Unison is unable to synchronize
> his folder apparently because of the unusual character in his name. The
> relevant portion of Unison's log file is quoted below.
[...]
> Shortcut: copying Bjørn Lynne/The Gods Awaken/
> Failed: Not_found raised in tryCopyMovedFile (this indicates a bug!)
This is a known bug in Unison 2.27, which is fixed in the latest
stable release. It is not due to the unusual character, but is
rather a consequence of renaming the directory. Unison then optimizes
the transfer using local copies. When this happens, a message is
printed client-side ("Shortcut: copying ... from local file...), but
there is a bug in doing so...
A workaround is to add "xferbycopying = false" to your profile (maybe
just for synchronizing this directory).
-- Jerome