tags +patch
thanks

a patch to fix data loss part of this bug.

I still don't know how to deal with non-ascii filename

On 6/28/06, LI Daobing <[EMAIL PROTECTED]> wrote:
Package: xdrawchem
Version: 1.9.9-1
Severity: critical
Justification: causes serious data loss

Hello,

when I want to save a picture into "/home/nichloas/1 1/1.png", xdrawchem
report an error on console[1], pay attention that it tried to remove some
files, so I think it may causes data loss.

similar error happened on non-ascii directory filename[2]

I think xdrawchem forget to encoding filename when transfer filename to
convert and rm.

Thanks.

[1]
convert: unable to open image `/home/nichloas/1': No such file or
directory.
rm: cannot remove `/home/nichloas/1': No such file or directory
rm: cannot remove `1/1.png.eps': No such file or directory

[2]
convert: unable to open image
`/home/nichloas/document/????/pm.chiral.nodummy.1.png': No such file or
directory.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages xdrawchem depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libopenbabel1                 2.0.1-1    Convert and manipulate chemical da
ii  libqt3-mt                     3:3.3.6-2  Qt GUI Library (Threaded runtime v
hi  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3
ii  zlib1g                        1:1.2.3-12 compression library - runtime

xdrawchem recommends no packages.

-- no debconf information




--
LI Daobing

Attachment: 04_directory_name_contain_blank.dpatch
Description: Binary data

Reply via email to