PhoenicisOrg / scripts

Phoenicis scripts
GNU Lesser General Public License v3.0
64 stars 49 forks source link

Starcraft download fails #1172

Closed Zemogiter closed 4 years ago

Zemogiter commented 4 years ago

At some point in the progress bar, the download crashes:

[ERROR] org.phoenicis.multithreading.ControlledThreadPoolExecutorService (l.64) - Download of https://eu.battle.net/download/getInstaller?os=win&installer=StarCraft-II-Setup.exe has failed
    at org.phoenicis.tools.http.Downloader.saveConnectionToStream(Downloader.java:307)
    at org.phoenicis.tools.http.Downloader.get(Downloader.java:260)
    at org.phoenicis.tools.http.Downloader.get(Downloader.java:237)
    at org.phoenicis.tools.http.Downloader.get(Downloader.java:101)
    at org.phoenicis.tools.http.Downloader.get(Downloader.java:81)
    at <js> get(Unnamed:135-144:3540-3841)
    at <js> _installationCommand(Unnamed:41-46:1190-1352)
    at <js> go(Unnamed:29:1044-1081)
    at com.oracle.truffle.polyglot.ObjectProxyHandler.invoke(HostInteropReflect.java:678)
    at com.sun.proxy.$Proxy68.go(Unknown Source)
    at org.phoenicis.javafx.components.application.skin.ApplicationInformationPanelSkin.lambda$installScript$7(ApplicationInformationPanelSkin.java:237)
    at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval(PhoenicisInteractiveScriptSession.java:35)
    at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1(BackgroundScriptInterpreter.java:45)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
Caused by host exception: org.phoenicis.tools.http.DownloadException: Download of https://eu.battle.net/download/getInstaller?os=win&installer=StarCraft-II-Setup.exe has failed

[WARNING] 
org.graalvm.polyglot.PolyglotException: Download of https://eu.battle.net/download/getInstaller?os=win&installer=StarCraft-II-Setup.exe has failed
    at org.phoenicis.tools.http.Downloader.saveConnectionToStream (Downloader.java:307)
    at org.phoenicis.tools.http.Downloader.get (Downloader.java:260)
    at org.phoenicis.tools.http.Downloader.get (Downloader.java:237)
    at org.phoenicis.tools.http.Downloader.get (Downloader.java:101)
    at org.phoenicis.tools.http.Downloader.get (Downloader.java:81)
    at <js>.get (Unnamed:135)
    at <js>._installationCommand (Unnamed:41)
    at <js>.go (Unnamed:29)
    at com.oracle.truffle.polyglot.ObjectProxyHandler.invoke (HostInteropReflect.java:678)
    at com.sun.proxy.$Proxy68.go (Unknown Source)
    at org.phoenicis.javafx.components.application.skin.ApplicationInformationPanelSkin.lambda$installScript$7 (ApplicationInformationPanelSkin.java:237)
    at org.phoenicis.scripts.session.PhoenicisInteractiveScriptSession.eval (PhoenicisInteractiveScriptSession.java:35)
    at org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$createInteractiveSession$1 (BackgroundScriptInterpreter.java:45)
    at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
    at java.lang.Thread.run (Thread.java:834)

Entering the url in browser results in a downloaded file so this may be on our end.

madoar commented 4 years ago

There is some part of the error message missing (i.e. what exactly caused the error)

Zemogiter commented 4 years ago

Tried the script again and I can't reproduce it anymore.

plata commented 4 years ago

Can we close the issue then?

Zemogiter commented 4 years ago

I think so