peterschutt / sqladmin-litestar-plugin

Litestar plugin for the SQLAdmin library
MIT License
18 stars 0 forks source link

/admin does not work when using Granian Plugin #44

Closed sorasful closed 2 weeks ago

sorasful commented 4 weeks ago

Hi,

I've been trying to add SQLAdmin to my project thanks to this plugin, but I got an 500 error with not much detail when I tried to reach /admin route.

So I tried to disable the Granian plugin and use Uvicorn instead, and now it works.

I thought it could be good to report this, in case someone else also stumble on this.

peterschutt commented 3 weeks ago

Hi @sorasful - thanks for reporting this.

I'm working my way back from an unplanned extended break - so catching up on the work side of things at the moment. I will get to this when the time is right, but if you can provide any more info, especially a reproduction repository that I can clone and run would be great. If not, no problem either.

sorasful commented 2 weeks ago

Let me get back to you on this. I'll provide a repository to reproduce this when I have a little time. Thanks !

sorasful commented 2 weeks ago

Hmm, actually, I tried to get started with a minimal example and it seems to be working. Maybe something else is messing around in my setup.

If I can reproduce I'll reopen with an example to reproduce. Thanks for your time and efforts.