cortictechnology / cep

CEP is a software platform designed for users that want to learn or rapidly prototype using standard A.I. components.
MIT License
166 stars 21 forks source link

Load Icon for loading examples #27

Closed ArshadIram closed 2 years ago

ArshadIram commented 2 years ago

Hi,

First of all thank you so much for the great work. We are trying to load the examples but unable to do so. These are the following steps we are following:

  1. Click on Load button
  2. A window is open
  3. We are getting error "Connect rest error and on networks files API is throwing error

From the images you can see that the API is getting fail. WhatsApp Image 2022-03-15 at 11 31 51 AM WhatsApp Image 2022-03-15 at 11 31 51 AM (1)

michaelhwn commented 2 years ago

Hi @ArshadIram, it seems you are using the chromium browser, I will try to reproduce this issue on my end. Which operating system you are using with the chromium browser?

ArshadIram commented 2 years ago

I am using raspberry pi 4b and os is raspberrypi.

michaelhwn commented 2 years ago

Hi @ArshadIram, I tried to reproduce your issue with the following setup:

Hardware: Raspberry Pi 4B OS: Raspberry Pi OS (32-bit Bullseye) Browser: Chromium that comes with the Raspberry Pi OS

Steps:

  1. Open Chromium on the Raspberry Pi 4b
  2. Use http://<ip_address_of_pi> to access CAIT
  3. Login with my username and password.
  4. Click "Open" button, a windows pop up and I can browse to my examples folder.
  5. Load an example.

I also tried to use different alternative addresses in step 2 such as http://localhost and http://0.0.0.0 to access CAIT.

In all of the cases, I can open and load examples properly. I will need more logs to determine what happened on your setup, can you please run the following command in a terminal before you perform an "open file" operation:

sudo journalctl -u cait_webapp.service -f

Then after you click the Open button and when it produces an error, please capture the log in the terminal and post it here.

ArshadIram commented 2 years ago

Yes, It seems working to me now. I was getting error in morning. Many thanks to you.