At 06:22 PM 07/10/2002, you wrote: >On Mon, Oct 07, 2002 at 05:00:04PM +0930, Darren Freeman wrote: > > > When I open the file with LyX, it freezes about 20% of the way down the > > document. As in, you scroll down and after hitting a certain part it > > freezes LyX. > >What do top or ps aux say about the status of the lyx process?
I grabbed the output of ps aux for you but left it on another drive - woops. It was running external converters for the image anyway. You'll be more than compensated by the following =) > > And NO I can't post the document it's confidential. It's free software, > not > > free document =) > >Would you manage somehow to cut down the doc to the minimum producing the >lock-up? And is it then postable? My first look at the LyX file format =) I managed to come up with a minimal file which is 100% guaranteed to lock up LyX on my system. Hopefully yours too. It turns out that the fault was due to weird filenames and symlinks.. I couldn't believe what I had to preserve in the directory tree to keep it locking up. Do the following: Unpack the attached tgz anywhere. You will see the directory "Blah1 - Blah2" and the symlink "blah-link" to this directory. LyX has problems when there are spaces in filenames etc. so the link is a tempting fix. CD into the linked directory. You will see hang.lyx and fig.png Run LyX from this directory. Choose the open file dialogue. Something interesting happens: the path to the file you are looking at is the absolute path, not the symlink where you were. Hence there are spaces in this filename. If you open hang.lyx and unfold the figure, you will lock LyX while the external converters get confused by the filenames. If you instead open by changing to the path including the blah-link symlink, so that no spaces are present, everything is fine. Of course fig.png is empty, but if you stuck something in there it would now display it. It is critical that the offending directory be like "Blah1 - Blah2" and not just "Blah1 Blah2", the minus character has something to do with it. So you see how much of a fluke it was that I even caused this problem!! > > Have fun, > > Darren Freeman > > > >Martin Hope this helped.. Was a real bitch to figure out how to cause the fault in a directory-portable way! Have fun, Darren Freeman
hang-lyx.tgz
Description: application/compressed