Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Daniel Kahn Gillmor
Fri, 09 Oct 2026 17:40
Bug#1150438: xml2rfc: xml2rfc --pdf requires network access by default, should work fully offline
Author: Daniel Kahn Gillmor
Date: Fri, 09 Oct 2026 17:40
Date: Fri, 09 Oct 2026 17:40
95 lines
7548 bytes
7548 bytes
--=-=-=
Sig: t=p; b=wr0EARYKAG8FgmrICngJEHgLhU7ZwrSWRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z
LnNlcXVvaWEtcGdwLm9yZ7hu6eEgfhOflIsaJ60RIjw4dsRM1rOe4mmjGgVhX5Qr
FiEEY6wRjlsuXWbIioWneAuFTtnCtJYAAF3kAQCQDnWmTz+BRdYu0+eeq1jWf1eY
rfgpZCIjHVbGppPXHQD/R6UJFn9svuIE4Yo8wD3wDG3hcMhz0pgUF1PHv/mAjAs=
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xml2rfc: xml2rfc --pdf requires network access by default, should
work fully offline
X-Debbugs-CC: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Autocrypt: addr=dkg@fifthhorseman.net; prefer-encrypt=mutual; keydata=
xjMEZXEJyxYJKwYBBAHaRw8BAQdA5BpbW0bpl5qCng/RiqwhQINrplDMSS5JsO/YO+5Zi7HNFzxk
a2dAZmlmdGhob3JzZW1hbi5uZXQ+wsARBBMWCgB5AwsJB0cUAAAAAAAeACBzYWx0QG5vdGF0aW9u
cy5zZXF1b2lhLXBncC5vcmcS78JIJ7JbALqPiKEmva7/Pp16WwXWm9hbe5+B/UvnfwMVCggCmwEC
HgEWIQTUdwQMcMIValwphUm7fpEBSV5r9wUCZadfkAUJBdnwRQAKCRC7fpEBSV5r9yNXAP442N0c
zvisBroQSKKpo+OWm2JpnEJWoVheeJvoRtkBGQEA+edHylby8IGcNccq7rmM2rAXdofvrU1o6qow
V+mmDwbOMwRnio4OFgkrBgEEAdpHDwEBB0Cw9HzJFl9lZn3UBaUqSMSgxjcdbd0MwNVcGZ8t8wdN
EcLAvwQYFgoBMQWCZ4qODgkQu36RAUlea/dHFAAAAAAAHgAgc2FsdEBub3RhdGlvbnMuc2VxdW9p
YS1wZ3Aub3JnhcN+tn41cAg01Kk56zcAfpdsh8j98PDe00mqKPfFvaYCmwK+oAQZFgoAbwWCZ4qO
DgkQeAuFTtnCtJZHFAAAAAAAHgAgc2FsdEBub3RhdGlvbnMuc2VxdW9pYS1wZ3Aub3JnxsD8Sk5P
Wgx8c/Zseo6OlCjyDC+Ogm17gTaUUIpxjWYWIQRjrBGOWy5dZsiKhad4C4VO2cK0lgAAdcQA/1RG
dmrmvVxkBY2qNPjtERNwPga8Pf4IdlenrZ03NXM4AQC+TDHMpD7d5obEvUy8GYI3oThzYItPP8vv
ChY+wbaIBRYhBNR3BAxwwhVqXCmFSbt+kQFJXmv3AAAKbgD+K1MZXnRKPdmA8DgNysyGRZY8cSVH
HQcC7ZAAtV3i2+wA/0CyOYrbFYbyTRALgoERR07OHFoP+fJopQLMNQARVUELzjgEZ4qN+RIKKwYB
BAGXVQEFAQEHQDTGlR+Qmn334e+bPqvojJVdFsiBf0leAAHP+ESqop8NAwEIB8LAAAQYFgoAcgWC
Z4qN+QkQu36RAUlea/dHFAAAAAAAHgAgc2FsdEBub3RhdGlvbnMuc2VxdW9pYS1wZ3Aub3JnA5Lw
b3wOOcoodImuVNw4PYq1U65FDC1Q2JMFIcJXqF0CmwwWIQTUdwQMcMIValwphUm7fpEBSV5r9wAA
6egA/j3QANSmogZ5VTF5KlI+BBye9ud/w9j7RLcCHU6u8AA1AQC3FGaNuv+uWOSa+eeEoI/aZrGd
X5el8b/m6aXDDxDjDg==
Date: Thu, 08 Oct 2026 17:26:15 -0400
Message-ID: <87zewnanpk.fsf@fifthhorseman.net>
Content-Type: text/plain; hp="clear"
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
--=-=-=--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads