# Help about gateway

**URL:** <https://forum.inductiveautomation.com/t/help-about-gateway/54574>\
**Category:** Ignition\
**Created:** [January 1, 2022, 2:44pm UTC](https://forum.inductiveautomation.com/t/help-about-gateway/54574 "2022-01-01T14:44:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [January 1, 2022, 3:04pm UTC](https://forum.inductiveautomation.com/t/help-about-gateway/54574/2 "2022-01-01T15:04:23Z")

</div>

Other times I've seen this error that cause was an environment variable with non-ASCII or non-UTF-8 characters in it or something like that. Do you have admin access to the server to check?

> [@Designer error - Cannot create PyString with non-byte value](https://forum.inductiveautomation.com/t/designer-error-cannot-create-pystring-with-non-byte-value/50795/4):
>
> In the context the designer launcher is creating the new Designer instance, there’s an environment variable set with a non-ASCII name. That’s pretty unusual, especially since you’re encountering this on different machines; maybe it’s something being provided by your AD domain or other Windows setup? If the Ubuntu install has a desktop environment, you could try launching a designer there. You can see the names and values of the default environment variables on Windows pretty easily: [https://ww…](https://www.architectryan.com/2018/08/31/how-to-change-environment-variables-on-windows-10/)

The actual error:

```auto
2021/12/31 16:55:45 | E [C.BasicExecutionEngine] [13:55:45]: One-shot task com.inductiveautomation.ignition.gateway.IgnitionGateway$$Lambda$315/0x00000008003c4c40@3984f64f threw uncaught exception. 
2021/12/31 16:55:45 | java.lang.ExceptionInInitializerError: null
2021/12/31 16:55:45 | at org.python.core.PySystemState.<clinit>(PySystemState.java:73)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.common.script.ScriptManager.asynchInit(ScriptManager.java:226)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.common.script.ScriptManager.<init>(ScriptManager.java:122)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.createScriptManager(IgnitionGateway.java:1424)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.gateway.script.GatewayScriptManagerHolder.initializeBeforeModuleSetup(GatewayScriptManagerHolder.java:67)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.startupInternal(IgnitionGateway.java:1168)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.gateway.redundancy.RedundancyManagerImpl.startup(RedundancyManagerImpl.java:290)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.initRedundancy(IgnitionGateway.java:736)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.gateway.IgnitionGateway.lambda$initInternal$0(IgnitionGateway.java:670)
2021/12/31 16:55:45 | at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:539)
2021/12/31 16:55:45 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
2021/12/31 16:55:45 | at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
2021/12/31 16:55:45 | at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
2021/12/31 16:55:45 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2021/12/31 16:55:45 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2021/12/31 16:55:45 | at java.base/java.lang.Thread.run(Unknown Source)
2021/12/31 16:55:45 | Caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
2021/12/31 16:55:45 | at org.python.core.PyString.<init>(PyString.java:57)
2021/12/31 16:55:45 | at org.python.core.PyString.<init>(PyString.java:70)
2021/12/31 16:55:45 | at org.python.core.PyString.<init>(PyString.java:74)
2021/12/31 16:55:45 | at org.python.core.Py.newString(Py.java:643)
2021/12/31 16:55:45 | at org.python.core.PyJavaType.init(PyJavaType.java:543)
2021/12/31 16:55:45 | at org.python.core.PyType$Registry.createType(PyType.java:477)
2021/12/31 16:55:45 | at org.python.core.PyType$Registry.addFromClass(PyType.java:426)
2021/12/31 16:55:45 | at org.python.core.PyType$Registry.resolveType(PyType.java:352)
2021/12/31 16:55:45 | at org.python.core.PyType$Registry$1.computeValue(PyType.java:208)
2021/12/31 16:55:45 | at org.python.core.PyType$Registry$1.computeValue(PyType.java:202)
2021/12/31 16:55:45 | at java.base/java.lang.ClassValue.getFromHashMap(Unknown Source)
2021/12/31 16:55:45 | at java.base/java.lang.ClassValue.getFromBackup(Unknown Source)
2021/12/31 16:55:45 | at java.base/java.lang.ClassValue.get(Unknown Source)
2021/12/31 16:55:45 | at org.python.core.PyType.fromClass(PyType.java:2137)
2021/12/31 16:55:45 | at org.python.core.PyObject.<init>(PyObject.java:85)
2021/12/31 16:55:45 | at org.python.core.PySingleton.<init>(PySingleton.java:9)
2021/12/31 16:55:45 | at org.python.core.PyNotImplemented.<init>(PyNotImplemented.java:10)
2021/12/31 16:55:45 | at org.python.core.Py.<clinit>(Py.java:66)
2021/12/31 16:55:45 | ... 16 common frames omitted

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/help-about-gateway/54574)._
