question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

guide for linux runner

See original GitHub issue

hi!

the default parameter : "%s" is the wrong one . I was told at one point what it was now I can’t remember.

I remember I had been told this by somebody on the Downlord-FAF team and it was something like "%w" (this isn’t it though, I tried) and it worked amazingly well it just linked to the game.

but right now I can’t remember what the args were.

I’m using lutris because that works now on ubuntu 18 whereas wine doesn’t. it uses wine all the same but it’s own wineprefix & configuration that for some reason just works.

here’s my current setup :

Game Location : /home/t/.local/share/lutris/runners/winesteam/prefix64/drive_c/Program Files (x86)/Steam/steamapps/common/Supreme Commander Forged Alliance

command line for executable : "%s"

Execution directory : "/opt/downlords-faf-client-0.9.0-beta-rc.3"

(which is apparently the default since I am running faf after cd’ing to this directory)

the error I get is the following which doesn’t really add up : screenshot from 2018-10-06 12-27-34

i allowed the executing of the exe btw

java.util.concurrent.CompletionException: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/t/.faforever/bin/ForgedAlliance.exe" (in directory ""): error=2, No such file or directory
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:659)
	at java.util.concurrent.CompletableFuture.uniAcceptStage(CompletableFuture.java:669)
	at java.util.concurrent.CompletableFuture.thenAccept(CompletableFuture.java:1997)
	at com.faforever.client.game.GameService.startGame(GameService.java:464)
	at com.faforever.client.game.GameService.lambda$hostGame$9(GameService.java:228)
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632)
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474)
	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962)
	at com.faforever.client.remote.FafServerAccessorImpl.onGameLaunchInfo(FafServerAccessorImpl.java:505)
	at com.faforever.client.remote.FafServerAccessorImpl.lambda$parseServerObject$1(FafServerAccessorImpl.java:447)
	at java.lang.Iterable.forEach(Iterable.java:75)
	at com.faforever.client.remote.FafServerAccessorImpl.parseServerObject(FafServerAccessorImpl.java:447)
	at com.faforever.client.remote.FafServerAccessorImpl.onServerMessage(FafServerAccessorImpl.java:416)
	at com.faforever.client.remote.AbstractServerAccessor.blockingReadServer(AbstractServerAccessor.java:44)
	at com.faforever.client.remote.FafServerAccessorImpl$1.call(FafServerAccessorImpl.java:260)
	at com.faforever.client.remote.FafServerAccessorImpl$1.call(FafServerAccessorImpl.java:232)
	at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at javafx.concurrent.Service.lambda$null$493(Service.java:725)
	at java.security.AccessController.doPrivileged(Native Method)
	at javafx.concurrent.Service.lambda$executeTask$494(Service.java:724)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: com.github.nocatch.NoCatchException: java.io.IOException: Cannot run program "/home/t/.faforever/bin/ForgedAlliance.exe" (in directory ""): error=2, No such file or directory
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	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$34(GameService.java:472)
	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656)
	... 24 more
Caused by: java.io.IOException: Cannot run program "/home/t/.faforever/bin/ForgedAlliance.exe" (in directory ""): error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at com.faforever.client.fa.ForgedAllianceService.launch(ForgedAllianceService.java:124)
	at com.faforever.client.fa.ForgedAllianceService.startGame(ForgedAllianceService.java:74)
	at com.faforever.client.game.GameService.lambda$null$33(GameService.java:472)
	at com.github.nocatch.NoCatch.noCatch(NoCatch.java:100)
	... 27 more
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 31 more

I’ve tried setting the Execution directory : to /

but in that situation FAF has a progress bar that instantly goes away with nothing happening and no error message so I think it’s worse.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:29 (26 by maintainers)

github_iconTop GitHub Comments

1reaction
1-alex98commented, Apr 26, 2019

@tatsujb added to the readme as well

1reaction
tatsujbcommented, Nov 28, 2018

I got faf running from tarball by successfully forcing an install of java 10.

however the maintainer of wine-gallium nine broke compatibility with ubuntu 18.04.01 with his update to 3.20 so I’m kinda stuck.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install GitLab Runner manually on GNU/Linux
It is possible to download and install via a deb or rpm package, if necessary. Download. To download the appropriate package for your...
Read more >
Running Linux: A Distribution-Neutral Guide for Servers and ...
Running Linux, now in its fifth edition, is the book you'll want on hand in either case. Widely recognized in the Linux community...
Read more >
Machine runner installation on Linux - CircleCI
Instructions on how to install CircleCI's self-hosted runner on Linux. ... This page is a continuation of installing self-hosted runners.
Read more >
How to get started with Linux: A beginner's guide - PCWorld
Choose and download a Linux distro · Running Linux live off an external drive · Use Linux in a virtual machine · Your...
Read more >
A Complete Guide to GitLab Runner - eduCBA
It is easy to use and set up with an SSH running environment and docker. We can easily configure and install the gitlab...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found