From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gisle Vanem To: location@lists.ipfire.org Subject: Re: Problem in urllib? Date: Tue, 30 Mar 2021 13:14:12 +0200 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7410076642938008102==" List-Id: --===============7410076642938008102== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Michael Tremer wrote: > Please just update to the 0.9.5 release and this problem will be fixed. I seems to have that; git describe --tags 0.9.5-9-g1814283 It was only that the '0.9.4' was a left-over in my build. What specific change after 0.9.4 did fix this? But rebuilding such that 'User-agent: location/0.9.5', and a little path to 'python/database.c', it seems to work better: ... HTTP Response: 200 Headers: date: Tue, 30 Mar 2021 10:52:03 GMT last-modified: Tue, 30 Mar 2021 05:06:07 GMT etag: "425158-5beb9f4bc1867" accept-ranges: bytes content-length: 4346200 x-content-type-options: nosniff x-frame-options: deny referrer-policy: strict-origin x-xss-protection: 1; mode=3Dblock content-type: application/x-xz strict-transport-security: max-age=3D31536000; includeSubDom= ains; preload connection: close Downloaded new database from Tue, 30 Mar 2021 05:04:14 GMT Traceback (most recent call last): File "f:\ProgramFiler\Python36\lib\shutil.py", line 544, in move os.rename(src, real_dst) FileExistsError: [WinError 183] Kan ikke opprette en fil n=C3=A5r filen allerede finnes: 'f:\\gv\\VC_project\\ws_trace\\tmp82 8kmqif' -> 'f:\\gv\\VC_project\\ws_trace\\IPFire-database.db' ----------- Some issue with shutil when overwriting/renaming an existing .db-file. But updating w/o a .db-file works fine. PS. it would be nice that 'location.py --debug' would honour the setting of 'LOC_LOG'. w/o this it's very hard to see what goes on in the Python module. --===============7410076642938008102==--