jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

Contributions manager blanked out and not able to install processing.py mode #182

Closed anjchang closed 7 years ago

anjchang commented 7 years ago

I have a student who tried to install processing and the contributions manager is broken. She is using Win7 professional, x64 All the tabs (Libraries, Modes, Tools, Examples) are blank with a red error and she is unable to install Python mode (which is what the class is using).

She repeated downloading it twice, and also tried moving the directory to the desktop, same problem. Any suggestions?

anjchang commented 7 years ago

Here is the error code from the Java console java.net.SocketException: Address family not supported by protocol family: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:83) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291) at processing.app.contrib.ContributionManager.download(ContributionManager.java:81) at processing.app.contrib.ContributionListing$2.run(ContributionListing.java:426) at java.lang.Thread.run(Thread.java:745) java.net.SocketException: Address family not supported by protocol family: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:83) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at sun.net.NetworkClient.doConnect(NetworkClient.java:175) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1138) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1316) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1291) at processing.app.contrib.ContributionManager.download(ContributionManager.java:81) at processing.app.contrib.ContributionListing$2.run(ContributionListing.java:426) at java.lang.Thread.run(Thread.java:745)

[cid:dd8e750e-bc55-4823-9bf2-59ab92438aca]

jdf commented 7 years ago
  1. This bug should be filed on the processing project, and not on Python mode, unless I misunderstand.
  2. It looks like an aggressive firewall is blocking network requests.
anjchang commented 7 years ago

Hi, she is trying to install the processing.py mode. When we open the contributions manager, it doesn't work. Is this a more general bug, and not a py mode bug?

jdf commented 7 years ago

"All the tabs (Libraries, Modes, Tools, Examples) are blank with a red error" suggests, to me, that the problem is broader than "cannot install Python Mode".

anjchang commented 7 years ago

It turned out she was behind a firewall, and so nothing was showing up.