Hi,
Le 11/05/2020 à 13:38, Andreas Tille a écrit :
> Hi,
>
> I tried to track down the issue and called `make -n` in my pbuilder
> chroot. It seems the issue can be found somewhere here:
>
>
> /build/latex-make-2.3.0/examples# texmf/scripts/latex-make/svg2dev.py
> -L pdftex fig/logo.svg fig/logo.pdftex
> Unable to init server: Could not connect: Connection refused
> Unknown option -z
> Traceback (most recent call last):
> File "/usr/lib/python3.8/shutil.py", line 788, in move
> os.rename(src, real_dst)
> FileNotFoundError: [Errno 2] No such file or directory: 'fig/logo.pdftex_tex'
> -> 'fig/logo.pdftex_t'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "texmf/scripts/latex-make/svg2dev.py", line 41, in <module>
> main()
> File "texmf/scripts/latex-make/svg2dev.py", line 36, in main
> create_image(input_filename, output_filename, svg2pdf)
> File "texmf/scripts/latex-make/svg2dev.py", line 16, in create_image
> shutil.move(n1, n2)
> File "/usr/lib/python3.8/shutil.py", line 802, in move
> copy_function(src, real_dst)
> File "/usr/lib/python3.8/shutil.py", line 432, in copy2
> copyfile(src, dst, follow_symlinks=follow_symlinks)
> File "/usr/lib/python3.8/shutil.py", line 261, in copyfile
> with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
> FileNotFoundError: [Errno 2] No such file or directory: 'fig/logo.pdftex_tex'
>
>
> I have no idea what server is tried to connect and whyt this all means
> but may be that's a place to start with further investigation.
If I recall correctly, inskape is invoked non-interractively to do the
conversion. So it is probably inkscape that changes its options.
> BTW, I used routine-update on the packaging in salsa[1] and realised
> that the package is using Python2 for no good reason. Astonishing there
> is no according bug but I tried to switch it to Python3 just in case.
> The result above is not different whether using Python2 or Python3.
The compatibility is here for a long time (for ubuntu compatibility)
but I forget to change it in the Debian package. I will fix all of this.
Thanks
Vincent
> Hope this helps a bit
>
> Andreas.
>
>
> [1] https://salsa.debian.org/debian/latex-make
>
--
Vincent Danjean GPG key ID 0xD17897FA [email protected]
GPG key fingerprint: 621E 3509 654D D77C 43F5 CA4A F6AE F2AF D178 97FA
Unofficial pkgs: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://people.debian.org/~vdanjean/debian unstable main