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.

Unable to locate executable file: godot.

See original GitHub issue

Here’s the relevant part of my yaml:

on:
  push:
    branches:
      - master

jobs:
  export:
    name: export executables
    runs-on: ubuntu-latest
    steps:
      - name: checkout code
        uses: actions/checkout@v2.3.4
        with:
          fetch-depth: 0
      - name: create executables
        uses: firebelley/godot-export@v2.6.1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GODOT_MONO_VERSION: 3.2.2
        with:
          godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/${{env.GODOT_MONO_VERSION}}/mono/Godot_v${{env.GODOT_MONO_VERSION}}-stable_mono_linux_headless_64.zip
          godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/${{env.GODOT_MONO_VERSION}}/mono/Godot_v${{env.GODOT_MONO_VERSION}}-stable_mono_export_templates.tpz
          relative_project_path: ./
          use_preset_export_path: true
          archive_export_output: true
          create_release: true
          base_version: 0.0.1

Here’s the relevant part of the log:

  env:
    GITHUB_TOKEN: ***
    GODOT_MONO_VERSION: 3.2.2
Download Godot
  Working path created /home/runner/.local/share/godot
  Downloading Godot export templates from https://downloads.tuxfamily.org/godotengine/3.2.2/mono/Godot_v3.2.2-stable_mono_export_templates.tpz
  Downloading Godot executable from https://downloads.tuxfamily.org/godotengine/3.2.2/mono/Godot_v3.2.2-stable_mono_linux_headless_64.zip
  /usr/bin/wget -nv https://downloads.tuxfamily.org/godotengine/3.2.2/mono/Godot_v3.2.2-stable_mono_export_templates.tpz -O /home/runner/.local/share/godot/godot_templates.tpz
  /usr/bin/wget -nv https://downloads.tuxfamily.org/godotengine/3.2.2/mono/Godot_v3.2.2-stable_mono_linux_headless_64.zip -O /home/runner/.local/share/godot/godot.zip
  2020-12-02 06:25:34 URL:https://downloads.tuxfamily.org/godotengine/3.2.2/mono/Godot_v3.2.2-stable_mono_export_templates.tpz [623608361/623608361] -> "/home/runner/.local/share/godot/godot_templates.tpz" [1]
  Error: Unable to locate executable file: godot. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

The environment-variable-injected URL’s are correct because I can download the files directly from them in the log.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
firebelleycommented, Aug 20, 2022

@coelhucas great, nice catch! Thanks so much for pointing this out - no need to fork, I’ll go ahead and fix this!

1reaction
firebelleycommented, Dec 10, 2020

This may have been a transient GitHub actions-related issue as well. I’ve found that sometimes actions will fail for random reasons. Still it’s good to keep this issue open in case you or anyone else encounters the same thing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cant find file to open godot - Godot Engine - Q&A
1 Answer ... When you unzip the file, you should get an executable named Godot_v2.1.4-stable_win32.exe or similar, depending on the Godot version ...
Read more >
How to open an exe file that is located in res:\\.import\rp ...
Try moving the executable to a different directory. Place it in the root of res: if possible. As noted in the docs, platform...
Read more >
Get the executable's directory - Godot Engine - Q&A
Is there a way to get the directory that the game's .exe file is?
Read more >
How to find the file path of currently the running godot ...
In debug mode, the currently running executable is located where Godot is installed so that's not what you want but when you export...
Read more >
The specified task executable location "\\csc.exe" is invalid ...
As specified in the title, I get this error while trying to run a C# project: The specified task executable location "\csc.exe" is...
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