{"action":"created","issue":{"url":"https://api.github.com/repos/PhoenicisOrg/scripts/issues/720","repository_url":"https://api.github.com/repos/PhoenicisOrg/scripts","labels_url":"https://api.github.com/repos/PhoenicisOrg/scripts/issues/720/labels{/name}","comments_url":"https://api.github.com/repos/PhoenicisOrg/scripts/issues/720/comments","events_url":"https://api.github.com/repos/PhoenicisOrg/scripts/issues/720/events","html_url":"https://github.com/PhoenicisOrg/scripts/issues/720","id":388941782,"node_id":"MDU6SXNzdWUzODg5NDE3ODI=","number":720,"title":"dotnet45 registry error","user":{"login":"Zemogiter","id":24385408,"node_id":"MDQ6VXNlcjI0Mzg1NDA4","avatar_url":"https://avatars0.githubusercontent.com/u/24385408?v=4","gravatar_id":"","url":"https://api.github.com/users/Zemogiter","html_url":"https://github.com/Zemogiter","followers_url":"https://api.github.com/users/Zemogiter/followers","following_url":"https://api.github.com/users/Zemogiter/following{/other_user}","gists_url":"https://api.github.com/users/Zemogiter/gists{/gist_id}","starred_url":"https://api.github.com/users/Zemogiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zemogiter/subscriptions","organizations_url":"https://api.github.com/users/Zemogiter/orgs","repos_url":"https://api.github.com/users/Zemogiter/repos","events_url":"https://api.github.com/users/Zemogiter/events{/privacy}","received_events_url":"https://api.github.com/users/Zemogiter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-12-08T17:30:05Z","updated_at":"2018-12-10T18:31:36Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When put inside any script, dotnet45 errors with following message:\r\n```\r\njava.lang.IllegalArgumentException: Error while parsing the registry\r\n\tat org.phoenicis.win32/org.phoenicis.win32.registry.RegistryParser.parseFile(RegistryParser.java:77)\r\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1584$1109A$\\^eval\\_$cu1$restOf.regedit#fetchValue([engines, wine, plugins, regedit]:52)\r\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1582$432AA$\\^eval\\_.windowsVersion([engines, wine, plugins, windows_version]:15)\r\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1581$511$\\^eval\\_$cu1$restOf.dotnet45([engines, wine, verbs, dotnet45]:20)\r\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1574$812AA$\\^eval\\_.run#L:22(<eval>:23)\r\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1494$553$\\^eval\\_$cu1$restOf.go([engines, wine, quick_script, installer_script]:75)\r\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1463$402$\\^eval\\_.run(<eval>:13)\r\n\tat jdk.nashorn.javaadapters.org_phoenicis_scripts_Installer.run(Unknown Source)\r\n\tat jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$Recompilation$1462$\\^eval\\_$cu1$restOf.:program(<eval>:35)\r\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:655)\r\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)\r\n\tat jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:527)\r\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:456)\r\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:413)\r\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:409)\r\n\tat jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:162)\r\n\tat java.scripting/javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)\r\n\tat org.phoenicis.scripts/org.phoenicis.scripts.nashorn.NashornEngine.eval(NashornEngine.java:50)\r\n\tat org.phoenicis.scripts/org.phoenicis.scripts.nashorn.NashornScriptInterpreter.runScript(NashornScriptInterpreter.java:35)\r\n\tat org.phoenicis.scripts/org.phoenicis.scripts.interpreter.BackgroundScriptInterpreter.lambda$runScript$0(BackgroundScriptInterpreter.java:35)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\r\n\tat java.base/java.lang.Thread.run(Thread.java:834)\r\nCaused by: java.io.FileNotFoundException: /home/jonasz/.Phoenicis/containers/wineprefix/The Sims 3/user.reg (Nie ma takiego pliku ani katalogu)\r\n\tat java.base/java.io.FileInputStream.open0(Native Method)\r\n\tat java.base/java.io.FileInputStream.open(FileInputStream.java:219)\r\n\tat java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)\r\n\tat java.base/java.io.FileReader.<init>(FileReader.java:75)\r\n\tat org.phoenicis.win32/org.phoenicis.win32.registry.RegistryParser.parseFile(RegistryParser.java:44)\r\n\t... 22 more\r\n```\r\nInstallation via winetricks works fine (tested on Anno 2070 and Sims 3 scrips). The error states that file user.reg doesn't exist but it's there when I opened the wineprefix. "},"comment":{"url":"https://api.github.com/repos/PhoenicisOrg/scripts/issues/comments/445921634","html_url":"https://github.com/PhoenicisOrg/scripts/issues/720#issuecomment-445921634","issue_url":"https://api.github.com/repos/PhoenicisOrg/scripts/issues/720","id":445921634,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTkyMTYzNA==","user":{"login":"plata","id":3973260,"node_id":"MDQ6VXNlcjM5NzMyNjA=","avatar_url":"https://avatars2.githubusercontent.com/u/3973260?v=4","gravatar_id":"","url":"https://api.github.com/users/plata","html_url":"https://github.com/plata","followers_url":"https://api.github.com/users/plata/followers","following_url":"https://api.github.com/users/plata/following{/other_user}","gists_url":"https://api.github.com/users/plata/gists{/gist_id}","starred_url":"https://api.github.com/users/plata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plata/subscriptions","organizations_url":"https://api.github.com/users/plata/orgs","repos_url":"https://api.github.com/users/plata/repos","events_url":"https://api.github.com/users/plata/events{/privacy}","received_events_url":"https://api.github.com/users/plata/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T18:31:36Z","updated_at":"2018-12-10T18:31:36Z","author_association":"COLLABORATOR","body":"Well, if really deleting the registry changes is the solution, it's an easy fix."}}
{"actor":{"display_login":"plata"}}