lilac icon indicating copy to clipboard operation
lilac copied to clipboard

Lilac server won't open / is blank, operations can't be applied.

Open TheodoreGalanos opened this issue 1 year ago • 8 comments

Hello!

The latest fix allowed me to install and create a project (lilac = 0.17)

However, after creating an initial test object, loading a JSON file (correctly, if I'm reading the .yaml file right) I can't seem to load the server on the browser. Console seems to show Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain" but not sure that's relevant.

Additionally, running operations on it gives errors like

pydantic.error_wrappers.ValidationError: 1 validation error for EmbeddingConfig
embedding
  Signal "gte_small" not found in the registry (type=value_error)

My apologies if I missed something obvious, I tried to look around issues.

TheodoreGalanos avatar Sep 02 '23 19:09 TheodoreGalanos

Hi @TheodoreGalanos, been trying to reproduce this with no luck! I'm on it today.

Can you share your OS version, python version, and potentially the JSON dataset you're trying to load (if it's not private)?

And did you pip install lilac or pip install lilac[all]?

nsthorat avatar Sep 04 '23 11:09 nsthorat

Also, are you installing in a venv?

nsthorat avatar Sep 04 '23 12:09 nsthorat

Hello @nsthorat !

Apologies for late reply. I am on Windows 10 and in a python 3.11 environment. I installed lilac with pip install[gte]. I will give all a try now.

edit: same issue with pip install lilac[all], after doing lilac start /test command within a folder, I get a blank page on 127.0.0.1:5432

TheodoreGalanos avatar Sep 04 '23 23:09 TheodoreGalanos

Ah awesome, thanks. I'll boot up my windows machine today and look into this!

nsthorat avatar Sep 05 '23 12:09 nsthorat

@TheodoreGalanos one last question -- are you running this in WSL or from the windows terminal?

nsthorat avatar Sep 06 '23 14:09 nsthorat

Hey, I'm running this from a miniconda environment.

TheodoreGalanos avatar Sep 06 '23 19:09 TheodoreGalanos

BTW it worked fine through WSL. Wonder if it's a windows thing?

TheodoreGalanos avatar Sep 08 '23 23:09 TheodoreGalanos

Yeah it must be a windows bug.. got my windows machine set up but it's got some issues. Still going to work on this!

Does WSL unblock you or do you need it to work without that?

nsthorat avatar Sep 11 '23 14:09 nsthorat