-
Notifications
You must be signed in to change notification settings - Fork 30
Long filenames break upload #80
Comments
On 12/20/2016 10:31 AM, Joe Meilinger wrote:
When uploading a file to process, long filenames (specifically those >
64 characters long) yield |value too long for type character varying(64)|
https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits
excluding ReiserFS/Reiser4 general consensus is 255 chars
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#80>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAUtqEdo7GC3DOSHEsoEeWCH9QOtRfgbks5rKB76gaJpZM4LSJfp>.
Are you using a version newer than commit 930c68a? There were changes
to allow longer upload paths, but were previously set at 100 chars not 64.
…--
Cheers,
Jivan Amara
---
|
Hi @meilinger, would you check that this is resolved in this branch: https://github.com/jivanamara/django-osgeo-importer/tree/long_filenames_break_upload |
@JivanAmara Looks like that fixes the filename length issue, thanks! Running into another issue related to introspection of the |
Sounds good, I'll send that fix to be merged. |
Hi @JivanAmara , I seem to be getting a similar error too on 0.1.1a1. The error happens after selecting the file, the difference is it happens when saving upload_layer https://github.com/GeoNode/django-osgeo-importer/blob/master/osgeo_importer/utils.py#L472 Traceback: traceback.txt Here is the shp I used (extract the gzip first): parks.zip.gz |
When uploading a file to process, long filenames (specifically those > 64 characters long) yield
value too long for type character varying(64)
https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits excluding ReiserFS/Reiser4 general consensus is 255 chars
The text was updated successfully, but these errors were encountered: