[Pkg-lyx-devel] Bug#674289: lyx: LyX strips non-ASCII characters from filenames

Anton Eliasson devel at antoneliasson.se
Thu May 24 08:37:33 UTC 2012


Package: lyx
Version: 2.0.3-2+b1
Severity: important
Tags: l10n

Dear Maintainer,
I noticed this while trying to import a LaTeX file with the Swedish character
'ä' in it's filename. The GUI just showed some meaningless error message in
the shape of "Something bad happened to a subprocess, but I have no idea what".
However, in the terminal, the output was this:

Running: tex2lyx -f "Inlämningsuppgift 1 - EDA016.tex" "Inlämningsuppgift 1 -
EDA016.lyx"
Creating file /home/anton/Dokument/Skolarbeten/20111027 - EDA016 -
Inlmningsuppgift 1/Inlmningsuppgift 1 - EDA016.lyx
Could not open output file "/home/anton/Dokument/Skolarbeten/20111027 - EDA016
- Inlmningsuppgift 1/Inlmningsuppgift 1 - EDA016.lyx" for writing.
.../../../src/support/Systemcall.cpp(270): Systemcall: 'tex2lyx -f
"Inlämningsuppgift 1 - EDA016.tex" "Inlämningsuppgift 1 - EDA016.lyx"'
finished with exit code 1
Error: Kan inte omvandla fil
----------------------------------------
Ett fel uppstod vid körning av:
tex2lyx -f "Inlämningsuppgift 1 - EDA016.tex" "Inlämningsuppgift 1 -
EDA016.lyx"

Rough translation:
Error: Kan inte omvandla fil -> Error: Cannot convert file
Ett fel uppstod vid körning av -> An error occurred during the processing of

I tried to run LyX with LANG=C to get English strings for reporting purposes,
but then I couldn't open the same file at all, because the file browser looks
like this: http://i.imgur.com/dOLx0.png and the directories with icons that
looks like documents can't be opened because they don't really exist.



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=sv_SE.utf8, LC_CTYPE=sv_SE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lyx depends on:
ii  libboost-regex1.49.0    1.49.0-3
ii  libboost-signals1.49.0  1.49.0-3
ii  libc6                   2.13-32
ii  libenchant1c2a          1.6.0-7
ii  libgcc1                 1:4.7.0-8
ii  libmythes-1.2-0         2:1.2.2-1
ii  libqtcore4              4:4.8.1-1
ii  libqtgui4               4:4.8.1-1
ii  libstdc++6              4.7.0-8
ii  lyx-common              2.0.3-2
ii  xdg-utils               1.1.0~rc1+git20111210-6
ii  zlib1g                  1:1.2.7.dfsg-8

Versions of packages lyx recommends:
ii  dvipng                     1.14-1+b1
ii  elyxer                     1.2.3-1
ii  evince [pdf-viewer]        3.4.0-2
ii  fonts-lyx                  2.0.3-2
ii  ghostscript                9.05~dfsg-5
ii  imagemagick                8:6.7.4.0-5
ii  poppler-utils              0.16.7-3
ii  preview-latex-style        11.86-10
ii  psutils                    1.17-31
ii  texlive-fonts-recommended  2012.20120516-1
ii  texlive-generic-extra      2012.20120516-1
ii  texlive-latex-extra        2012.20120516-1
ii  texlive-latex-recommended  2012.20120516-1
ii  texlive-science            2012.20120516-1

Versions of packages lyx suggests:
pn  chktex          <none>
pn  dvipost         <none>
pn  etoolbox        <none>
pn  gnuhtml2latex   <none>
pn  groff           <none>
pn  latex2rtf       <none>
pn  librsvg2-bin    2.36.1-1
pn  libtiff-tools   <none>
pn  linuxdoc-tools  <none>
pn  noweb           <none>
pn  rcs             <none>
pn  sgmltools-lite  <none>
pn  texlive-xetex   2012.20120516-1
pn  writer2latex    <none>
pn  wv              <none>

-- no debconf information





More information about the Pkg-lyx-devel mailing list