<p></p>
<p>Yes in an archive you tend to get an entry for the directory, which has no data, and then an entry for each file in the directory.</p>
<p>A slightly bizarre feature of the libarchive bindings we're using is that if there is no data for an entry they return the length instead (which is always zero obviously) which led to the error about an integer when a string is expected.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3008#issuecomment-746176328">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOV557Y7HHDOBP4QSTSVCOBHANCNFSM4U5Y6FHQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLLFJOTORRTG2ZM5AWTSVCOBHA5CNFSM4U5Y6FH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFR436SA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3008#issuecomment-746176328",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3008#issuecomment-746176328",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>