Skip to content
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

Unable to load UI in 0.41.3 #4743

Open
t0a009r opened this issue Nov 6, 2024 · 2 comments
Open

Unable to load UI in 0.41.3 #4743

t0a009r opened this issue Nov 6, 2024 · 2 comments

Comments

@t0a009r
Copy link

t0a009r commented Nov 6, 2024

Expected Behavior

I expect to be able to init a feast repo, apply the example changes, and then load up the UI successfully.

Current Behavior

The UI is unable to load and returns an error.
Screenshot 2024-11-06 at 5 26 22 PM

Steps to reproduce

$ feast version
Feast SDK Version: "0.41.3"
(.venv) [05:25 PM] ~ 
$ feast init demo 

Creating a new Feast repository in /Users/t0a009r/demo.

(.venv) [05:25 PM] ~ 
(.venv) [05:25 PM] ~ 
$ cd demo/feature_repo/
(.venv) [05:25 PM] ~/demo/feature_repo 
(.venv) [05:25 PM] ~/demo/feature_repo 
$ feast apply
Applying changes for project demo
...
RuntimeWarning: On demand feature view is an experimental feature. This API is stable, but the functionality does not scale well for offline retrieval
  warnings.warn(
11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
Created project demo
Created entity driver
Created feature view driver_hourly_stats
Created feature view driver_hourly_stats_fresh
Created on demand feature view transformed_conv_rate_fresh
Created on demand feature view transformed_conv_rate
Created feature service driver_activity_v2
Created feature service driver_activity_v3
Created feature service driver_activity_v1

11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
11/06/2024 05:25:46 PM root WARNING: Cannot use sqlite_vec for vector search
Created sqlite table demo_driver_hourly_stats_fresh
Created sqlite table demo_driver_hourly_stats

(.venv) [05:25 PM] ~/demo/feature_repo 
$ feast ui
...
DeprecationWarning: 
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
        
  @app.on_event("shutdown")
...
 DeprecationWarning: 
        on_event is deprecated, use lifespan event handlers instead.

        Read more about it in the
        [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).
        
  return self.router.on_event(event_type)
INFO:     Started server process [50321]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8888 (Press CTRL+C to quit)
INFO:     127.0.0.1:62172 - "GET /registry HTTP/1.1" 200 OK
INFO:     127.0.0.1:62226 - "GET / HTTP/1.1" 304 Not Modified
INFO:     127.0.0.1:62226 - "GET /static/css/main.8f4de231.css HTTP/1.1" 304 Not Modified
INFO:     127.0.0.1:62228 - "GET /static/js/main.c06fbdbb.js HTTP/1.1" 304 Not Modified
INFO:     127.0.0.1:62228 - "GET /static/media/feast-icon-grey.e5aa0a305d8efd775c4b.svg HTTP/1.1" 304 Not Modified
INFO:     127.0.0.1:62228 - "GET /projects-list.json HTTP/1.1" 200 OK
INFO:     127.0.0.1:62228 - "GET /static/js/icon.arrow_down.50a8ddfa.chunk.js HTTP/1.1" 304 Not Modified
INFO:     127.0.0.1:62228 - "GET /registry HTTP/1.1" 200 OK
INFO:     127.0.0.1:62237 - "GET /manifest.json HTTP/1.1" 304 Not Modified
INFO:     127.0.0.1:62228 - "GET /feast-favicon-300x300.png HTTP/1.1" 304 Not Modified
INFO:     127.0.0.1:62228 - "GET /registry HTTP/1.1" 200 OK
INFO:     127.0.0.1:62228 - "GET /registry HTTP/1.1" 200 OK
INFO:     127.0.0.1:62228 - "GET /registry HTTP/1.1" 200 OK
INFO:     127.0.0.1:62228 - "GET /static/js/icon.warning.c555a5de.chunk.js HTTP/1.1" 200 OK
^CINFO:     Shutting down
INFO:     Waiting for application shutdown.
INFO:     Application shutdown complete.
INFO:     Finished server process [50321]

# Visit the home page and it won't load

Specifications

  • Version: 0.41.3
  • Platform: Mac Apple M3 Pro
  • Subsystem: n/a

Possible Solution

It might be related to #4475? Currently the UI successfully loads for 0.40.0.

@JCirera
Copy link

JCirera commented Nov 7, 2024

The same is happening to me. In 0.40.1 the UI still works. I tested in wsl.

@young-hun-jo
Copy link

I got this same error. I can't this fix it. By mentioned by @JCirera , the 0.40.1 version works for mac. This is broken feature in latest version(0.41.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants