Project

General

Profile

Bug #35590

Inkscape error at installation

Added by Éloi Rivard 5 months ago. Updated 5 months ago.

Status:
Solution déployée
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
26 Aug 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

Hi
On the master branch, with a up-to-date archlinux, ./autogen.sh && make produce this error message:

inkscape -d 150 --export-png=sso-brws-art-4.png sso-brws-art-4.svg
sso-brws-art-4.svg:1: parser error : Document is empty

^
sso-brws-art-4.svg:1: parser error : Document is empty

^

** (inkscape:12965): WARNING **: 17:46:28.758: Specified document sso-brws-art-4.svg cannot be opened (does not exist or not a valid SVG file)

0001-docs-xsltproc-do-not-use-Internet-to-fetch-DTDs-enti.patch View (885 Bytes) Thomas Noël, 27 Aug 2019 11:04 AM

Associated revisions

Revision 18cc55d7 (diff)
Added by Thomas Noël 5 months ago

docs/xsltproc: do not use Internet to fetch DTDs, entities or documents (#35590)

History

#1 Updated by Thomas Noël 5 months ago

  • Status changed from Nouveau to En cours

xsso-brws-art-4.svg (and others svg) are produced by xsltproc, which make network calls ... that end in timeout...

Could you try this :

--- a/docs/lasso-book/figures/Makefile.am
+++ b/docs/lasso-book/figures/Makefile.am
@@ -24,7 +24,7 @@ figures_DATA = $(FIGURES_PNG_FILES)
 CLEANFILES = $(FIGURES_PNG_FILES) $(GENERATED_FIGURES_SVG_FILES)

 %.svg:
-       $(XSLTPROC) --stringparam stepno `echo $@ | sed -e 's/[^0-9]//g'` \
+       $(XSLTPROC) --nonet --stringparam stepno `echo $@ | sed -e 's/[^0-9]//g'` \
                $(srcdir)/step.xsl $< > $@

 %.png: %.svg

#2 Updated by Éloi Rivard 5 months ago

This is a lot better with --nonet
Thank you

#3 Updated by Thomas Noël 5 months ago

#4 Updated by Paul Marillonnet 5 months ago

  • Status changed from Solution proposée to Solution validée

#5 Updated by Thomas Noël 5 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 18cc55d7735756f03180d95bb8ae87767634cbee
Author: Thomas NOEL <tnoel@entrouvert.com>
Date:   Tue Aug 27 11:03:58 2019 +0200

    docs/xsltproc: do not use Internet to fetch DTDs, entities or documents (#35590)

#6 Updated by Benjamin Dauvergne 5 months ago

  • Assignee set to Thomas Noël

#7 Updated by Benjamin Dauvergne 5 months ago

  • Target version set to 2.6.1

#8 Updated by Benjamin Dauvergne 5 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF