# Matplotlib failure

**URL:** <https://forum.inductiveautomation.com/t/matplotlib-failure/80822>\
**Category:** Ignition\
**Created:** [October 22, 2023, 3:13pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822 "2023-10-22T15:13:16Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 3:13pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/1 "2023-10-22T15:13:16Z")

</div>

Morning Guys,  
This looked like an appropriate location for this question...

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/2/82178e765731b77ea01462e63fe34f3a67c097a0.png)

What in the world is this?

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [October 22, 2023, 3:39pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/2 "2023-10-22T15:39:32Z")

</div>

I believe that matplotlib makes use of DLL files, therefore you can use it with pure Python, but not Jython, which Ignition uses.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 22, 2023, 3:48pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/3 "2023-10-22T15:48:27Z")

</div>

> [@Alan\_Cannon](#):
>
> looked like an appropriate location

I don't understand how you concluded a post about gateway startup had anything to do with a client/designer issue. It doesn't.

If you share more information how you got to this state, we might be able to advise further. Complete Ignition version, to start.

---

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 3:54pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/4 "2023-10-22T15:54:48Z")

</div>

Designer would not start spouting the gw~ path issues... or // gateway fails to respond

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 22, 2023, 3:55pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/5 "2023-10-22T15:55:41Z")

</div>

Could you open the gateway web page? If so, it started.

Launching a designer doesn't test a gateway's status, it tests **comms** to a gateway. There's lots of ways a designer launcher can screw **that** up.

---

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 3:56pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/6 "2023-10-22T15:56:00Z")

</div>

8.1.27

---

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 3:59pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/7 "2023-10-22T15:59:33Z")

</div>

Events:  
i opened my Machine this morning and clicked the Designer Button and received that error. i examined the folder of the PyLib and most of it is empty besides the matplotlib directory.. I looked on my clients installed system to validate the missing directories.  
thoughts?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 22, 2023, 4:01pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/8 "2023-10-22T16:01:22Z")

</div>

The error shown is to a gateway in your own machine, not a gateway elsewhere. Open `http://localhost:8088/` in web browser. What do you get? Is it what you expect? What designer shortcuts do you have in your designer launcher? Is localhost one of them? Where is your client's gateway?

---

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 4:06pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/9 "2023-10-22T16:06:31Z")

</div>

1. It Opens the Gateway on my Host machine for sure.. Yes Gateway opens and seems functionl
2. 1 shortcut and localhost is the path
3. i have rdp'd into another machine off their network while i complete this install  
the folder in the error: LH is my Host | RH is the Other install (Client Machine)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/a/bacf47ffc53f9078c3fd580e8d02bf007fe5854d.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/1/41f3f87a3ba9e81fafa4fb709164a02df2d54640.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 22, 2023, 4:10pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/10 "2023-10-22T16:10:57Z")

</div>

Huh.

They are doing something odd with CPython on their gateway and have tied it to Ignition somehow.

Try deleting matplotlib from your device, deleting your launcher cache, and trying again.

If that fails, you will have to closely examine what happens when launching a designer against their production server to figure out what it is doing, and replicate the necessary pieces of that environment in your environment.

You might want IA support looking over your shoulder.

(FWIW, running a gateway directly in your workstation is unwise for anything except training material. Set up a separate VM that closely mimics your client's real production gateway server and run **just** the gateway on it. Run just the **designer** on your workstation.)

---

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 4:23pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/11 "2023-10-22T16:23:05Z")

</div>

Sorryit seems i mislead the conversation.  
i am working only on my Dev machine. where the issue is. i built their PC last week to run this app.. , so when i ran into this issue i went to that machine to review the same directory..

Again Sorry

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 22, 2023, 4:25pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/12 "2023-10-22T16:25:29Z")

</div>

So, the content of the local gateway was all developed by you? And **you** didn't put any matplotlib reference in it?

Is your anti-virus current? Anyone else have access to your machine?

---

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 4:34pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/13 "2023-10-22T16:34:32Z")

</div>

Yes sir.. 100% by me. i do not recall installing matplot directly??.. the other machine was a Fresh HDD install and WIN 11 last week. I only installed Sql server and Ignition however, the Matplotlib folder is present on that machine. Could it be a recent ignition update?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/1/116684dc94346b1674e240305395b3c5f51c2f3b.jpeg)

My Machine "CCC-CTRLS-RW-WIN10" is the Squirrley one this morning.. (VM for sure)

Thanks

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 22, 2023, 4:37pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/14 "2023-10-22T16:37:00Z")

</div>

It's not part of Ignition, it's part of whatever backup you are running/restoring.

Have you tried closing the Designer/Launcher, deleting the local `.ignition` folder, and then attempting to launch again?

---

<div class="post-metadata">

**Author:** ![Alan\_Cannon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alan_cannon/32/31171_2.png) [@Alan\_Cannon](https://forum.inductiveautomation.com/u/Alan_Cannon)\
**Post date:** [October 22, 2023, 6:06pm UTC](https://forum.inductiveautomation.com/t/matplotlib-failure/80822/15 "2023-10-22T18:06:30Z")

</div>

No i had not. Neither worked after deleting the .Ignition folder (fyi) . No Gatway / Designer.. Im going to a Snap shot of my vm for now and take this up later when im not on site.

On the MatLib thing i will have to ask my daughter (she built the Core for me from other HMI Software packages and maybe she needed something i was not aware of?)  
Thanks for the help guys,  
Happy Sunday!  
Alan
