Re: LyX crashes in Ubuntu 9.04
2009/6/11 Michael Gasperl > Package: * > Pin: release a=jaunty > in-Priority: 700 > > Package: * > Pin: release a=karmic > Pin-Priority: 600 > > Package: libqt4* > Pin: release a=karmic > Pin-Priority: 800 > > Package: qt4* > Pin: release a=karmic > Pin-Priority: 800 > > [perhaps it would work without preferences?] Well the conventional wisdom would be that without the preferences file, apt-get would try to upgrade all your files to a completely different (and Alpha quality) version of Ubuntu. If you let apt-get do this, this would probably break your system horribly... However, in this case it would probably be safe to do with without the preferences file for two reasons: 1) The Ubuntu GUI Upgrade Managers would allow you to uncheck the unwanted upgrades anyway. 2) We are removing the karmic sources afterwards anyway, so it would be unlikely that Ubuntu would install these unwanted updates later. I chose this way, because the first described way with update/upgrade > didn't work on my pc. I must have made a mistake, since it should work on any 9.04 Ubuntu system. Oh well, your way seems more user friendly anyway. -- John C. McCabe-Dansted PhD Student University of Western Australia
Re: LyX crashes in Ubuntu 9.04
2009/6/11 John McCabe-Dansted : > 2009/6/11 Thomas Løcke >> >> On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperl >> wrote: >> > Hi! I have the following Problem: >> > LyX 1.6.2 crashes regularily while i scroll down in a bigger document. >> > This only happens if showing graphics is enabled. How can I solve this >> > problem? >> > Thank you very much! >> >> This also happpened to me, on Slackware 12.1, >> >> I fixed it by updating my QT4 library from version 4.4.3 to version >> 4.5.1, and then recompile LyX against that. > > Heh, I upgraded my QT to QT4.5.1. Maybe thats why I cannot reproduce. > > I upgraded this way. (NOTE: this is not supported. If you use this, be > careful, and make backups) > > first I did > > sudo aptitude update > sudo aptitude upgrade > > to make sure I was up-to-date > > Then I added > > deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe > > to /etc/apt/sources.list (you may want to replace the http:// bit with > your local mirror) > > added the following to /etc/apt/preferences > > Package: * > Pin: release a=jaunty > in-Priority: 700 > > Package: * > Pin: release a=karmic > Pin-Priority: 600 > > Package: libqt4* > Pin: release a=karmic > Pin-Priority: 800 > > Package: qt4* > Pin: release a=karmic > Pin-Priority: 800 > > then I did > > sudo aptitude update > sudo aptitude upgrade > > IMPORTANT: make sure there are no packages without qt4 in > their name being upgraded. Otherwise you could hose your system. > > Then I removed the > > deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe > > Line from /etc/apt/sources.list > > -- > John C. McCabe-Dansted > PhD Student > University of Western Australia > == Thank you very much for your afford!! I compiled LyX 1.6.3 as described, worked well. But the error was still there, didn't change anything. Then I upgraded to QT 4.5.1 --> this was the solution! I upgraded QT4 in an other way. In Ubuntu I added deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe To synaptic / package sources Then I created the file (sudo nautilus) /etc/apt/preferences and added the from John C. McCabe-Dansted described lines: Package: * Pin: release a=jaunty in-Priority: 700 Package: * Pin: release a=karmic Pin-Priority: 600 Package: libqt4* Pin: release a=karmic Pin-Priority: 800 Package: qt4* Pin: release a=karmic Pin-Priority: 800 [perhaps it would work without preferences?] Then went to synaptic and selected libqt4-core for updating, synaptic automatically selected the rest and made an update Finally i deactivated the deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe from sources. I chose this way, because the first described way with update/upgrade didn't work on my pc. Thank you all for solving the problem! Michael
RE: LyX crashes in Ubuntu 9.04
>Hi! I have the following Problem: >LyX 1.6.2 crashes regularily while i scroll down in a bigger document. >This only happens if showing graphics is enabled. How can I solve this >problem? >Thank you very much! There is a bug in qt4.5.0 that might crash LyX when you try to scale down a figure on screen to 50% and the figure has an odd number of lines. Please upgrade to qt4.5.1, or change the 50% into e.g. 51%. see also: http://www.lyx.org/trac/ticket/5957 Vincent
Re: LyX crashes in Ubuntu 9.04
2009/6/11 Thomas Løcke > On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperl > wrote: > > Hi! I have the following Problem: > > LyX 1.6.2 crashes regularily while i scroll down in a bigger document. > > This only happens if showing graphics is enabled. How can I solve this > > problem? > > Thank you very much! > > This also happpened to me, on Slackware 12.1, > > I fixed it by updating my QT4 library from version 4.4.3 to version > 4.5.1, and then recompile LyX against that. Heh, I upgraded my QT to QT4.5.1. Maybe thats why I cannot reproduce. I upgraded this way. (NOTE: this is not supported. If you use this, be careful, and make backups) first I did sudo aptitude update sudo aptitude upgrade to make sure I was up-to-date Then I added deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe to /etc/apt/sources.list (you may want to replace the http:// bit with your local mirror) added the following to /etc/apt/preferences Package: * Pin: release a=jaunty in-Priority: 700 Package: * Pin: release a=karmic Pin-Priority: 600 Package: libqt4* Pin: release a=karmic Pin-Priority: 800 Package: qt4* Pin: release a=karmic Pin-Priority: 800 then I did sudo aptitude update sudo aptitude upgrade IMPORTANT: make sure there are no packages without qt4 in their name being upgraded. Otherwise you could hose your system. Then I removed the deb http://ftp.iinet.net.au/pub/ubuntu/ karmic main restricted universe Line from /etc/apt/sources.list -- John C. McCabe-Dansted PhD Student University of Western Australia
Re: LyX crashes in Ubuntu 9.04
On Thu, Jun 11, 2009 at 6:25 AM, Michael Gasperl wrote: > Hi! I have the following Problem: > LyX 1.6.2 crashes regularily while i scroll down in a bigger document. > This only happens if showing graphics is enabled. How can I solve this > problem? > Thank you very much! This also happpened to me, on Slackware 12.1, I fixed it by updating my QT4 library from version 4.4.3 to version 4.5.1, and then recompile LyX against that. I've no idea why this helped, but at least LyX doesn't crash anymore. It can't hurt trying, :o) /Thomas
Re: LyX crashes in Ubuntu 9.04
2009/6/11 Michael Gasperl > Hi! I have the following Problem: > LyX 1.6.2 crashes regularily while i scroll down in a bigger document. > This only happens if showing graphics is enabled. How can I solve this > problem? > Thank you very much! I cannot reproduce the problem. 1) Are you using 32bit or 64bit Ubuntu? 2) Can you send a document that reproduces the problem? It would also help if you could run LyX in a debugger. Either install a later version of LyX from source (this may fix the problem anyway) or install the Ubuntu ddebs. Compiling sounds tricky, but the following commands should suffice in a terminal sudo aptitude build-dep lyx cd wget -c ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/lyx-1.6.3.tar.bz2 tar -jxf lyx-1.6.3.tar.bz2 cd lyx-1.6.3 ./configure && make gdb src/lyx run Cause LyX to crash, and then type bt To get the backtrace, and then cut-and-paste it here. Feel free to discuss any problems here, or directly to me. -- John C. McCabe-Dansted PhD Student University of Western Australia
LyX crashes in Ubuntu 9.04
Hi! I have the following Problem: LyX 1.6.2 crashes regularily while i scroll down in a bigger document. This only happens if showing graphics is enabled. How can I solve this problem? Thank you very much!