Package: xml2rfc
Version: 3.30.2-2
Severity: normal
Control: affects -1 + weasyprint

When i try to build a PDF from `xml2rfc` while i'm completely offline, i
see these error messages:

```
$ xml2rfc sop.xml --pdf -o sop.pdf
ERROR:weasyprint:Failed to load stylesheet at 
https://fonts.googleapis.com/css?family=Noto+Sans : URLError: <urlopen error 
[Errno -3] Temporary failure in name resolution>
ERROR:weasyprint:Failed to load stylesheet at 
https://fonts.googleapis.com/css?family=Noto+Serif : URLError: <urlopen error 
[Errno -3] Temporary failure in name resolution>
ERROR:weasyprint:Failed to load stylesheet at 
https://fonts.googleapis.com/css?family=Roboto+Mono : URLError: <urlopen error 
[Errno -3] Temporary failure in name resolution>
$
```

xml2rfc should do what it can to operate weasyprint in an offline mode,
and certainly shouldn't depend on stylesheets that might go away (or
change) at the whim of an unrelated network provider.

     --dkg


-- System Information:
Debian Release: forky/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'stable'), (200, 
'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 7.2.8+deb14-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xml2rfc depends on:
ii  python3                      3.14.7-3
ii  python3-configargparse       1.7-4
ii  python3-google-i18n-address  2.4.0-2.1
ii  python3-intervaltree         3.0.2-1.1
ii  python3-jinja2               3.1.6-4
ii  python3-lxml                 6.1.3-1
ii  python3-platformdirs         4.10.0-1
ii  python3-pycountry            26.2.16+ds1-1
ii  python3-requests             2.34.2-1
ii  python3-wcwidth              0.8.3+dfsg1-1
ii  python3-yaml                 6.0.3-1+b1
ii  sgml-base                    1.31+nmu1

Versions of packages xml2rfc recommends:
ii  fonts-noto        20201225-6
ii  fonts-noto-cjk    1:20240730+repack1-1
ii  fonts-roboto      2:3.016-1
ii  python3-dict2xml  1.7.7-2
ii  python3-pypdf     6.19.0-1
ii  weasyprint        69.0-2

xml2rfc suggests no packages.

-- no debconf information

Reply via email to