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.

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.

Hope this helps a bit

     Andreas.


[1] https://salsa.debian.org/debian/latex-make

-- 
http://fam-tille.de

Reply via email to