kolofordjango / kolo

See everything happening in your running Django app. All without leaving VSCode
https://kolo.app
486 stars 14 forks source link

Confusing error message when Kolo can't write to `KOLO_PATH` #50

Closed lewiseason closed 1 year ago

lewiseason commented 1 year ago

First of all, loving your work! ❤️

If Kolo can't write to .kolo (or wherever your KOLO_PATH is), Django exits with this message:

Error: You don't have permission to access that port.

I came across this in Docker, because while my code is mounted inside the container, it doesn't have write access. I can obviously account for this, but it took me a while to figure out what the problem was. Maybe Kolo could detect this and log something before Django exits to give users a hint.

Thanks!

LilyFoote commented 1 year ago

Hi @lewiseason. I think I've fixed this in 2.6.1. Let me know if it doesn't work for you.

lewiseason commented 1 year ago

Looks good to me, thanks Lily!