# GUI Errors after new installation

**URL:** <https://www.evolver.bio/t/gui-errors-after-new-installation/317>\
**Category:** Software\
**Created:** [August 17, 2021, 3:17am UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317 "2021-08-17T03:17:02Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![santibk](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@santibk](https://www.evolver.bio/u/santibk)\
**Post date:** [August 17, 2021, 3:17am UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/1 "2021-08-17T03:17:02Z")

</div>

Hi all,

After a hard drive failure, I am reinstalling the evolver software and getting things and getting things up and running again.  
I have installed the DPU, configured a router to connect the evolver and our PC, and installed the GUI. Now, I am trying to run new calibrations and I am getting errors when I try to use the desktop GUI.  
First, when I open the GUI I get this error message:  
 ![Screenshot 2021-08-16 194936](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/63ff87617fba2d2f36dde5c14073e209a1a2b7eb.png)

Second, when I try to run a temp or OD calibration, the desktop GUI does not display any values from the sensors or record the values when I hit the “play” button:

 ![Screenshot 2021-08-16 194958](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/eb142425f7a0cbfa7763bfc798c6eea3f13194ca.png)

When I open the calibration method on the evolver machine, however, it correctly displays values and appears to be working correctly.

Do folks have any thoughts about what might be happening and how to get the desktop GUI working?

Thank you.

---

<div class="post-metadata">

**Author:** ![danigarcia](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/danigarcia/32/221_2.png) [@danigarcia](https://www.evolver.bio/u/danigarcia)\
**Post date:** [August 17, 2021, 10:55am UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/2 "2021-08-17T10:55:02Z")

</div>

Hi!

It seems to me that your GUI app is not able to reach your eVOLVER. You may want to double check your router configuration and your connections. Also, you can try to find your eVOLVER from the GUI using its IP and see what that gives you (see screen capture below).

 ![Screen Shot 2021-08-17 at 12.44.10](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/4913e601d59a52f54ac41951c0384cae0f1c759c.png)

About the first error, I’d say it should not affect the correct functioning of the app.

Hope it helps!

---

<div class="post-metadata">

**Author:** ![santibk](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@santibk](https://www.evolver.bio/u/santibk)\
**Post date:** [September 9, 2021, 10:54pm UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/3 "2021-09-09T22:54:10Z")

</div>

Hi Dani,

Thank you for the guidance and sorry for the late reply. As best I can tell, the router configuration looks fine

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/89406bbc27d6174cabb094e2678bf7b3e9684410.png)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/ac3ac964d81cc3d003fcb51f17c93495ee268c5a.png)

Additionally, when I try to access the evolver using the calibrate.py script it hangs here:  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/9ef220da16e177d8b2f6d7d9b08777068e873a75.png)

Overall, it seems like I am having problems similar to this thread:

> [@Calibration files unable to be accessed](https://www.evolver.bio/t/calibration-files-unable-to-be-accessed/222):
>
> Hi, I’m trying to run an experiment, but the script seems to be getting stuck on the calibration files These are the errors I’m getting in the log file: 2020-10-29 17:39:01 - eVOLVER - [WARNING] - Calibrations not received yet, requesting again 2020-10-29 17:39:01 - eVOLVER - [WARNING] - calibration files still missing, skipping custom functions 2020-10-29 17:39:22 - eVOLVER - [WARNING] - Calibrations not received yet, requesting again 2020-10-29 17:39:22 - eVOLVER - [WARNING] - calibratio…

Referencing this thread, I went ahead and updated the calibrations format but still have not been able to get the evolver to work properly with the GUI or dpu.

Is there anything I may be missing?

Thanks!

---

<div class="post-metadata">

**Author:** ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)\
**Post date:** [September 10, 2021, 3:45pm UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/4 "2021-09-10T15:45:32Z")

</div>

Hi @santibk,

Can you show a screenshot of the calibrations file on the RPi? It should be at `~/evolver/evolver/calibrations.json`. If this is empty or non-existent you will unfortunately need to upload the dummy calibrations file located [here](https://github.com/FYNCH-BIO/evolver/blob/master/evolver/calibrations.json) and then re-do your calibrations.

The calibration update script referenced in the other thread only works on a specific version of the old calibration files. We went through a couple of iterations before settling on the current version.

Thanks,  
Zack

---

<div class="post-metadata">

**Author:** ![santibk](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@santibk](https://www.evolver.bio/u/santibk)\
**Post date:** [September 13, 2021, 10:26pm UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/5 "2021-09-13T22:26:23Z")

</div>

Hi Zack,

Here is a screenshot of the contents of the `calibrations.json` file (apologies for the blue text on blue background):

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/6dd0f03d349afc29ea101043ae2a7d727844eba3.png)

Additionally, when I navigate the GUI on the evolver’s touchscreen I am able able to see all of my calibrations there.

Santi

---

<div class="post-metadata">

**Author:** ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)\
**Post date:** [September 14, 2021, 6:48pm UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/6 "2021-09-14T18:48:11Z")

</div>

Ok great, glad that isn’t the issue.

Next thing is can you show a screenshot of the logs? On the RPi:

`sudo supervisorctl`

then

`tail -f evolver`

You should see messages flowing up the screen every 20s or so.

Zack

---

<div class="post-metadata">

**Author:** ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)\
**Post date:** [September 14, 2021, 9:03pm UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/7 "2021-09-14T21:03:55Z")

</div>

@santibk and I spoke directly - it looks like there was a software mismatch between the evolver server code and the GUI/DPU. Hopefully updating the evolver server and arduino code will resolve the issue.

[Guide for updating server](https://www.evolver.bio/t/updating-the-evolver-server/69).  
[Guide for updating arduinos](https://www.evolver.bio/t/installing-arduino-libraries-and-uploading-code/156).

---

<div class="post-metadata">

**Author:** ![santibk](https://avatars.discourse-cdn.com/v4/letter/s/f14d63/32.png) [@santibk](https://www.evolver.bio/u/santibk)\
**Post date:** [September 20, 2021, 11:17pm UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/8 "2021-09-20T23:17:27Z")

</div>

Update:

After updating the evolver server (conf.yml and all python files) and the arduinos. I took another shot at controlling the evolver via the GUI. This time, the calibration files show up but I cannot click on them or see the sensor readings from the machine

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/99e8233d2116d718bd351623b7cc7f1be1c2aae0.png)

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/2f8e6bba8c730ec132b9013c9769ebc6a8e4b706.png)

When I ssh into the RPi and look at the logs, they appear as follows:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/evolver/original/1X/b9488465109b29b037049123ffc57bb2c5126dd2.png)

Any ideas what I might want to try next?

Thanks,  
Santi

---

<div class="post-metadata">

**Author:** ![bgwong](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/bgwong/32/262_2.png) [@bgwong](https://www.evolver.bio/u/bgwong)\
**Post date:** [September 20, 2021, 11:51pm UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/9 "2021-09-20T23:51:30Z")

</div>

I think there are two issues here:

1. I think if you manually update the server, you might have to manually set the “active” calibration file. Otherwise, it will probably error out. You can find it on the [calibrations.json example](https://github.com/FYNCH-BIO/evolver/blob/master/evolver/calibrations.json) from the previous posts. Make sure it has a valid `"active": true` entry on the json that you want to be active.

2. Seems like data isn’t properly getting to the Pi from one of the Arduinos (OD135) To properly communicate with the OD135 photodiode, seems like a longer delay would help. Here is instructions on how to do this. [Pumps not working in chemostat mode - #5 by heinsz](https://www.evolver.bio/t/pumps-not-working-in-chemostat-mode/266/5)

Zack can correct me if I’m wrong! Good luck!

---

<div class="post-metadata">

**Author:** ![heinsz](https://yyz1.discourse-cdn.com/flex035/user_avatar/www.evolver.bio/heinsz/32/52_2.png) [@heinsz](https://www.evolver.bio/u/heinsz)\
**Post date:** [September 21, 2021, 12:56am UTC](https://www.evolver.bio/t/gui-errors-after-new-installation/317/10 "2021-09-21T00:56:27Z")

</div>

I think you’re right about the active cal not being set. Manually setting at least one of the fits to `true` for both temp and od should resolve that.

Pretty sure the od135 errors in the log are harmless - the od90 parameter is the one that matters. It’s a bit confusing as their setup is using 135 degree, but the arduino code for OD is handled in the OD90 sketch. The OD135 address is in the [RS485\_PD](https://github.com/FYNCH-BIO/evolver-arduino/blob/master/SAMD21/RS485_PD/RS485_PD.ino) file for the dual LED/PD setup for wide range OD readings. We should probably just remove that parameter from the default `conf.yml` file on github since most people don’t have that setup, or think about renaming those files and addresses.
