Re: LyX crashes if preview svg

2009-11-18 Thread Manveru
2009/11/18 Waluyo Adi Siswanto was.u...@gmail.com:
 
  How I can fix this ?

 it looks the qt libraries are messed up in your system. try reinstalling 
 them.
 the last possibility would be to compile qt locally in your home and link
 lyx against them (some proper arg for configure).


 Thanks Pavel I really appreciate it
 I tried to find different libqt in synaptic and found libqtgui4 and
 libqtcore4 showing version 4.4.0. Others are version 4.3.4, including
 libqt4-core and libqt4-gui, both are version 4.3.4.
 I deleted libqtgui4 and libqtcore4.

 Now my LyX can preview directly svg file and can be externally edit
 using Inkscape, without any crash.

 There is a litle problem however, in LyX preview. All equations written
 using LaTeX text extension for Inkscape (textext) are not displayed, but
 appear perfectly in pdfview and in hard printing of this pdf is also OK.

 Below the message when I run LyX from terminal (ubuntu 8.04):
 wal...@waluyo-laptop:~$ lyx-1.6.4
 link textext-2c447465-1 hasn't been detected!
 link textext-2c447465-1 hasn't been detected!

 This behaviour (cannot preview textext Inscape extension) also happens
 in another machine (ubuntu 9.04).

 Is that possible to preview the the textext embedded in Inkscape?

 Thank you for any information

This is not a clear answer to your question, but as far as I can tell
you QT displays only standardized SVG format, which means all Inkscape
extensions (which textext probably is - I personally haven't tested it
yet) are ignored.

In case of PDF preparation all your SVG images are converted by
Inkscape (probably) to EPS or PDF - Inkscape itself interprets the
extensions during conversion, so that is why you see you equations
embedded in vector images in final output.

I hope I explain the problem clearly.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: LyX crashes if preview svg

2009-11-18 Thread Manveru
2009/11/18 Waluyo Adi Siswanto was.u...@gmail.com:
 
  How I can fix this ?

 it looks the qt libraries are messed up in your system. try reinstalling 
 them.
 the last possibility would be to compile qt locally in your home and link
 lyx against them (some proper arg for configure).


 Thanks Pavel I really appreciate it
 I tried to find different libqt in synaptic and found libqtgui4 and
 libqtcore4 showing version 4.4.0. Others are version 4.3.4, including
 libqt4-core and libqt4-gui, both are version 4.3.4.
 I deleted libqtgui4 and libqtcore4.

 Now my LyX can preview directly svg file and can be externally edit
 using Inkscape, without any crash.

 There is a litle problem however, in LyX preview. All equations written
 using LaTeX text extension for Inkscape (textext) are not displayed, but
 appear perfectly in pdfview and in hard printing of this pdf is also OK.

 Below the message when I run LyX from terminal (ubuntu 8.04):
 wal...@waluyo-laptop:~$ lyx-1.6.4
 link textext-2c447465-1 hasn't been detected!
 link textext-2c447465-1 hasn't been detected!

 This behaviour (cannot preview textext Inscape extension) also happens
 in another machine (ubuntu 9.04).

 Is that possible to preview the the textext embedded in Inkscape?

 Thank you for any information

This is not a clear answer to your question, but as far as I can tell
you QT displays only standardized SVG format, which means all Inkscape
extensions (which textext probably is - I personally haven't tested it
yet) are ignored.

In case of PDF preparation all your SVG images are converted by
Inkscape (probably) to EPS or PDF - Inkscape itself interprets the
extensions during conversion, so that is why you see you equations
embedded in vector images in final output.

I hope I explain the problem clearly.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: LyX crashes if preview svg

2009-11-18 Thread Manveru
2009/11/18 Waluyo Adi Siswanto :
>> >
>> > How I can fix this ?
>>
>> it looks the qt libraries are messed up in your system. try reinstalling 
>> them.
>> the last possibility would be to compile qt locally in your home and link
>> lyx against them (some proper arg for configure).
>>
>
> Thanks Pavel I really appreciate it
> I tried to find different libqt in synaptic and found libqtgui4 and
> libqtcore4 showing version 4.4.0. Others are version 4.3.4, including
> libqt4-core and libqt4-gui, both are version 4.3.4.
> I deleted libqtgui4 and libqtcore4.
>
> Now my LyX can preview directly svg file and can be externally edit
> using Inkscape, without any crash.
>
> There is a litle problem however, in LyX preview. All equations written
> using LaTeX text extension for Inkscape (textext) are not displayed, but
> appear perfectly in pdfview and in hard printing of this pdf is also OK.
>
> Below the message when I run LyX from terminal (ubuntu 8.04):
> wal...@waluyo-laptop:~$ lyx-1.6.4
> link textext-2c447465-1 hasn't been detected!
> link textext-2c447465-1 hasn't been detected!
>
> This behaviour (cannot preview textext Inscape extension) also happens
> in another machine (ubuntu 9.04).
>
> Is that possible to preview the the textext embedded in Inkscape?
>
> Thank you for any information

This is not a clear answer to your question, but as far as I can tell
you QT displays only standardized SVG format, which means all Inkscape
extensions (which textext probably is - I personally haven't tested it
yet) are ignored.

In case of PDF preparation all your SVG images are converted by
Inkscape (probably) to EPS or PDF - Inkscape itself interprets the
extensions during conversion, so that is why you see you equations
embedded in vector images in final output.

I hope I explain the problem clearly.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: LyX crashes if preview svg

2009-11-17 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
 
  Here below: there is a message cannot mix incompatible Qt libraries?
 
  It appears so... Did you compile your own Qt? There is no backtrace here
  because gdb does not know which Qt to use apparently...
 
 
 I compiled  LyX from the source to install , something like
 ./configure (with prefix), make, sudo make install.
 I have no idea about Qt, I guess this is the language to develop LyX,
 maybe PyQt ?
 Never try to do programming in Qt, Py or PyQt. I should learn ?
 
 How I can fix this ?

it looks the qt libraries are messed up in your system. try reinstalling them.
the last possibility would be to compile qt locally in your home and link
lyx against them (some proper arg for configure).

pavel


Re: LyX crashes if preview svg

2009-11-17 Thread Waluyo Adi Siswanto
  
  How I can fix this ?
 
 it looks the qt libraries are messed up in your system. try reinstalling them.
 the last possibility would be to compile qt locally in your home and link
 lyx against them (some proper arg for configure).
 

Thanks Pavel I really appreciate it
I tried to find different libqt in synaptic and found libqtgui4 and
libqtcore4 showing version 4.4.0. Others are version 4.3.4, including
libqt4-core and libqt4-gui, both are version 4.3.4.
I deleted libqtgui4 and libqtcore4.

Now my LyX can preview directly svg file and can be externally edit
using Inkscape, without any crash.

There is a litle problem however, in LyX preview. All equations written
using LaTeX text extension for Inkscape (textext) are not displayed, but
appear perfectly in pdfview and in hard printing of this pdf is also OK.

Below the message when I run LyX from terminal (ubuntu 8.04):
wal...@waluyo-laptop:~$ lyx-1.6.4
link textext-2c447465-1 hasn't been detected!
link textext-2c447465-1 hasn't been detected!

This behaviour (cannot preview textext Inscape extension) also happens
in another machine (ubuntu 9.04).

Is that possible to preview the the textext embedded in Inkscape?

Thank you for any information

Regards
Waluyo



Re: LyX crashes if preview svg

2009-11-17 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
 
  Here below: there is a message cannot mix incompatible Qt libraries?
 
  It appears so... Did you compile your own Qt? There is no backtrace here
  because gdb does not know which Qt to use apparently...
 
 
 I compiled  LyX from the source to install , something like
 ./configure (with prefix), make, sudo make install.
 I have no idea about Qt, I guess this is the language to develop LyX,
 maybe PyQt ?
 Never try to do programming in Qt, Py or PyQt. I should learn ?
 
 How I can fix this ?

it looks the qt libraries are messed up in your system. try reinstalling them.
the last possibility would be to compile qt locally in your home and link
lyx against them (some proper arg for configure).

pavel


Re: LyX crashes if preview svg

2009-11-17 Thread Waluyo Adi Siswanto
  
  How I can fix this ?
 
 it looks the qt libraries are messed up in your system. try reinstalling them.
 the last possibility would be to compile qt locally in your home and link
 lyx against them (some proper arg for configure).
 

Thanks Pavel I really appreciate it
I tried to find different libqt in synaptic and found libqtgui4 and
libqtcore4 showing version 4.4.0. Others are version 4.3.4, including
libqt4-core and libqt4-gui, both are version 4.3.4.
I deleted libqtgui4 and libqtcore4.

Now my LyX can preview directly svg file and can be externally edit
using Inkscape, without any crash.

There is a litle problem however, in LyX preview. All equations written
using LaTeX text extension for Inkscape (textext) are not displayed, but
appear perfectly in pdfview and in hard printing of this pdf is also OK.

Below the message when I run LyX from terminal (ubuntu 8.04):
wal...@waluyo-laptop:~$ lyx-1.6.4
link textext-2c447465-1 hasn't been detected!
link textext-2c447465-1 hasn't been detected!

This behaviour (cannot preview textext Inscape extension) also happens
in another machine (ubuntu 9.04).

Is that possible to preview the the textext embedded in Inkscape?

Thank you for any information

Regards
Waluyo



Re: LyX crashes if preview svg

2009-11-17 Thread Pavel Sanda
Waluyo Adi Siswanto wrote:
> >>
> >> Here below: there is a message cannot mix incompatible Qt libraries?
> >
> > It appears so... Did you compile your own Qt? There is no backtrace here
> > because gdb does not know which Qt to use apparently...
> >
> 
> I compiled  LyX from the source to install , something like
> ./configure (with prefix), make, sudo make install.
> I have no idea about Qt, I guess this is the language to develop LyX,
> maybe PyQt ?
> Never try to do programming in Qt, Py or PyQt. I should learn ?
> 
> How I can fix this ?

it looks the qt libraries are messed up in your system. try reinstalling them.
the last possibility would be to compile qt locally in your home and link
lyx against them (some proper arg for configure).

pavel


Re: LyX crashes if preview svg

2009-11-17 Thread Waluyo Adi Siswanto
> > 
> > How I can fix this ?
> 
> it looks the qt libraries are messed up in your system. try reinstalling them.
> the last possibility would be to compile qt locally in your home and link
> lyx against them (some proper arg for configure).
> 

Thanks Pavel I really appreciate it
I tried to find different libqt in synaptic and found libqtgui4 and
libqtcore4 showing version 4.4.0. Others are version 4.3.4, including
libqt4-core and libqt4-gui, both are version 4.3.4.
I deleted libqtgui4 and libqtcore4.

Now my LyX can preview directly svg file and can be externally edit
using Inkscape, without any crash.

There is a litle problem however, in LyX preview. All equations written
using LaTeX text extension for Inkscape (textext) are not displayed, but
appear perfectly in pdfview and in hard printing of this pdf is also OK.

Below the message when I run LyX from terminal (ubuntu 8.04):
wal...@waluyo-laptop:~$ lyx-1.6.4
link textext-2c447465-1 hasn't been detected!
link textext-2c447465-1 hasn't been detected!

This behaviour (cannot preview textext Inscape extension) also happens
in another machine (ubuntu 9.04).

Is that possible to preview the the textext embedded in Inkscape?

Thank you for any information

Regards
Waluyo



Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Guenter Milde wrote:

On 2009-11-13, Waluyo Adi Siswanto wrote:

Dear developers



I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o 
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o 
SVG-PPM: inkscape $$i --export-ppm=$$o 



Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
then LyX will crash, disappear completely.



Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
what is the command for this?


It works on my Debian system without the SVN-PNG and SVG-PPM converters.
LyX is able to preview from EPS and/or PDF using the internal QT
converter.

So, instead of adding, just remove the offending definitions.


Still, LyX should not crash... A gdb backtrace would be nice...

Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto

 It works on my Debian system without the SVN-PNG and SVG-PPM converters.
 LyX is able to preview from EPS and/or PDF using the internal QT
 converter.

 So, instead of adding, just remove the offending definitions.

 Still, LyX should not crash... A gdb backtrace would be nice...

 Abdel.



I removed and kept only this
(SVG-PDF):  inkscape --export-area-drawing $$i --export-pdf=$$o
of course reconfigured, restarted... click shown in LyX and OK and... gone.

PS: View pdf still ok, but I need the preview in LyX, to set the bounding box.
Now the preview of Dia also problem, only showing a square box
Preview Loading but never appear in LyX.

Abdel.. I am sorry, what is  gdb backtrace ?

Thanks, waluyo


Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Waluyo Adi Siswanto wrote:

Abdel.. I am sorry, what is  gdb backtrace ?
  


If you are under Linux, start LyX with gdb at the commandline:

~Waluyo$ gdb lyx
~Waluyo$ run

... make LyX crash 

~Waluyo$ bt

...copy and send to the development list what is displayed here...

Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto
 If you are under Linux, start LyX with gdb at the commandline:
 
 ~Waluyo$ gdb lyx
 ~Waluyo$ run
 
 ... make LyX crash 
 
 ~Waluyo$ bt
 
 ...copy and send to the development list what is displayed here...
 
 Abdel.
 

Here below: there is a message cannot mix incompatible Qt libraries?


wal...@waluyo-laptop:~$ gdb lyx-1.6.4
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show
copying
and show warranty for details.
This GDB was configured as i486-linux-gnu...
(gdb) run
Starting program: /usr/local/bin/lyx-1.6.4 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d826c0 (LWP 11069)]
[New Thread 0xb67beb90 (LWP 11084)]
[New Thread 0xb5dffb90 (LWP 11085)]
[Thread 0xb67beb90 (LWP 11084) exited]
[Thread 0xb5dffb90 (LWP 11085) exited]
Cannot mix incompatible Qt libraries

Program exited with code 01.
(gdb) bt
No stack.
(gdb) quitt
Undefined command: quitt.  Try help.
(gdb) quit
wal...@waluyo-laptop:~$ 

===



Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Waluyo Adi Siswanto wrote:

If you are under Linux, start LyX with gdb at the commandline:

~Waluyo$ gdb lyx
~Waluyo$ run

... make LyX crash 

~Waluyo$ bt

...copy and send to the development list what is displayed here...

Abdel.



Here below: there is a message cannot mix incompatible Qt libraries?


It appears so... Did you compile your own Qt? There is no backtrace here 
because gdb does not know which Qt to use apparently...


Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto

 Here below: there is a message cannot mix incompatible Qt libraries?

 It appears so... Did you compile your own Qt? There is no backtrace here
 because gdb does not know which Qt to use apparently...


I compiled  LyX from the source to install , something like
./configure (with prefix), make, sudo make install.
I have no idea about Qt, I guess this is the language to develop LyX,
maybe PyQt ?
Never try to do programming in Qt, Py or PyQt. I should learn ?

How I can fix this ?
Thank you

Regards, Waluyo


Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Guenter Milde wrote:

On 2009-11-13, Waluyo Adi Siswanto wrote:

Dear developers



I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o 
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o 
SVG-PPM: inkscape $$i --export-ppm=$$o 



Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
then LyX will crash, disappear completely.



Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
what is the command for this?


It works on my Debian system without the SVN-PNG and SVG-PPM converters.
LyX is able to preview from EPS and/or PDF using the internal QT
converter.

So, instead of adding, just remove the offending definitions.


Still, LyX should not crash... A gdb backtrace would be nice...

Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto

 It works on my Debian system without the SVN-PNG and SVG-PPM converters.
 LyX is able to preview from EPS and/or PDF using the internal QT
 converter.

 So, instead of adding, just remove the offending definitions.

 Still, LyX should not crash... A gdb backtrace would be nice...

 Abdel.



I removed and kept only this
(SVG-PDF):  inkscape --export-area-drawing $$i --export-pdf=$$o
of course reconfigured, restarted... click shown in LyX and OK and... gone.

PS: View pdf still ok, but I need the preview in LyX, to set the bounding box.
Now the preview of Dia also problem, only showing a square box
Preview Loading but never appear in LyX.

Abdel.. I am sorry, what is  gdb backtrace ?

Thanks, waluyo


Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Waluyo Adi Siswanto wrote:

Abdel.. I am sorry, what is  gdb backtrace ?
  


If you are under Linux, start LyX with gdb at the commandline:

~Waluyo$ gdb lyx
~Waluyo$ run

... make LyX crash 

~Waluyo$ bt

...copy and send to the development list what is displayed here...

Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto
 If you are under Linux, start LyX with gdb at the commandline:
 
 ~Waluyo$ gdb lyx
 ~Waluyo$ run
 
 ... make LyX crash 
 
 ~Waluyo$ bt
 
 ...copy and send to the development list what is displayed here...
 
 Abdel.
 

Here below: there is a message cannot mix incompatible Qt libraries?


wal...@waluyo-laptop:~$ gdb lyx-1.6.4
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show
copying
and show warranty for details.
This GDB was configured as i486-linux-gnu...
(gdb) run
Starting program: /usr/local/bin/lyx-1.6.4 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d826c0 (LWP 11069)]
[New Thread 0xb67beb90 (LWP 11084)]
[New Thread 0xb5dffb90 (LWP 11085)]
[Thread 0xb67beb90 (LWP 11084) exited]
[Thread 0xb5dffb90 (LWP 11085) exited]
Cannot mix incompatible Qt libraries

Program exited with code 01.
(gdb) bt
No stack.
(gdb) quitt
Undefined command: quitt.  Try help.
(gdb) quit
wal...@waluyo-laptop:~$ 

===



Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Waluyo Adi Siswanto wrote:

If you are under Linux, start LyX with gdb at the commandline:

~Waluyo$ gdb lyx
~Waluyo$ run

... make LyX crash 

~Waluyo$ bt

...copy and send to the development list what is displayed here...

Abdel.



Here below: there is a message cannot mix incompatible Qt libraries?


It appears so... Did you compile your own Qt? There is no backtrace here 
because gdb does not know which Qt to use apparently...


Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto

 Here below: there is a message cannot mix incompatible Qt libraries?

 It appears so... Did you compile your own Qt? There is no backtrace here
 because gdb does not know which Qt to use apparently...


I compiled  LyX from the source to install , something like
./configure (with prefix), make, sudo make install.
I have no idea about Qt, I guess this is the language to develop LyX,
maybe PyQt ?
Never try to do programming in Qt, Py or PyQt. I should learn ?

How I can fix this ?
Thank you

Regards, Waluyo


Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Guenter Milde wrote:

On 2009-11-13, Waluyo Adi Siswanto wrote:

Dear developers



I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o" "
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o" "
SVG-PPM: inkscape $$i --export-ppm=$$o" "



Every time I activate (enable) "Shown in LyX" in LyX Graphics dialog,
then LyX will crash, disappear completely.



Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
what is the command for this?


It works on my Debian system without the SVN-PNG and SVG-PPM converters.
LyX is able to preview from EPS and/or PDF using the internal QT
converter.

So, instead of adding, just remove the offending definitions.


Still, LyX should not crash... A gdb backtrace would be nice...

Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto
>>
>> It works on my Debian system without the SVN-PNG and SVG-PPM converters.
>> LyX is able to preview from EPS and/or PDF using the internal QT
>> converter.
>>
>> So, instead of adding, just remove the offending definitions.
>
> Still, LyX should not crash... A gdb backtrace would be nice...
>
> Abdel.
>
>

I removed and kept only this
(SVG-PDF):  inkscape --export-area-drawing $$i --export-pdf=$$o
of course reconfigured, restarted... click shown in LyX and OK and... gone.

PS: View pdf still ok, but I need the preview in LyX, to set the bounding box.
Now the preview of Dia also problem, only showing a square box
"Preview Loading" but never appear in LyX.

Abdel.. I am sorry, what is " gdb backtrace" ?

Thanks, waluyo


Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Waluyo Adi Siswanto wrote:

Abdel.. I am sorry, what is " gdb backtrace" ?
  


If you are under Linux, start LyX with gdb at the commandline:

~Waluyo$ gdb lyx
~Waluyo$ run

... make LyX crash 

~Waluyo$ bt

...copy and send to the development list what is displayed here...

Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto
> If you are under Linux, start LyX with gdb at the commandline:
> 
> ~Waluyo$ gdb lyx
> ~Waluyo$ run
> 
> ... make LyX crash 
> 
> ~Waluyo$ bt
> 
> ...copy and send to the development list what is displayed here...
> 
> Abdel.
> 

Here below: there is a message cannot mix incompatible Qt libraries?


wal...@waluyo-laptop:~$ gdb lyx-1.6.4
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /usr/local/bin/lyx-1.6.4 
[Thread debugging using libthread_db enabled]
[New Thread 0xb6d826c0 (LWP 11069)]
[New Thread 0xb67beb90 (LWP 11084)]
[New Thread 0xb5dffb90 (LWP 11085)]
[Thread 0xb67beb90 (LWP 11084) exited]
[Thread 0xb5dffb90 (LWP 11085) exited]
Cannot mix incompatible Qt libraries

Program exited with code 01.
(gdb) bt
No stack.
(gdb) quitt
Undefined command: "quitt".  Try "help".
(gdb) quit
wal...@waluyo-laptop:~$ 

===



Re: LyX crashes if preview svg

2009-11-13 Thread Abdelrazak Younes

Waluyo Adi Siswanto wrote:

If you are under Linux, start LyX with gdb at the commandline:

~Waluyo$ gdb lyx
~Waluyo$ run

... make LyX crash 

~Waluyo$ bt

...copy and send to the development list what is displayed here...

Abdel.



Here below: there is a message cannot mix incompatible Qt libraries?


It appears so... Did you compile your own Qt? There is no backtrace here 
because gdb does not know which Qt to use apparently...


Abdel.



Re: LyX crashes if preview svg

2009-11-13 Thread Waluyo Adi Siswanto
>>
>> Here below: there is a message cannot mix incompatible Qt libraries?
>
> It appears so... Did you compile your own Qt? There is no backtrace here
> because gdb does not know which Qt to use apparently...
>

I compiled  LyX from the source to install , something like
./configure (with prefix), make, sudo make install.
I have no idea about Qt, I guess this is the language to develop LyX,
maybe PyQt ?
Never try to do programming in Qt, Py or PyQt. I should learn ?

How I can fix this ?
Thank you

Regards, Waluyo


LyX crashes if preview svg

2009-11-12 Thread Waluyo Adi Siswanto
Dear developers

I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o 
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o 
SVG-PPM: inkscape $$i --export-ppm=$$o 

Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
then LyX will crash, disappear completely.
If it is the lyx preview  disable, I can view pdf perfectly and I can
directly edit externally (right click-edit externally) to Inkscape.

Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
what is the command for this?

Regards
Waluyo


Re: LyX crashes if preview svg

2009-11-12 Thread Uwe Stöhr

Waluyo Adi Siswanto schrieb:


I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o 
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o 
SVG-PPM: inkscape $$i --export-ppm=$$o 

Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
then LyX will crash, disappear completely.


I only have this in my lyxrc.dist file:

\format svg svg SVG  inkscape --file=$$i inkscape --file=$$i 
vector
\converter svg png inkscape --without-gui --file=$$i --export-png=$$o 
\converter svg pdf inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o 
\converter svg pdf2 inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o 

And this works without problems - this is used in the LyX for Windows installers when Inkscape was 
detected.


regards Uwe


Re: LyX crashes if preview svg

2009-11-12 Thread Waluyo Adi Siswanto

 I only have this in my lyxrc.dist file:

 \format svg svg SVG  inkscape --file=$$i inkscape --file=$$i
 vector
 \converter svg png inkscape --without-gui --file=$$i --export-png=$$o
 
 \converter svg pdf inkscape --file=$$i --export-area-drawing
 --without-gui --export-pdf=$$o 
 \converter svg pdf2 inkscape --file=$$i --export-area-drawing
 --without-gui --export-pdf=$$o 

 And this works without problems - this is used in the LyX for Windows
 installers when Inkscape was detected.

 regards Uwe


I am in Ubuntu 8.04, LyX 1.6.4.1, Inkscape 0.46

Regards, Waluyo


Re: LyX crashes if preview svg

2009-11-12 Thread Guenter Milde
On 2009-11-13, Waluyo Adi Siswanto wrote:
 Dear developers

 I have followed the instructions in
 http://wiki.lyx.org/Tips/UseInkscapeSVGImages
 and add converter for EPS, so I have
 SVG-EPS: inkscape $$i --export-eps=$$o 
 SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
 SVG-PNG: inkscape $$i --export-png=$$o 
 SVG-PPM: inkscape $$i --export-ppm=$$o 

 Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
 then LyX will crash, disappear completely.

 Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
 what is the command for this?

It works on my Debian system without the SVN-PNG and SVG-PPM converters.
LyX is able to preview from EPS and/or PDF using the internal QT
converter.

So, instead of adding, just remove the offending definitions.

Günter



LyX crashes if preview svg

2009-11-12 Thread Waluyo Adi Siswanto
Dear developers

I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o 
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o 
SVG-PPM: inkscape $$i --export-ppm=$$o 

Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
then LyX will crash, disappear completely.
If it is the lyx preview  disable, I can view pdf perfectly and I can
directly edit externally (right click-edit externally) to Inkscape.

Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
what is the command for this?

Regards
Waluyo


Re: LyX crashes if preview svg

2009-11-12 Thread Uwe Stöhr

Waluyo Adi Siswanto schrieb:


I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o 
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o 
SVG-PPM: inkscape $$i --export-ppm=$$o 

Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
then LyX will crash, disappear completely.


I only have this in my lyxrc.dist file:

\format svg svg SVG  inkscape --file=$$i inkscape --file=$$i 
vector
\converter svg png inkscape --without-gui --file=$$i --export-png=$$o 
\converter svg pdf inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o 
\converter svg pdf2 inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o 

And this works without problems - this is used in the LyX for Windows installers when Inkscape was 
detected.


regards Uwe


Re: LyX crashes if preview svg

2009-11-12 Thread Waluyo Adi Siswanto

 I only have this in my lyxrc.dist file:

 \format svg svg SVG  inkscape --file=$$i inkscape --file=$$i
 vector
 \converter svg png inkscape --without-gui --file=$$i --export-png=$$o
 
 \converter svg pdf inkscape --file=$$i --export-area-drawing
 --without-gui --export-pdf=$$o 
 \converter svg pdf2 inkscape --file=$$i --export-area-drawing
 --without-gui --export-pdf=$$o 

 And this works without problems - this is used in the LyX for Windows
 installers when Inkscape was detected.

 regards Uwe


I am in Ubuntu 8.04, LyX 1.6.4.1, Inkscape 0.46

Regards, Waluyo


Re: LyX crashes if preview svg

2009-11-12 Thread Guenter Milde
On 2009-11-13, Waluyo Adi Siswanto wrote:
 Dear developers

 I have followed the instructions in
 http://wiki.lyx.org/Tips/UseInkscapeSVGImages
 and add converter for EPS, so I have
 SVG-EPS: inkscape $$i --export-eps=$$o 
 SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
 SVG-PNG: inkscape $$i --export-png=$$o 
 SVG-PPM: inkscape $$i --export-ppm=$$o 

 Every time I activate (enable) Shown in LyX in LyX Graphics dialog,
 then LyX will crash, disappear completely.

 Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
 what is the command for this?

It works on my Debian system without the SVN-PNG and SVG-PPM converters.
LyX is able to preview from EPS and/or PDF using the internal QT
converter.

So, instead of adding, just remove the offending definitions.

Günter



LyX crashes if preview svg

2009-11-12 Thread Waluyo Adi Siswanto
Dear developers

I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o" "
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o" "
SVG-PPM: inkscape $$i --export-ppm=$$o" "

Every time I activate (enable) "Shown in LyX" in LyX Graphics dialog,
then LyX will crash, disappear completely.
If it is the lyx preview  disable, I can view pdf perfectly and I can
directly edit externally (right click-edit externally) to Inkscape.

Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
what is the command for this?

Regards
Waluyo


Re: LyX crashes if preview svg

2009-11-12 Thread Uwe Stöhr

Waluyo Adi Siswanto schrieb:


I have followed the instructions in
http://wiki.lyx.org/Tips/UseInkscapeSVGImages
and add converter for EPS, so I have
SVG-EPS: inkscape $$i --export-eps=$$o" "
SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
SVG-PNG: inkscape $$i --export-png=$$o" "
SVG-PPM: inkscape $$i --export-ppm=$$o" "

Every time I activate (enable) "Shown in LyX" in LyX Graphics dialog,
then LyX will crash, disappear completely.


I only have this in my lyxrc.dist file:

\format "svg" "svg" "SVG" "" "inkscape --file=$$i" "inkscape --file=$$i" 
"vector"
\converter "svg" "png" "inkscape --without-gui --file=$$i --export-png=$$o" ""
\converter "svg" "pdf" "inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o" ""
\converter "svg" "pdf2" "inkscape --file=$$i --export-area-drawing --without-gui 
--export-pdf=$$o" ""

And this works without problems - this is used in the LyX for Windows installers when Inkscape was 
detected.


regards Uwe


Re: LyX crashes if preview svg

2009-11-12 Thread Waluyo Adi Siswanto
>
> I only have this in my lyxrc.dist file:
>
> \format "svg" "svg" "SVG" "" "inkscape --file=$$i" "inkscape --file=$$i"
> "vector"
> \converter "svg" "png" "inkscape --without-gui --file=$$i --export-png=$$o"
> ""
> \converter "svg" "pdf" "inkscape --file=$$i --export-area-drawing
> --without-gui --export-pdf=$$o" ""
> \converter "svg" "pdf2" "inkscape --file=$$i --export-area-drawing
> --without-gui --export-pdf=$$o" ""
>
> And this works without problems - this is used in the LyX for Windows
> installers when Inkscape was detected.
>
> regards Uwe
>

I am in Ubuntu 8.04, LyX 1.6.4.1, Inkscape 0.46

Regards, Waluyo


Re: LyX crashes if preview svg

2009-11-12 Thread Guenter Milde
On 2009-11-13, Waluyo Adi Siswanto wrote:
> Dear developers

> I have followed the instructions in
> http://wiki.lyx.org/Tips/UseInkscapeSVGImages
> and add converter for EPS, so I have
> SVG-EPS: inkscape $$i --export-eps=$$o" "
> SVG-PDF: inkscape --export-area-drawing $$i --export-pdf=$$o
> SVG-PNG: inkscape $$i --export-png=$$o" "
> SVG-PPM: inkscape $$i --export-ppm=$$o" "

> Every time I activate (enable) "Shown in LyX" in LyX Graphics dialog,
> then LyX will crash, disappear completely.

> Does it mean i need to define a converter SVG-LyX(or LyX Preview)?
> what is the command for this?

It works on my Debian system without the SVN-PNG and SVG-PPM converters.
LyX is able to preview from EPS and/or PDF using the internal QT
converter.

So, instead of adding, just remove the offending definitions.

Günter