datature / portal

Portal is the fastest way to load and visualize your deep neural networks on images and videos 🔮
https://datature.io/portal
Apache License 2.0
256 stars 59 forks source link

[BUG] Portal runtime is unresponsive. #134

Open AlexVialaBellander opened 2 years ago

AlexVialaBellander commented 2 years ago

Describe the bug Portal runtime is unresponsive when launching the application.

To Reproduce Running this build: https://github.com/datature/portal/releases/tag/v0.5.5 On MacOs


Uncaught (in promise) Error: Network Error
    at e.exports (835-91f7fb22de8eba0dd168.js:1)
    at XMLHttpRequest.p.onerror (835-91f7fb22de8eba0dd168.js:1)
localhost:9449/api/project/assets:1 
Failed to load resource: net::ERR_CONNECTION_REFUSED
835-91f7fb22de8eba0dd168.js:1 
Uncaught (in promise) Error: Network Error
    at e.exports (835-91f7fb22de8eba0dd168.js:1)
    at XMLHttpRequest.p.onerror (835-91f7fb22de8eba0dd168.js:1)```
gkeechin commented 2 years ago

Hey @AlexVialaBellander - thank you for bringing this up - I was trying to reproduce using the particular release and didn;t manage to get this bug. Is it possible for you to try running this from terminal?

git clone https://github.com/datature/portal
cd portal
pip3 install -r requirements.txt
./setup.sh

Then subsequently

python3 portal.py

To get the app up? The electron app is essentially running the same codes in the backend, except wrapping around our react frontend, was wondering if this might be a viable way to get up and running as we look deeper into this issue?