i don't see this (win/cmake/msvc)

...


-----Original Message-----
From: Michael Gerz [mailto:[EMAIL PROTECTED]
Sent: Sat 12/23/06 14:36
To: LyX Developers List
Subject: another showstopper for people using bibtex bibliographies
 
Hello everybody,

a cry for help from a desperate soul :-)

The following bug report has been added to Status.15x. Unfortunately, I 
don't have a debugger on Windows which makes it very hard to track the 
problem. IIRC, the bug was introduced by one of the former unicode updates.

Regards, Michael


* On Windows (using scons/MSVC): Create an empty bibtex file, called
'lit.bib'. Create a new LyX document 'lit.lyx' in the same directory
that has a bibliography inset pointing to lit.bib.
Now, if lit.[lyx|bib] are stored in a path with ASCII characters only,
class FileName is used as follows:
FileName::FileName(string const &): C:/foo/lit.lyx.emergency
FileName::FileName(string const &): C:/foo/#lit.lyx#
FileName::FileName(string const &): C:/foo/
FileName::FileName(string const &): C:/foo/lit.bib
FileName::FileName(string const &): C:/lyx-trunk/build-msvc/bin
FileName::FileName(string const &): C:/foo/lit.lyx,v
FileName::FileName(string const &): C:/foo/RCS/lit.lyx,v
FileName::FileName(string const &): C:/foo//CVS/Entries
FileName::FileName(string const &): C:/foo/lit.lyx
However, if the path contains a German Umlaut ("bäh"), LyX crashes:
FileName::FileName(string const &): C:/bäh/lit.lyx.emergency
FileName::FileName(string const &): C:/bäh/#lit.lyx#
FileName::FileName(string const &): C:/bäh/
FileName::FileName(string const &): C:/bäh/lit.bib
FileName::FileName(string const &): lit.bib
Assertion triggered in __thiscall lyx::support::FileName::FileName(const 
class std::basic_string<char,struct std::char_traits<char>,class 
std::allocator<char> > &) by failing check "empty() || 
absolutePath(name_)" in fil
e C:\cygwin\home\ms\lyx-trunk\src\support\filename.C:48


Reply via email to