# Playbutton not working

**URL:** <https://discourse.processing.org/t/playbutton-not-working/15052>\
**Category:** Processing.py\
**Created:** [October 30, 2019, 4:43pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052 "2019-10-30T16:43:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michachacha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/michachacha/32/6907_2.png) [@Michachacha](https://discourse.processing.org/u/Michachacha)\
**Post date:** [October 30, 2019, 4:43pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/1 "2019-10-30T16:43:44Z")

</div>

Hi!  
I can’t get processing 3.5.3 to work. Would anyone help me please?

It starts up, but hitting the play button doesn’t do anything except making the program (menus etc) react very slowly. This is with the only code entered being print(“hello”). After a while, red text appears in the console:

> Traceback (most recent call last):  
> File “C:\Users\Michael Dmoch\Documents\Processing\modes\PythonMode\formatter\format\_server.py”, line 3, in   
> import socket  
> File “C:\Users\Michael Dmoch\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\socket.py”, line 3, in   
> File “C:\Users\Michael Dmoch\Documents\Processing\modes\PythonMode\mode\jython.jar\Lib\_socket.py”, line 217, in   
> at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:88)
> 
> at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:58)
> 
> at org.python.netty.util.concurrent.MultithreadEventExecutorGroup.(MultithreadEventExecutorGroup.java:47)
> 
> at org.python.netty.channel.MultithreadEventLoopGroup.(MultithreadEventLoopGroup.java:59)
> 
> at org.python.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:77)
> 
> at org.python.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:72)
> 
> at org.python.netty.channel.nio.NioEventLoopGroup.(NioEventLoopGroup.java:59)
> 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> 
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> 
> at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:211)
> 
> java.lang.IllegalStateException: java.lang.IllegalStateException: failed to create a child event loop

The troubleshooting page ([Troubleshooting · processing/processing Wiki · GitHub](https://github.com/processing/processing/wiki/Troubleshooting)) said to run it in debug mode from my console, here’s the launch4j.log-file:

> Version: 3.9  
> CmdLine: C:\Program Files\processing-3.5.3\processing.exe --l4j-debug  
> WOW64: yes  
> Working dir: C:\Program Files\processing-3.5.3.  
> Bundled JRE: java  
> Check launcher: C:\Program Files\processing-3.5.3\java\bin\javaw.exe (OK)  
> Heap -Xmx: Requested 256 MB / 0%, Available: 3401 MB, Heap size: 256 MB  
> Substitute: EXEDIR = C:\Program Files\processing-3.5.3  
> Add classpath: lib\pde.jar  
> Add classpath: core\library\core.jar  
> Add classpath: lib\jna.jar  
> Add classpath: lib\jna-platform.jar  
> Add classpath: lib\antlr.jar  
> Add classpath: lib\ant.jar  
> Add classpath: lib\ant-launcher.jar  
> Launcher: C:\Program Files\processing-3.5.3\java\bin\javaw.exe  
> Launcher args: -Xmx256m -Djava.ext.dirs=“C:\Program Files\processing-3.5.3\java\lib\ext” -Djna.nosys=true -Djna.boot.library.path=lib -Djna.nounpack=true -Dsun.java2d.d3d=false -Dsun.java2d.ddoffscreen=false -Dsun.java2d.noddraw=true -classpath “lib;lib\pde.jar;core\library\core.jar;lib\jna.jar;lib\jna-platform.jar;lib\antlr.jar;lib\ant.jar;lib\ant-launcher.jar” processing.app.Base  
> Args length: 372/32768 chars  
> Exit code: 259

My Computer:  
Lenovo T440s, 8GB Ram, Intel i5-4300U @1.9GHz 2.49GHz  
Win 10 Home 64-Bit

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [October 30, 2019, 6:00pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/2 "2019-10-30T18:00:51Z")

</div>

You are in Python mode?

You can change this upper right corner.

Try Java

---

<div class="post-metadata">

**Author:** ![Michachacha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/michachacha/32/6907_2.png) [@Michachacha](https://discourse.processing.org/u/Michachacha)\
**Post date:** [October 30, 2019, 6:43pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/3 "2019-10-30T18:43:29Z")

</div>

But i would like to program in Python please?

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [October 30, 2019, 11:19pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/4 "2019-10-30T23:19:52Z")

</div>

on a win 10 / 64 bit /  
processing 3.5.3 / 64 bit / mode python /  
no problem ( play ready examples )

 ![win10_pythonMode](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/3/33e81da154e8b715dd8e7e0315232f084a16f7a8.png),

* * *

you have:

> Win 10 Home 64-Bit

so you need to give more details about your processing  
what you installed how…?  
[http://download.processing.org/processing-3.5.3-windows64.zip](http://download.processing.org/processing-3.5.3-windows64.zip)

* * *

also please answer @Chrisir 's question:  
does in JAVA Mode

- any example work?
- a graphic demanding example also work like “ribbons”

* * *

for reinstall must delete  
ALL 3 Processing dirs.  
see also  
[Processing isn't running (java.lang.NullPointerExcpetion) - #2 by kll](https://discourse.processing.org/t/processing-isnt-running-java-lang-nullpointerexcpetion/14773/2) ;

* * *

---

<div class="post-metadata">

**Author:** ![Michachacha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/michachacha/32/6907_2.png) [@Michachacha](https://discourse.processing.org/u/Michachacha)\
**Post date:** [October 31, 2019, 6:32pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/5 "2019-10-31T18:32:11Z")

</div>

Hi kll and thank you!

> so you need to give more details about your processing  
> what you installed how…?  
> [http://download.processing.org/processing-3.5.3-windows64.zip](http://download.processing.org/processing-3.5.3-windows64.zip)

Yes, i installed it by downloading that file and extracted the content in to my program files folder, then ran the processing.exe that is in there.

> for reinstall must delete  
> ALL 3 Processing dirs.  
> see also  
> [Processing isn’t running (java.lang.NullPointerExcpetion)](https://discourse.processing.org/t/processing-isnt-running-java-lang-nullpointerexcpetion/14773/2) ;

Thank you, indeed i wasn’t aware processing creates more dirs on 1st startup. I now deleted all dirs and installed freshly, but that didn’t change anything -.-

> does in JAVA Mode
> 
> - any example work?
> - a graphic demanding example also work like “ribbons”

Ok, i switched to Java and tried a simple print(“hello”); as well as the ribbons example. The same error occurs in both cases, just like with the python mode.

---

<div class="post-metadata">

**Author:** ![Michachacha](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/michachacha/32/6907_2.png) [@Michachacha](https://discourse.processing.org/u/Michachacha)\
**Post date:** [October 31, 2019, 6:35pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/6 "2019-10-31T18:35:22Z")

</div>

Hey @Chrisir,  
sorry i misunderstood your post as a solution by just using Java instead of Python. Now i understand you wanted to know if the error occurs in Java, too. I can only apologize.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [October 31, 2019, 10:22pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/7 "2019-10-31T22:22:17Z")

</div>

> [@Michachacha](#):
>
> ribbons example. The same error occurs in both cases, just like with the python mode.

that seems not possible,  
in pure JAVA Mode the python jython.jar does not even exist  
( and would never be called )  
the error after

- fresh install processing and
- starting a existing example  
must be different ( then what you see in python Mode )

so if processing not run at all on your computer  
from any other reports here i only can guess that the graphic driver  
not fits. ( no better idea )

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [October 31, 2019, 10:48pm UTC](https://discourse.processing.org/t/playbutton-not-working/15052/8 "2019-10-31T22:48:20Z")

</div>

> [@Michachacha](#):
>
> … and extracted the content in to my program files folder,

- `%ProgramFiles%` is an OS restricted folder.
- It’s meant for apps which are installed via an installer.
- Both Processing’s Windows & Linux versions don’t have an installer.
- So it’s recommended to extract Processing somewhere else.

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [November 1, 2019, 12:53am UTC](https://discourse.processing.org/t/playbutton-not-working/15052/9 "2019-11-01T00:53:20Z")

</div>

@GoToLoop, it sounds good,

but a test here on a win 10 64bit and

- copy from

- 
  - c:\Users\ \< USER \> \Documents\processing-3.5.3\

to

- 
  - c:\Program Files\processing-3.5.3\

with admin priv.

- and start from there
- YES to allow JAVA
- run a existing JAVA sketch ( as system dir and sketch dir not changed )

NO PROBLEM  
well, could be different with a new install or python or non admin user …

* * *

sorry i just not find the official

- INSTALL wiki  
– it is not obvious at
- 
  - [https://processing.org/download/](https://processing.org/download/)

- 
  - [https://github.com/processing/processing/wiki](https://github.com/processing/processing/wiki)
