OpenCyphal / nunaweb

A web UI for transcompiling DSDL via Nunavut.
https://nunaweb.opencyphal.org/
MIT License
4 stars 1 forks source link

Nunaweb not accepting .zip uploads #2

Closed clyde-johnston closed 3 years ago

clyde-johnston commented 3 years ago

After selecting a .zip file (e.g my_project.zip) for upload and clicking the "Submit" button on the nunaweb page, there is no response from the web application. There is no error in the logs or any files in the "nunaserver/upload" directory.

In contrast, submitting a github repository produces a .zip file for downloading.

bbworld1 commented 3 years ago

I've figured out why this happens. The test zip you linked is a single namespace (i.e. there's no sub-namespaces); the backend is currently expects each repository/zip to contain one or more sub-namespaces. I will update the backend to support single-namespace uploads as well.

bbworld1 commented 3 years ago

Fixed by #3 .