linux-automation / lxa-iobus

Linux Automation IOBus server
https://lxa-iobus.readthedocs.io/en/latest/
Apache License 2.0
3 stars 4 forks source link

Installing only server does not lead to a usable http server #1

Closed Emantor closed 3 years ago

Emantor commented 3 years ago

I used pip install -e .[server] to install only the server portion, however this does not lead to a usable web interface. Executing the Makefile used [full] which leads to a working server environment. Either [server] should be removed or fixed to provide a working server.

fscherf commented 3 years ago

Hi @Emantor,

pip install -e .[server] does not mean "install only the server component" but "install the package with all its dependencies + all additional dependencies for the target server"

When lxa-iobus gets installed with [server] only --shell shouldn't work. What do you mean by not usable?

Emantor commented 3 years ago

By not usable I mean that the http server is not reachable if only [server] is installed instead of [full].

fscherf commented 3 years ago

do you see a stacktrace or something?

Emantor commented 3 years ago

Logging output suggests that the CanOpen Component starts up correctly, but trying to reach "http://localhost:8080" does not output a stacktrace or error message in the logging output.

Emantor commented 3 years ago

I can no longer reproduce this with a fresh environment. Still wondering what went wrong there.