-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] "Not Found" when running "fo.launch_app()" - maybe due to version 1.4.0 #5459
Comments
Hi @lejrn. A Are you running FiftyOne through a proxy? Could you open the App in a browser tab with |
Hey @benjaminpkane Thanks for your reply. When I said that I installed fifty-one from pip, I meant:
As per the proxy, no, I don't. I use only the "http://localhost:5151". I tried to delete and clear the caches of the Poetry environment, and reinstall (poetry install) with v1.2.0. But when I try an empty dataset, I get this: which is a good sign. I'm not sure if I resolved the issue, but now that I reinstalled v1.2.0, I noticed that it works as before. Not sure if I should close this issue or not... |
Ok, since you originally installed from source (i.e. the git repository) the App has to be built. Or, more generally, the install script should be used. Here is where the App step is So it looks like you then installed a PyPI version next noting your screenshot. That has the App already built of course. TLDR the install script should be used when working from the git repository ✨ |
Thanks for this explanation! Just awesome. Does running this Beside that,
thanks! |
It will install the Python package via poetry, but it does not run the the App build. So it is slightly different. The install script can be modified to use The install script should be run in the root of the repository.
|
@benjaminpkane Thank you for your explanation. Actually, installing "install.bat" made things go batshit. Got a lot of "Not Found" errors, meaning that the App instance hasn't been properly built and set up. I had to purify some environments, clear caches and delete folders to make sure everything was completely reset. Even when I tried to modify some stuff to Poetry, I felt like it wasn't going easily (and AI wasn't making it simpler). I've come across this tutorial, even though it's for fiftyone-teams, Where it says:
And I thought. Could it be working similarly? |
I am OOO next week, but I will take a look when I am back! Or someone else may jump in |
I encountered two issues while using FiftyOne on Windows 11:
Code to reproduce issue
session = fo.launch_app()
System information
OS Platform and Distribution: Windows 11
Python version: 3.10.2
FiftyOne version: 1.4.0 (attempted downgrade to 1.3.0)
FiftyOne installed from: pip (poetry)
Other info/logs:
When launching the app, the browser directs to http://localhost:5151 but returns a "Not Found" error.
Downgrading to version 1.3.0 does not update the client/database versions; they remain at 1.4.0.
No additional logs or tracebacks are available at this time.
Willingness to contribute:
Yes. I would be willing to contribute a fix for this bug with guidance from the FiftyOne community
The text was updated successfully, but these errors were encountered: