Your message dated Sun, 20 Oct 2024 15:28:54 +0000
with message-id <[email protected]>
and subject line Bug#1070325: fixed in servefile 0.5.4-3.1
has caused the Debian Bug report #1070325,
regarding fails to build without a non local IP
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1070325: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070325
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: servefile
Version: 0.5.4-3
Severity: normal
Tags: patch
X-Debbugs-Cc: [email protected], [email protected]
Control: affects -1 buildd.debian.org
Hi,
servefile fails to build when self.getIPs() does not return an IP:
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_servefile/build/servefile/__main__.py",
line 3, in <module>
servefile.main()
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_servefile/build/servefile/servefile.py",
line 1289, in main
server.serve()
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_servefile/build/servefile/servefile.py",
line 1008, in serve
self.server.append(self._createServer(self.handler))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_servefile/build/servefile/servefile.py",
line 982, in _createServer
self.genKeyPair()
File
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_servefile/build/servefile/servefile.py",
line 927, in genKeyPair
for ip in self.getIPs() + ["127.0.0.1", "::1"]:
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'NoneType' and 'list'
This fails in sbuild with the unshare backend. A simple fix would be:
--- servefile-0.5.4.orig/servefile/servefile.py
+++ servefile-0.5.4/servefile/servefile.py
@@ -890,7 +890,7 @@ class ServeFile():
ips = [ip for ip in ips if ':' in ip]
return ips
- return None
+ return []
def setSSLKeys(self, cert, key):
""" Set SSL cert/key. Can be either path to file or pyopenssl
X509/PKey object. """
Cheers Jochen
--- End Message ---
--- Begin Message ---
Source: servefile
Source-Version: 0.5.4-3.1
Done: Chris Hofstaedtler <[email protected]>
We believe that the bug you reported is fixed in the latest version of
servefile, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Hofstaedtler <[email protected]> (supplier of updated servefile package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 20 Oct 2024 16:00:21 +0200
Source: servefile
Architecture: source
Version: 0.5.4-3.1
Distribution: unstable
Urgency: medium
Maintainer: Sebastian Lohff <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1070325
Changes:
servefile (0.5.4-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Apply patch to fix building without non-localhost IPs.
(Closes: #1070325)
Checksums-Sha1:
8541249f87ac73693b6bcefea2749a549c2bb9af 1871 servefile_0.5.4-3.1.dsc
215eb63cd4f432911e432bfdab7d4ebfc6fc1a58 2508 servefile_0.5.4-3.1.debian.tar.xz
d738559ce4926b7963161c9b252017d7b4261283 7097
servefile_0.5.4-3.1_arm64.buildinfo
Checksums-Sha256:
5cc514c7878ad166fd2810e67cc6a1ddc861504e36258c09f13c5932f0129deb 1871
servefile_0.5.4-3.1.dsc
d0b693c8142e17cca83b92ba761100cff5a4e582e0d1caca61288253b28d8d10 2508
servefile_0.5.4-3.1.debian.tar.xz
85f48a2e8c748bec5bd5057c1197b0bf6fba7ba6ce36b98d970424a47eda31d0 7097
servefile_0.5.4-3.1_arm64.buildinfo
Files:
d269319093be86e9c4bb91e69c04d936 1871 net optional servefile_0.5.4-3.1.dsc
4d64d279b8d5935e01569690d0c2a30e 2508 net optional
servefile_0.5.4-3.1.debian.tar.xz
aedd8c591233c0895445635bc5b500b1 7097 net optional
servefile_0.5.4-3.1_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmcVDTIACgkQXBPW25MF
LgNe/g//dHI65vhFunk5/08UIVCgK1THJmk65AtPe9DHScwa/A7UIyl4eAdUlBVp
PerB4Cl862dnOwhDSv0+2+h6TkGbhFX/cDg6yfHSfNxRBxq2eSK3k+Ki/n9VBd+X
HloHdgTIm843x6oZgQ60fdW8/9189uKhEOQx/PK+3BcB0zWSx2EPGxXi66UGh5de
ohOTzbxRq6FKp292HG7ZEmXCVhYx7A5RyFNOg0ZNp9a2sZRyzQKkZ5LnafKRBXgZ
zEakQX7IYooyrhiST9/w1rm4DbU7XRkj054ozUXtuzdycxI3UIJYARus59EEBdx8
MsqcjBAQBdOsIOHI/ejFtc6oEhoxsgjZMokxPpCMMJ3KfA52vNQVsdaAZxLtDm+G
M/doS6tCuP4C4yb4JY+CDE6/EO9tCw2Jd0vnStAez2Vjz50xXeWlkfya8aHSfaUp
uI+/0YkPvJ29WXaCE+GW3ncPlqF0vfkXQGCwfo68Ei8GQ58rto3vWn0NbRRbz5+S
TdWPZ9p1RjOMorWeoKpSWptffpSHrUTPNbsJ+kdj2ZT8aRWTyvFhsHO83TrYyeE/
7ZqDwB13AxXe4vcF+8Xdn7rWje84TRnunYtJGx/Qec+NyBLMaAJRD+AmBr1+1o1k
zKwGMqAeZ5FNxWuhG3iyVJGyzEAkrZiUW5bTvWdEC+m2THwVy5U=
=lHWc
-----END PGP SIGNATURE-----
pgppVI297nuil.pgp
Description: PGP signature
--- End Message ---