Bug 2293436

Summary: Fails to read html files that are not utf-8 encoded
Product: [Fedora] Fedora Reporter: Sergio Pascual <sergio.pasra>
Component: rust-add-determinismAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: rust-sig, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: rust-add-determinism-0.3.1-1.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-20 21:32:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2279765    

Description Sergio Pascual 2024-06-20 16:20:22 UTC
I was fixing a FTBFS https://bugzilla.redhat.com/show_bug.cgi?id=2291622
in the package python-astroquery

The reason of the failure were two files, installed but unpackaged,
both in python3_sitelib named:

astroquery/ipac/irsa/tests/data/.#.MOST_full_with_tarballs.html.tmp
astroquery/ipac/irsa/tests/data/.#.MOST_regular.html.tmp

The build logs

https://kojipkgs.fedoraproject.org//work/tasks/5000/119225000/build.log

show the following error

/builddir/build/BUILD/python-astroquery-0.4.7-build/BUILDROOT/usr/lib/python3.13/site-packages/astroquery/ipac/irsa/tests/data/MOST_full_with_tarballs.html:
failed to process:
/builddir/build/BUILD/python-astroquery-0.4.7-build/BUILDROOT/usr/lib/python3.13/site-packages/astroquery/ipac/irsa/tests/data/MOST_full_with_tarballs.html:
failed to read line: stream did not contain valid UTF-8

After the faillure, there is a temporary file lef around, that I had to remove manually.

A few more details here:

https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/J6ZF4YEY5UKVDQBCK6EVHI7QF772BVSW/


Reproducible: Always

Comment 1 Zbigniew Jędrzejewski-Szmek 2024-06-20 20:35:35 UTC
https://github.com/keszybz/add-determinism/pull/18

Comment 2 Fedora Update System 2024-06-20 21:29:21 UTC
FEDORA-2024-1ccf0fd221 (rust-add-determinism-0.3.1-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1ccf0fd221

Comment 3 Fedora Update System 2024-06-20 21:32:25 UTC
FEDORA-2024-1ccf0fd221 (rust-add-determinism-0.3.1-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.