Re: Upgrade from buster to bullseye

2021-11-11 Thread JP
Le 11 novembre 2021 17:15:47 Jean-Pierre Chrétien a écrit I never use Debian install of LyX because it requires to install Texlive as well (and I install it separately from tug.org), but is librsvg2-bin in the Lyx dependencies ? I checked on Debian packages: it is only suggested (while

Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Pierre Chrétien
Le 11/11/2021 à 13:23, Jean-Marc Lasgouttes a Editing policy.html was the trick. Thanks to all of you who helped. Do you have rsvg-convert installed? Is it used in this situation? I installed librsvg2-bin, reconfigured lyx-2.3.7dev, removed files from the cache and again, compilation of

Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Marc Lasgouttes
Le 11/11/2021 à 12:02, Jean-Pierre Chrétien a écrit : Converter.cpp (430): No converter defined! I use convertDefault.py: /usr/bin/python2 -tt "/usr/local/share/lyx-2.3.7dev/scripts/convertDefault.py" svgz

Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Pierre Chrétien
Le 11/11/2021 à 11:52, Jean-Pierre Chrétien a écrit : Le 10/11/2021 à 14:32, Jean-Marc Lasgouttes a écrit : Le 10/11/2021 à 14:07, Jean-Pierre Chrétien a écrit : You need to enable "files" debug level. This not very informative, in fact I would like to see the conversion command to be able

Re: Upgrade from buster to bullseye

2021-11-11 Thread Jean-Pierre Chrétien
Le 10/11/2021 à 14:32, Jean-Marc Lasgouttes a écrit : Le 10/11/2021 à 14:07, Jean-Pierre Chrétien a écrit : You need to enable "files" debug level. This not very informative, in fact I would like to see the conversion command to be able to test it from the console. I should (from

Re: Upgrade from buster to bullseye

2021-11-10 Thread Jean-Marc Lasgouttes
Le 10/11/2021 à 14:07, Jean-Pierre Chrétien a écrit : You need to enable "files" debug level. This not very informative, in fact I would like to see the conversion command to be able to test it from the console. I should (from Converter::convert, l. 661): LYXERR(Debug::FILES,

Re: Upgrade from buster to bullseye

2021-11-10 Thread Jean-Pierre Chrétien
Le 09/11/2021 à 12:22, Pavel Sanda a écrit : On Tue, Nov 09, 2021 at 11:28:30AM +0100, Jean-Pierre Chrétien wrote: I edited /etc/ImageMagick-6/policy.xml without success, here is the log of the first file to convert, extracted from lyx-2.3.7dev -dbg graphics Can show the current content of

Re: Upgrade from buster to bullseye

2021-11-09 Thread Pavel Sanda
On Tue, Nov 09, 2021 at 11:28:30AM +0100, Jean-Pierre Chrétien wrote: > I edited /etc/ImageMagick-6/policy.xml without success, here is the log of > the first file to convert, extracted from lyx-2.3.7dev -dbg graphics Can show the current content of that config? > How can I display the

Re: Upgrade from buster to bullseye

2021-11-09 Thread Pavel Sanda
On Tue, Nov 09, 2021 at 01:16:45AM +, José Abílio Matos wrote: > On Monday, 8 November 2021 20.57.37 WET Pavel Sanda wrote: > > This is actually not correct way how to solve this under bullseye. > > "python" is gone for good and scripts should use either python2 > > or python3 binary. > > If

Re: Upgrade from buster to bullseye

2021-11-09 Thread Jean-Pierre Chrétien
Le 08/11/2021 à 21:57, Pavel Sanda a écrit : Yes, this is default imagemagick policy on debian now. First introduced in buster to overcome ghostscritp security issues, then reverted in testing (forthcoming bullseye) and then reintroduced again. I tried to explain the situation in couple

Re: Upgrade from buster to bullseye

2021-11-09 Thread Jean-Pierre Chrétien
Le 08/11/2021 à 21:57, Pavel Sanda a écrit : On Mon, Nov 08, 2021 at 11:03:25AM +0100, Jean-Pierre Chrétien wrote: On 2.3.x, I first checked the fr.po file status and when I ran the make lyx-2.3.7dev.pot-update in the po dir of the build directory, I got in the following error: /bin/sh: 1:

Re: Upgrade from buster to bullseye

2021-11-08 Thread José Abílio Matos
On Monday, 8 November 2021 20.57.37 WET Pavel Sanda wrote: > This is actually not correct way how to solve this under bullseye. > "python" is gone for good and scripts should use either python2 > or python3 binary. > If you insist on using "python" you should install specific package (IIRC >

Re: Upgrade from buster to bullseye

2021-11-08 Thread Pavel Sanda
On Mon, Nov 08, 2021 at 06:40:35PM +0100, Jean-Pierre Chrétien wrote: > >For ubuntu/debian it was sufficient to modify the imagemagic policy. > >Like: > > $ cp /etc/ImageMagick-6/policy.xml ~/.config/ImageMagick/. > >and add/modify policies for PS, PDF and EPS in >

Re: Upgrade from buster to bullseye

2021-11-08 Thread Pavel Sanda
On Mon, Nov 08, 2021 at 11:03:25AM +0100, Jean-Pierre Chrétien wrote: > On 2.3.x, I first checked the fr.po file status and when I ran the make > lyx-2.3.7dev.pot-update in the po dir of the build directory, I got in the > following error: > > /bin/sh: 1: /usr/bin/python: not found > make: ***

Re: Upgrade from buster to bullseye

2021-11-08 Thread Jean-Pierre Chrétien
Le 08/11/2021 à 14:12, Kornel Benko a écrit : For ubuntu/debian it was sufficient to modify the imagemagic policy. Like: $ cp /etc/ImageMagick-6/policy.xml ~/.config/ImageMagick/. and add/modify policies for PS, PDF and EPS in ~/.config/ImageMagick/policy.xml to

Re: Upgrade from buster to bullseye

2021-11-08 Thread Scott Kostyshak
On Mon, Nov 08, 2021 at 04:01:36PM +0100, Jean-Pierre Chrétien wrote: > Le 08/11/2021 à 11:20, Jean-Marc Lasgouttes a écrit : > > Le 08/11/2021 à 11:03, Jean-Pierre Chrétien a écrit : > > > Dear developers > > > > > > I upgraded my Debian yesterday and I tested compilation and > > > execution of

Re: Upgrade from buster to bullseye

2021-11-08 Thread Jean-Pierre Chrétien
Le 08/11/2021 à 11:20, Jean-Marc Lasgouttes a écrit : Le 08/11/2021 à 11:03, Jean-Pierre Chrétien a écrit : Dear developers I upgraded my Debian yesterday and I tested compilation and execution of master and 2.3.7dev. Compilation and display of the UserGuide run flawlessly on master. On

Re: Upgrade from buster to bullseye

2021-11-08 Thread Jean-Marc Lasgouttes
Le 08/11/2021 à 14:12, Kornel Benko a écrit : Am Mon, 8 Nov 2021 12:16:37 +0100 schrieb Jean-Marc Lasgouttes : Le 08/11/2021 à 12:10, Cor Blom a écrit : The words "security policy" and "PDF" reminds me of a security policy in openSUSE, which disables imagemagick working with PS/PDF  by

Re: Upgrade from buster to bullseye

2021-11-08 Thread Kornel Benko
Am Mon, 8 Nov 2021 12:16:37 +0100 schrieb Jean-Marc Lasgouttes : > Le 08/11/2021 à 12:10, Cor Blom a écrit : > > The words "security policy" and "PDF" reminds me of a security policy in > > openSUSE, which disables imagemagick working with PS/PDF  by default. A > > additional package must be

Re: Upgrade from buster to bullseye

2021-11-08 Thread Jean-Marc Lasgouttes
Le 08/11/2021 à 12:10, Cor Blom a écrit : The words "security policy" and "PDF" reminds me of a security policy in openSUSE, which disables imagemagick working with PS/PDF  by default. A additional package must be installed to enable this. No idea if this is the same, but who knows... Yes,

Re: Upgrade from buster to bullseye

2021-11-08 Thread Cor Blom
Op 08-11-2021 om 11:58 schreef Jean-Marc Lasgouttes: Le 08/11/2021 à 11:20, Jean-Marc Lasgouttes a écrit : However, when compiling the pdf of the UserGuide, none of the svgz icons could be converted, so the padf dispaly failed with a pdf image not found. Here is first of the error messages:

Re: Upgrade from buster to bullseye

2021-11-08 Thread Jean-Marc Lasgouttes
Le 08/11/2021 à 11:20, Jean-Marc Lasgouttes a écrit : However, when compiling the pdf of the UserGuide, none of the svgz icons could be converted, so the padf dispaly failed with a pdf image not found. Here is first of the error messages: convert-im6.q16: attempt to perform an operation not

Re: Upgrade from buster to bullseye

2021-11-08 Thread Stephan Witt
Am 08.11.2021 um 11:20 schrieb Jean-Marc Lasgouttes : > > Le 08/11/2021 à 11:03, Jean-Pierre Chrétien a écrit : >> Dear developers >> I upgraded my Debian yesterday and I tested compilation and execution of >> master and 2.3.7dev. >> Compilation and display of the UserGuide run flawlessly on

Re: Upgrade from buster to bullseye

2021-11-08 Thread Jean-Marc Lasgouttes
Le 08/11/2021 à 11:03, Jean-Pierre Chrétien a écrit : Dear developers I upgraded my Debian yesterday and I tested compilation and execution of master and 2.3.7dev. Compilation and display of the UserGuide run flawlessly on master. On 2.3.x, I first checked the fr.po file status and when I

Upgrade from buster to bullseye

2021-11-08 Thread Jean-Pierre Chrétien
Dear developers I upgraded my Debian yesterday and I tested compilation and execution of master and 2.3.7dev. Compilation and display of the UserGuide run flawlessly on master. On 2.3.x, I first checked the fr.po file status and when I ran the make lyx-2.3.7dev.pot-update in the po dir of