teodevgroup / teo

Schema-driven web server framework.
https://teodev.io
Apache License 2.0
1.39k stars 46 forks source link

Error generate admin #65

Closed linpete-proto closed 3 months ago

linpete-proto commented 3 months ago

First - thx for this great project - i like it very much!

By trying Generate admin dashboard from the tutorial i get an error at

cargo teo generate admin Error: Error { code: 500, message: "error decoding response body", errors: None, platform_native_object: None }

Backend ist up and running

cargo teo serve [2024-06-12 08:18:41] sqlite connector connected for main at "sqlite:./database.sqlite" [2024-06-12 08:18:41] Teo 0.2.35 (Rust 1.78.0, CLI) [2024-06-12 08:18:41] listening on port 5054

This seems due to some kind of misffits in the serde json deserialization of the repsonse body?

victorteokw commented 3 months ago

Hi @linpete-proto, I forgot to update the admin template to the latest version.

victorteokw commented 3 months ago

This is fixed.

Howe829 commented 3 months ago
image

Hi @victorteokw how about python version?

Howe829 commented 3 months ago

image Hi @victorteokw how about python version?

Ok, I think it was something wrong with my network.

victorteokw commented 3 months ago

Hi @linpete-proto, yup, we need to fetch GitHub for the admin template.