[openstreetmap/openstreetmap-website] Adapt assertion to work on different architectures (PR #6902)
Pablo Brasero
notifications at github.com
Wed Mar 18 14:49:09 UTC 2026
This assertion was working well until recently. For some reason now it doesn't work on macOS, where the error from LibXML is different from what it was before.
On Debian 13 (Trixie), I can still see the error we have been expecting for over a year:
```
Fatal error: Start tag expected, '<' not found at :1.
```
However, on macOS 15.7.4 (Sequoia) I am now seeing:
```
Fatal error: Document is empty at :1.
```
I'm guessing this is a change in the underlying libxml2. I can see that on macOS I upgraded the library to 2.15.2 earlier this week (using Homebrew) Perhaps this has a slightly different behaviour from the 2.12.17 I have on Debian.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6902
-- Commit Summary --
* Adapt assertion to work on different architectures
-- File Changes --
M test/jobs/trace_importer_job_test.rb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6902.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6902.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6902
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6902 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260318/c33d8f14/attachment.htm>
More information about the rails-dev
mailing list