unison can't handle international characters in folder names

Bug #569647 reported by James Dearing
6
This bug affects 1 person
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//home/james/Music
[BGN] Updating file REM/Around The Sun/track02.oga from //jdu-l//home/james/Music to /home/james/Music
[BGN] Updating file REM/Around The Sun/track10.oga from //jdu-l//home/james/Music to /home/james/Music
[BGN] Copying The Concert/theconcert92.mp3 from //jdu-l//home/james/Music to /home/james/Music
[BGN] Copying Ubuntu Podcast from the UK LoCo team » ogg-high/uupc_s03e05_high.ogg from //jdu-l//home/james/Music to /home/james/Music
Shortcut: copying Bjørn Lynne/Beneath Another Sky/Bjorn_Lynne-Starfield_(5-1_Surround).ac3 from local file Bjorn Lynne/Beneath Another Sky/Bjorn_Lynne-Starfield_(5-1_Surround).ac3
Shortcut: copying Bjørn Lynne/Beneath Another Sky/bjorn_lynne-secret_world_(surround_version).ac3 from local file Bjorn Lynne/Beneath Another Sky/bjorn_lynne-secret_world_(surround_version).ac3
Shortcut: copying Bjørn Lynne/Return to Witchwood/Bjorn_Lynne-A-Lifetime-Of-Moments_(5-1_surround).ac3 from local file Bjorn Lynne/Return to Witchwood/Bjorn_Lynne-A-Lifetime-Of-Moments_(5-1_surround).ac3
Shortcut: copying Bjørn Lynne/Soothe/Bjorn_Lynne-Sun_Willow-surround.ac3 from local file Bjorn Lynne/Soothe/Bjorn_Lynne-Sun_Willow-surround.ac3
Shortcut: copying Bjørn Lynne/The Gods Awaken/Bjorn_Lynne-Joolis-Song-surround.ac3 from local file Bjorn Lynne/The Gods Awaken/Bjorn_Lynne-Joolis-Song-surround.ac3
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/uupc_s03e05_high.ogg
[END] Copying The Concert/theconcert92.mp3
[BGN] Deleting Bjorn Lynne from //jdu-l//home/james/Music
[BGN] Deleting REM/Around The Sun/.track11.oga7873D2 from //jdu-l//home/james/Music
[END] Deleting Bjorn Lynne
[END] Deleting REM/Around The Sun/.track11.oga7873D2
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
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
Date: Sat Apr 24 21:01:13 2010
ExecutablePath: /usr/bin/unison-2.27.57-gtk
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: unison
XsessionErrors:
 (polkit-gnome-authentication-agent-1:2027): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (dropbox:2078): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed
 (gnome-terminal:15523): Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion `entry != NULL && entry->lock_count > 0' failed

Related branches

Revision history for this message
James Dearing (dearingj) wrote :
Revision history for this message
Jérôme Vouillon (jerome-vouillon) wrote : Re: [Bug 569647] [NEW] unison can't handle international characters in folder names

On Sun, Apr 25, 2010 at 04:16:28AM -0000, James Dearing wrote:
> 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/Bjorn_Lynne-Joolis-Song-surround.ac3 from local file Bjorn Lynne/The Gods Awaken/Bjorn_Lynne-Joolis-Song-surround.ac3
> 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

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unison - 2.32.52-1ubuntu1

---------------
unison (2.32.52-1ubuntu1) maverick; urgency=low

  * Merge from Debian unstable, remaining changes:
    - Change default logfile directory to .unison by prepending
      .unison to name of logfile in ubase/trace.ml. For this reason
      debian/patches/00list still include change-logfile-location
  * New upstream version fixes bugs:
    - file permissions probem, LP: #304453
    - slowliness on large files, LP: #394895
    - "Failed: Not_found" after directory rename, LP: #569647

unison (2.32.52-1) unstable; urgency=low

  * New upstream release (Closes: #559054)
  * Merge changes from unison2.27.57:
    * Move ${F:OtherUnison*} fields first due to a problem when merging
      conflicts in dpkg-gencontrol
  * Generate manpage using debian/generate-manpage.ml and output of 'unison
    -help', so manpage is always up-to-date
    (Closes: #524526, #517972, #524475)
  * Backup files changed during build (lwt/depend, ubase/depend)

unison (2.27.57-4) unstable; urgency=low

  * Merge changes from unison2.27.57:
    * Update Standards-Version to 3.8.4 (no change)
    * Stop using dh_desktop
    * Use dh_ocaml 0.9 features (auto dependencies)
  * unison binaries are custom executables, so we can remove Depends on any
    ocaml-base* packages (Closes: #540481)
  * Add bash_completion (Closes: #349782, #481070)
  * Use the full path to access icon in .desktop (Closes: #541700)
  * Patch from unison trunk to remove 'Connected ...' message even when
    -silent is set (Closes: #497729, #551199)
  * Auto generate conflicts with unisonX.Y.Z or unison (X.Y.Z) package
    (Closes: #570910)
  * Enhance templating for unison and unison-gtk common files
 -- Ilya Barygin <email address hidden> Sat, 08 May 2010 13:56:17 +0000

Changed in unison (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.