<p></p>
<blockquote>
<blockquote>
<p dir="auto">Regarding "Entity: line 1: parser error : Start tag expected, '<' not found" message, it's introduced by adding test_parse_error_notification which tries to load JPG file with XML reader.</p>
</blockquote>
<p dir="auto">Do you think that if you upload a binary file without this PR, the error won't be printed?</p>
</blockquote>
<p dir="auto">Ah, I apologize. You are right, I was thinking only for automated testing and forgot it will be printed also by logger when we manually try to upload some binary file (e.g. JPG) ...</p>
<blockquote>
<blockquote>
<p dir="auto">Perhaps the best would be to redirect stderr to temporary file which could be printed if this test fails?</p>
</blockquote>
<p dir="auto">We don't need this error printed because we're additionally logging it with Rails logger.</p>
<p dir="auto">I disabled xml library error writing for this case but there's also another path for multi-file archives with different errors. And there's also a changeset diff reader elsewhere.</p>
</blockquote>
<p dir="auto">Now it works great, thank you very much. There is no more xml library error, neither during automated tests nor during manually uploading trace files.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5226#issuecomment-2364045383">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLLJOLP3KD3CXAO25A3ZXRAXJAVCNFSM6AAAAABOQHKFPKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRUGA2DKMZYGM">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJV4KH4RU4DFQZPGT3ZXRAXJA5CNFSM6AAAAABOQHKFPKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUM5B4EO.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/5226/c2364045383</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/5226#issuecomment-2364045383",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5226#issuecomment-2364045383",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>