500 Server Error on submit addon #241

Closed
opened 2024-08-27 21:52:25 +02:00 by Anything-World · 5 comments

Details:
500 Server Error every time to upload a [addon]
https://drive.google.com/file/d/1pbMuskUM8N4OaMql3taUF4dp8aR4icky/view?usp=sharing

Details: 500 Server Error every time to upload a [addon] https://drive.google.com/file/d/1pbMuskUM8N4OaMql3taUF4dp8aR4icky/view?usp=sharing
Anything-World added the
Type
Report
Priority
Normal
labels 2024-08-27 21:52:26 +02:00
Owner

Hi, looking at server logs, I see that there are failed attempts due to missing type field in the manifest.

This definitely should not be a 500 error, but a validation error, we'll work on that.

Hi, looking at server logs, I see that there are failed attempts due to missing `type` field in the manifest. This definitely should not be a 500 error, but a validation error, we'll work on that.

@Oleg-Komarov without looking at the code my guess would be a problem in the new license validation code (we check for type there).

@Oleg-Komarov without looking at the code my guess would be a problem in the new license validation code (we check for type there).
Owner

Type is a mandatory field anyway, and we check it in the very beginning at

type_slug = toml_content['type']

we just need to make sure the code doesn't crash on invalid toml_content

Type is a mandatory field anyway, and we check it in the very beginning at https://projects.blender.org/infrastructure/extensions-website/src/commit/e077fae9f6030d577102a1c8b8532428253ef3e3/files/utils.py#L203 we just need to make sure the code doesn't crash on invalid toml_content
Author

Thanks. Fixed and submited

Thanks. Fixed and submited

I would rather we keep this open until we have a fix on the server. @Oleg-Komarov I can take a first look at it

I would rather we keep this open until we have a fix on the server. @Oleg-Komarov I can take a first look at it
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#241
No description provided.