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

Exception thrown on Linux Launch #1857

Closed
safield opened this issue Aug 14, 2020 · 6 comments
Closed

Exception thrown on Linux Launch #1857

safield opened this issue Aug 14, 2020 · 6 comments
Labels

Comments

@safield
Copy link

safield commented Aug 14, 2020

Running FAF on Linux Mint 20. FAF is installed through steam. FAF Linux install wiki has been followed. Upon launching FA throgh faf, I get the following exception...

java.util.concurrent.CompletionException: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/user/Games/javaFafClient/downlords-faf-client-1.1.2/run" (in directory "/home/user/.faforever/bin"): error=2, No such file or directory
	at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
	at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:718)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2073)
	at com.faforever.client.fa.relay.ice.IceAdapterImpl.lambda$start$8(IceAdapterImpl.java:229)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/user/Games/javaFafClient/downlords-faf-client-1.1.2/run" (in directory "/home/user/.faforever/bin"): error=2, No such file or directory
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at com.github.nocatch.NoCatch.wrapException(NoCatch.java:61)
	at com.github.nocatch.NoCatch.noCatch(NoCatch.java:104)
	at com.github.nocatch.NoCatch.noCatch(NoCatch.java:82)
	at com.faforever.client.game.GameService.lambda$startGame$41(GameService.java:583)
	at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714)
	... 4 more
Caused by: java.io.IOException: Cannot run program "/home/user/Games/javaFafClient/downlords-faf-client-1.1.2/run" (in directory "/home/user/.faforever/bin"): error=2, No such file or directory
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
	at com.faforever.client.fa.ForgedAllianceService.launch(ForgedAllianceService.java:136)
	at com.faforever.client.fa.ForgedAllianceService.startGame(ForgedAllianceService.java:81)
	at com.faforever.client.game.GameService.lambda$startGame$40(GameService.java:583)
	at com.github.nocatch.NoCatch.noCatch(NoCatch.java:100)
	... 7 more
Caused by: java.io.IOException: error=2, No such file or directory
	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:340)
	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:271)
	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
	... 12 more

@safield safield added the bug label Aug 14, 2020
@Brutus5000
Copy link
Member

Cannot run program "/home/user/Games/javaFafClient/downlords-faf-client-1.1.2/run" (in directory "/home/user/.faforever/bin")
Seems like you have misconfigured the launch command in the settings.
Also: Update to the latest version! Bug reports for older versions won't be processed.

@safield
Copy link
Author

safield commented Aug 14, 2020

I have the launch option listed in this guide.

https://wiki.faforever.com/index.php?title=Setting_Up_FAF_Linux

Also, I am using the latest version 1.1.9. No clue why the error message list 1.1.2.

@Brutus5000
Copy link
Member

Can you manually execute the run binary? Is the folder /home/user/.faforever/bin existing? Are the permissions setup correctly?

@1-alex98
Copy link
Member

You must have missed the "Copy the Steam RUN script" step

@1-alex98
Copy link
Member

The wiki just uses the 1.1.2 as a name in the directory name is should have no effect

@1-alex98
Copy link
Member

The /home/user/Games/javaFafClient/downlords-faf-client-1.1.2/run files does not exist!!! So you did not successfully copy it over cp /tmp/proton_test1/run ~/Games/javaFafClient/downlords-faf-client-1.1.2/ Either there was no /tmp/proton_test1/run or u missed out on it

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

No branches or pull requests

3 participants