Package: viking
Version: 1.4.2-2+b1
Severity: normal

Dear Maintainer,
there is some problem when working with path containing some accented
Unicode characters. Thumbnails along a track are empty with comment
"Thumbnail Not Yet Loaded" and Viking outputs (probably misleading)
warnings:
    ** (viking:11583): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/265ff26afc107fd08e499fc7263f36c1.png.Viking-11583'
 to '/home/zito/.thumbnails/normal/265ff26afc107fd08e499fc7263f36c1.png': No 
such file or directory
I think the generation of thumbnail failed and a `filename.Viking-pid' is
removed before it can be renamed.

I have the .vik filename in the same directory as photo images and I tried to
remove absolute image patchname from .vik file - it doesn't help. The problem
is the working directory filename.

Example - cwd with the character `ě' (e with caron):

  zito@bobek:/data/photo.archive/2014/ě$ ll
  total 10032
  -rw-r--r-- 1 zito zito 1196012 May  1 16:25 2014.05.01-16.25.44.jpg
  -rw-r--r-- 1 zito zito  972969 May  1 16:45 2014.05.01-16.45.38.jpg
  -rw-r--r-- 1 zito zito 1451345 May  1 16:52 2014.05.01-16.52.13.jpg
  -rw-r--r-- 1 zito zito 1231901 May  1 17:10 2014.05.01-17.10.03.jpg
  -rw-r--r-- 1 zito zito 1389543 May  1 17:10 2014.05.01-17.10.11.jpg
  -rw-r--r-- 1 zito zito 1606688 May  1 17:48 2014.05.01-17.48.25.jpg
  -rw-r--r-- 1 zito zito 2234258 May  1 17:48 2014.05.01-17.48.54.jpg
  -rw-r--r-- 1 zito zito  175046 May  3 23:17 2014.05.01.vik
  zito@bobek:/data/photo.archive/2014/ě$ viking 2014.05.01.vik
  
  ** (viking:12246): WARNING **: Unknown GObject type 'VikWmscMapSource'
  
  (viking:12246): GLib-GObject-WARNING **: g_object_set_valist: construct 
property "lat-attr" for object 'VikGotoXmlTool' can't be set after construction
  
  (viking:12246): GLib-GObject-WARNING **: g_object_set_valist: construct 
property "lon-attr" for object 'VikGotoXmlTool' can't be set after construction
  
  ** (viking:12246): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/03b781aae28789dcabb83f573e28e750.png.Viking-12246'
 to '/home/zito/.thumbnails/normal/03b781aae28789dcabb83f573e28e750.png': No 
such file or directory
  
  ** (viking:12246): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/67cc1f4c3a760df1a6974b07f428d883.png.Viking-12246'
 to '/home/zito/.thumbnails/normal/67cc1f4c3a760df1a6974b07f428d883.png': No 
such file or directory
  
  ** (viking:12246): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/1356a16a5a74795d7e02ba004aaa1993.png.Viking-12246'
 to '/home/zito/.thumbnails/normal/1356a16a5a74795d7e02ba004aaa1993.png': No 
such file or directory
  
  ** (viking:12246): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/0bff549490b3133d34a80029da6addd8.png.Viking-12246'
 to '/home/zito/.thumbnails/normal/0bff549490b3133d34a80029da6addd8.png': No 
such file or directory
  
  ** (viking:12246): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/e3e705abc9f1d20779d8c9df2902b411.png.Viking-12246'
 to '/home/zito/.thumbnails/normal/e3e705abc9f1d20779d8c9df2902b411.png': No 
such file or directory
  
  ** (viking:12246): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/66c38edcaf46f0fc78bf0528cf4a1d7d.png.Viking-12246'
 to '/home/zito/.thumbnails/normal/66c38edcaf46f0fc78bf0528cf4a1d7d.png': No 
such file or directory
  
  ** (viking:12246): WARNING **: Failed to rename 
'/home/zito/.thumbnails/normal/49b20db24ace815250f2be7652f40417.png.Viking-12246'
 to '/home/zito/.thumbnails/normal/49b20db24ace815250f2be7652f40417.png': No 
such file or directory
  zito@bobek:/data/photo.archive/2014/ě$ 

...thumbnails are not loaded.

Directory renamed to `é' (e with acute):

  zito@bobek:/data/photo.archive/2014/é$ viking 2014.05.01.vik
  
  ** (viking:12534): WARNING **: Unknown GObject type 'VikWmscMapSource'
  
  (viking:12534): GLib-GObject-WARNING **: g_object_set_valist: construct 
property "lat-attr" for object 'VikGotoXmlTool' can't be set after construction
  
  (viking:12534): GLib-GObject-WARNING **: g_object_set_valist: construct 
property "lon-attr" for object 'VikGotoXmlTool' can't be set after construction
  zito@bobek:/data/photo.archive/2014/é$ 

...thumbnails are loaded OK.

I can rename the directory without problem, the path in .vik is relative:

  zito@bobek:/data/photo.archive/2014/é$ egrep -o 'image=[^[:space:]]+' 
2014.05.01.vik 
  image="2014.05.01-16.45.38.jpg"
  image="2014.05.01-16.52.13.jpg"
  image="2014.05.01-17.10.03.jpg"
  image="2014.05.01-17.10.11.jpg"
  image="2014.05.01-17.48.25.jpg"
  image="2014.05.01-17.48.54.jpg"
  image="2014.05.01-16.25.44.jpg"

I have removed the absolute pathname by hand from .vik file.
Viking probably works with letters contained in latin1 in the pathname,
but not with some letters contained in latin2 or maybe other chars.
Best Regards
-- 
Zito

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armel

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages viking depends on:
ii  gpsbabel             1.4.3-1
ii  libatk1.0-0          2.12.0-1
ii  libc6                2.18-5
ii  libcairo2            1.12.16-2
ii  libcurl3-gnutls      7.36.0-2
ii  libexif12            0.6.21-1
ii  libexpat1            2.1.0-4
ii  libfontconfig1       2.11.0-5
ii  libfreetype6         2.5.2-1
ii  libgdk-pixbuf2.0-0   2.30.7-1
ii  libglib2.0-0         2.40.0-3
ii  libgps21             3.10+dev1~a33bfd44-2
ii  libgtk2.0-0          2.24.23-1
ii  libpango-1.0-0       1.36.3-1
ii  libpangocairo-1.0-0  1.36.3-1
ii  libpangoft2-1.0-0    1.36.3-1
ii  libx11-6             2:1.6.2-1
ii  zlib1g               1:1.2.8.dfsg-1

Versions of packages viking recommends:
ii  expect-dev  5.45-5

Versions of packages viking suggests:
pn  gpsd  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to