Skip to content
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

Wine.run throws "error=7, Argument list too long" #331

Closed
plata opened this issue Aug 17, 2017 · 4 comments · Fixed by #341
Closed

Wine.run throws "error=7, Argument list too long" #331

plata opened this issue Aug 17, 2017 · 4 comments · Fixed by #341
Labels

Comments

@plata
Copy link
Collaborator

plata commented Aug 17, 2017

at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at jdk.nashorn.internal.scripts.Script$Recompilation$105$4307AAZ$\^eval\_.run([Engines, Wine, Engine, Object]:232)
at jdk.nashorn.internal.scripts.Script$Recompilation$104$6856$\^eval\_.programFiles([Engines, Wine, Engine, Object]:273)
at jdk.nashorn.internal.scripts.Script$Recompilation$108$1054A$\^eval\_.manifest([Engines, Wine, QuickScript, SteamScript]:40)
at jdk.nashorn.internal.scripts.Script$Recompilation$109$1606A$\^eval\_.downloadFinished([Engines, Wine, QuickScript, SteamScript]:60)
at jdk.nashorn.internal.scripts.Script$Recompilation$43$2030$\^eval\_.go([Engines, Wine, QuickScript, SteamScript]:122)

The strange thing is that the same command obviously worked before (e.g. in downloadStarted). I could imagine that this is the same as #324.

@plata plata added the bug label Aug 17, 2017
@ImperatorS79
Copy link
Contributor

ImperatorS79 commented Aug 17, 2017

I had something similar yesterday when installing again STO, but it seems to appear when the steam update download takes too long.

@plata
Copy link
Collaborator Author

plata commented Aug 17, 2017

Ok... That's super weird.

@madoar
Copy link
Collaborator

madoar commented Aug 18, 2017

It would be quite nice to log the command the ProcessBuilder built.

@plata
Copy link
Collaborator Author

plata commented Aug 18, 2017

Yes. But as @ImperatorS79 pointed out it seems to depend on the number of times this is called. I can't really imagine how this can happen but I've implemented a workaround which should fix the issue. I'm currently testing it with a big Steam download and will then provide a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants