livebook-dev / livebook

Automate code & data workflows with interactive Elixir notebooks
https://livebook.dev
Apache License 2.0
4.89k stars 419 forks source link

Loading a livemd works, but homepage 500's #1456

Closed DanielOaks closed 1 year ago

DanielOaks commented 2 years ago

Environment

Current behavior

Sorry if this isn't the right place for general support, but I couldn't find a more specific 'livebook community' I can ask πŸ˜…

I've just installed the Livebook app on Windows 10 and am having trouble getting it to work properly.


If I start Livebook from LivebookLauncher.exe and click Open Browser, I get sent to the page http://localhost:56969/?token=w4dszzzvxhkdq3xbwmq4q34y6lfxdtou which fails with no error messages in the console:

image

and the same on Chrome:

image


However, I tried double-clicking a basic example .livemd file. When I double-click the file, Livebook opens that session up successfully with no trouble:

image

And I can use this loaded book without any issue.

The /dashboard route also loads and works without any trouble. But hasn't shown any logs on the Request Logger page when I try to load the homepage with that cookie active.


After loading a livebook successfully, if I try to click the homepage button up the top I get a 500 error again with no messages in the console. I've taken a look around, but there's no logs in \AppData\Local\livebook\Logs and I can't find any other place to see log info.

Expected behavior

Hopefully the pretty homepage of Livebook would show up!


I'm a Phoenix and Elixir newbie, sorry if there's anything basic that I've missed πŸ˜…

josevalim commented 2 years ago

@wojtekmach do you know what is the log location on Windows? I guess we can probably retrieve it from the release root?

josevalim commented 1 year ago

Should be addressed on the soon to be launched Livebook Desktop v2.