OpenLightingProject / open-fixture-library

A library and website for lighting technology's DMX fixture definition files.
https://open-fixture-library.org/
MIT License
187 stars 62 forks source link

GDTF parsing error #3545

Closed mixage closed 1 week ago

mixage commented 10 months ago

Could'nt upload this GDTF file:

CLPST6G2_CAMEO_GDTF_File_03-2023.zip

https://www.cameolight.com/en/downloads/file/id/1265593071

FloEdelmann commented 10 months ago

Thanks for the report! I just tried it and I indeed get the error message "Request failed with status code 413".

Locally, the error message is a bit more helpful:

TypeError: oflChannel.fineChannelAliases is not iterable
    at addChannelKeyToDmxBreakWrapper (…/open-fixture-library/plugins/gdtf/import.js:956:54)
    at …/open-fixture-library/plugins/gdtf/import.js:883:9
    at Array.map (<anonymous>)
    at addModes (…/open-fixture-library/plugins/gdtf/import.js:870:53)
    at Module.importFixtures (…/open-fixture-library/plugins/gdtf/import.js:90:3)
    at async …/open-fixture-library/cli/import-fixture.js:31:49
FloEdelmann commented 10 months ago

The parser is fixed, now you should be able to upload the file :slightly_smiling_face:

mixage commented 10 months ago

Thanks for the quick reply! Unfortunately I still get this error message:

Upload failed Unfortunately, there was an error while uploading. Please copy the following data and manually submit them to GitHub .


{
  "plugin": "gdtf",
  "fileName": "CLPST6G2_CAMEO_GDTF_File_03-2023.gdtf",
  "fileContentBase64": .....
FloEdelmann commented 1 week ago

Ah, that's a different error now: The file is too big for the server to handle. This is the same error as #3837, so I'll also close this as won't fix.