LyXPython update = LyX crashing

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
hazza96
Posts: 8
Joined: Thu Apr 24, 2008 12:17 pm

Python update = LyX crashing

Post by hazza96 »

I use the latest version of Ubuntu 8.04, recently there was a python update, now LyX will not open a document that I have been working on.... or any document for that matter, it just crashes.

Anyone having a similar problem? Anyone know a workaround?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Re: Python update = LyX crashing

Post by Stefan Kottwitz »

Hi hazza96,

do you get an error message?

Stefan
LaTeX.org admin
hazza96
Posts: 8
Joined: Thu Apr 24, 2008 12:17 pm

Re: Python update = LyX crashing

Post by hazza96 »

If I start it using the icon, it starts ok but as soon as I try and open any file it just disappears, no error messages nothing.

When I start it up using a terminal it does give some error message but I can't remember what, it says something about 'you found a bug' and how to report it but that causes LyX to crash as well.

I will get a more detailed error report and post that.
hazza96
Posts: 8
Joined: Thu Apr 24, 2008 12:17 pm

Python update = LyX crashing

Post by hazza96 »

Here is the error report:

Code: Select all

QPaintEngine::setSystemClip: Should not be changed while engine is active
QPaintEngine::setSystemClip: Should not be changed while engine is active
QWidgetPrivate::beginSharedPainter: Painter is already active
QWidgetPrivate::endSharedPainter: Attempting to end a null painter
QPaintEngine::setSystemClip: Should not be changed while engine is active
QPaintEngine::setSystemClip: Should not be changed while engine is active
QWidgetPrivate::beginSharedPainter: Painter is already active

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted
hazza96
Posts: 8
Joined: Thu Apr 24, 2008 12:17 pm

Re: Python update = LyX crashing

Post by hazza96 »

After doing a bit of searching on that error message it appears that an update to QT is the cause of the problem. The latest version of LyX doesn't have the issue so I am going to try and find it to install on my laptop.
washingweiss
Posts: 1
Joined: Wed Jun 11, 2008 6:14 pm

Python update = LyX crashing

Post by washingweiss »

The problem should be due to a system-update with backports activated in the sources.list.

There's a solution: https://bugs.launchpad.net/ubuntu/+sour ... bug/228067.
To put it in a nutshell:
1. Disable the backports updates (unsupported) in the update manager
2. apt-get remove libqt4-dbus libqt4-test libqtcore4 libqt4-xml libqtgui4 libqt4-network libqt4-script libqt4-opengl libqt4-svg libqt4-assistant
3 apt-get clean
(! removes all previously downloaded deb files from /var/cache/apt/archives)
4. apt-get install --reinstall libqt4-gui libqt4-core
5. Check, if everything went fine:
apt-get -f install or
dpkg --configure -a
Post Reply