Andre Poenitz wrote:
Seen on the user's list.


We definitely should _not_ crash on asserts. This is about the most
annoying behaviour one can get.

Why does he run an assertion enabled binary anyway? The packager (scons?) should disable assertion for Release mode.

I mean, either we disable the assertion or we do something useful with it, like warn the user about a problem and let him choose to ignore the problem or not. If we implement the later, we should replace all non obvious assertions (like the one in the example) with exceptions.

Abdel.



----- Forwarded message from Andrew Dolman <[EMAIL PROTECTED]> -----

Date: Wed, 19 Sep 2007 10:24:47 +1000
From: Andrew Dolman <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Spam-Score: 0.0 (/)
Subject: Re: problem with odt export on Windows Lyx 1.5.1-1

Yes, this is the full detail of the message I get if I try to export to
Latex (Plain), I don't get a crash exporting to odt, it just doesn't produce
a file. I'd like to try running from the command line to see all the error
messages, but I don't know how to do this in Windows (i've run oolatex in
Linux and that worked to find the problem).


lyx: Disabling LyX socket.
Warning: Export Warning!
----------------------------------------
There are spaces in the path to your BibTeX style file.
BibTeX will be unable to find it.
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 "!contains(name_, '\\')" in file
D:\LyX\lyx-1.5.1\src\support\FileName.cpp:49

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
Completed


Andy.




On 19/09/2007, Richard Heck <[EMAIL PROTECTED]> wrote:
Andrew Dolman wrote:
Further attempts and I have found another issue. I can't export to
plain latex either. I get the message "There are spaces in the path to
your BibTeX style file. BibTeX will be unable to find it." Then the
program crashes. There are of course spaces in the path on Windows,
"Program Files" is the obvious one, but it doesn't seem to have a
problem exporting to pdf.
LyX crashes under these circumstances? If so, that's bad....

rh
Andy.

On 18/09/2007, *Richard Heck* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:

    Andrew Dolman wrote:
    > Hi All,
    >
    > I'm having difficulty exporting to .odt format. I notice that
    there have
    > been a few threads covering this but they don't seem to solve
    the issue for
    > me.
    >
    > The process seems to run ok but no odt file appears. I've search
    thoroughly
    > for it, it's not just that it is hiding in a temp or my docs
    folder. I've
    > also tried changing fonts, and I've made sure that zip files are
    associated
    > properly. The .tex file gets produced ok, i can find that in the
    temp
    > folder.
    >
    > Has anyone fixed this on their system?
    >
    There have been some issues about paths. I don't know if that is the
    issue here. The way to approach this is to export manually to
    LaTeX and
    then run htlatex manually so you can see exactly what's happening.
Or
    run LyX from a terminal, and then you should see all all the
messages
    scroll by again.

    rh


    --
    ==================================================================
    Richard G Heck, Jr
    Professor of Philosophy
    Brown University
    http://frege.brown.edu/heck/
    ==================================================================
    Get my public key from http://sks.keyserver.penguin.de
    Hash: 0x1DE91F1E66FFBDEC
    Learn how to sign your email using Thunderbird and GnuPG at:
    http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto




--
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





Reply via email to