-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update script for CometVisu installation #719
Conversation
I dont know which python versions are available on wiregate, please test if the script runa on thta device. |
Python versions on WireGate are 2.5 and 2.7 with
|
|
I did improve the documentation and the handling of empty/not existing target directories. The last one seems to be a connection problem on your system, I'm not sure how to handle that. As in this case the script cannot do anything, I added a try..catch block around the network calls, but I am not sure if that is the right solution. |
Might be related to this one: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678035 Could you try the workaround mentioned in the last post? |
Just following that page without knowing what I was doing:
|
Sorry there isn't really much I can do here without a wiregate. I just tried the script in a docker container (debian wheezy with python 2.7.3) and it works fine in that setup. So its not just about the python version. Unless someone can provide me a "wiregate-like" environment in a VM or a docker image, I can't help here. b.t.w. executing the lines mentioned in #719 (comment) in my docker container runs into the same error, but:
did work without error. |
Is there a way to savely detect, that the script is running on a wiregate. In case the script could just use a wget call to download the files. But even wget might fail to download, should be tested before modifiying the script. @ChristianMayer Can you test if the files can be downloaded with wget on the wiregate? |
You are right
I'll open a ticket about the broken SSL but I wouldn't be surprised when they don't want to put much effort into the wiregate anymore as they are concentrating on the Timberwolf. For our side: Could we also get this data with ordinary HTTP and no SSL? To figure out whether we are running on a wiregate is easy:
|
I dont think that those pages are available via http. I just get forwarded to https if I try to. So the only thing left is disabling this script if its running on a wiregate until they fix the problem, which might never happen. So detecting a wiregate is possible by checking if the hostname starts with |
It is unlikely that it was changed.
I can't think of a situation where a Non-Wiregate would run this kernel and I can also not think about a situation where the wiregate would run a stock kernel. |
…e) if the latest nightly is installed
- improve usage description
Python helper script that let the user decide which version to install (latest release or latest nightly build).
Downloads the CometVisu, extracts the archive, copies old config folder, and custom.css files (from designs) to the new CometVisu and replaces the old installation (which is moved to a backup folder).
Are there any other user customization files that should be copied?