Closed rofoto closed 6 years ago
Just tested on win10x64 and it installs on that platform.
@benfry FYI
As a workaround, you can always just download http://py.processing.org/3/PythonMode.zip and unzip it in the "modes" directory of your Processing data directory.
@jdf What would you like me to do?
Oh, truly just FYI, in case any other mode installer bugs are happening that I don't know about.
Downloading and manually installing works, Thank you very much.
Is this broken for everyone?
@benfry I don't think it's broken for everyone, on all platforms. But between this report, and #167, we at least have evidence that it's flakey. Maybe I'll spend an evening looking at the contributions manager download code, and at least add some detailed logging to it so that future troubles can be better understood.
Hm, I don't think it's quite that broken… I was just able to install it just fine.
My best guess is that we're hitting a problem when it's the current Mode, and one tries to update it, and files are still in use by the JVM. There's code to handle that (since this is an obvious/common case), but I suspect it's especially broken on Windows, which is especially clingy with file handles.
The question for me would be:
@rofoto Was this an initial install of Python Mode, or were you updating an existing installation?
@benfry Is there an API for Mode implementors that means "you're about to be updated; please close any open files and helper processes"? I ask because Python Mode does run multiple processes, which would need to be let go of.
@jdf Heh, nope. But that would certainly explain what's going on…
@jdf every install attempt was done on both fresh and previous install/upgrades
@jdf also worth noting , I just tried to install the opencv library and have the same issue.
This is what the library list looks like after library install reports failure. I tried twice so I suspect that the failure causes a new file to be made causing further errors
@rofoto If this also happens when installing a library having nothing to do with Python Mode, then the bug is (most likely) in Processing. I'm closing this, and opening https://github.com/processing/processing/issues/5424.
Hi,
I've recently decided to get back to processing and after updating to the latest version (3.3.6) pythonmode does not install, and constantly reports timeouts even though the package downloads. Ive tested on macosx 10.12.6, ubuntu 17.10 both the prebuilt package and manually built git repos on fresh installs of both OS's, on and off VPN ( to test if it actually is a network issue , i live in china ).
Any help would be great. Thanks