Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
7.93k stars 420 forks source link

Uncaught Exception occured! #3048

Open UnrealisticDino opened 1 year ago

UnrealisticDino commented 1 year ago

Describe the bug

I'm using the latest snap 2.9.2 on ubuntu 22.04 and when I go to the log in menu I get a pop up that says. Uncaught Exception occured! Error: A uncaught exception occured: Error: spawn free EACCES Report the exception on our Github repository. Screenshot from 2023-09-13 15-40-29

Add logs

(15:39:10) INFO:    [Legendary]:        Legendary location: /snap/heroic/189/resources/app.asar.unpacked/build/bin/linux/legendary
(15:39:10) INFO:    [Gog]:              GOGDL location: /snap/heroic/189/resources/app.asar.unpacked/build/bin/linux/gogdl
(15:39:10) INFO:    [Connection]:       Connectivity: check-online
(15:39:10) INFO:    [Connection]:       Pinging external endpoints
(15:39:10) ERROR:   [Backend]:          Error: spawn free EACCES
(15:39:10) INFO:    [Backend]:          DRM module staus {
  "oimompecagnajdejgnnjijobebaeigek": {
    "name": "Widevine Content Decryption Module",
    "status": "new",
    "version": "4.10.2557.0"
  }
}
(15:39:10) WARNING: [Backend]:          Protocol already registered.
(15:39:10) INFO:    [Connection]:       Connectivity: online
(15:39:10) INFO:    [Backend]:          User Not Found, removing it from Store
(15:39:10) ERROR:   [Gog]:              Unable to syncQueued playtime, userData not present
(15:39:10) INFO:    [Backend]:          Loading Screen Ready
(15:39:10) INFO:    [Backend]:          Frontend Ready
(15:39:10) INFO:    [Backend]:          Checking for new Heroic Updates
(15:39:10) INFO:    [Backend]:          Checking for current version changelog
(15:39:10) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(15:39:12) DEBUG:   [Backend]:          Unable to load Steam Libraries, libraryfolders.vdf not found
(15:39:13) WARNING: [DXVKInstaller]:    No GPU with Vulkan 1.1 support found, DXVK will not work
(15:39:13) INFO:    [Winetricks]:       Downloading Winetricks
(15:39:13) INFO:    [WineDownloader]:   Updating wine versions info
(15:39:13) INFO:    [WineDownloader]:   Fetching upstream information...
(15:39:13) INFO:    [DXVKInstaller]:    Updating vkd3d to: vkd3d-proton-2.9
(15:39:13) INFO:    [DXVKInstaller]:    Updating dxvk to: dxvk-2.3
(15:39:13) WARNING: [DXVKInstaller]:    Error when downloading vkd3d Error: Command failed: curl -L https://github.com/Heroic-Games-Launcher/vkd3d-proton/releases/download/v2.9/vkd3d-proton-2.9.tar.xz -o '/home/juan/snap/heroic/189/.config/heroic/tools/vkd3d/vkd3d-proton-2.9.tar.xz' --create-dirs
/bin/sh: 1: curl: not found

    at ChildProcess.exithandler (node:child_process:430:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
(15:39:13) WARNING: [DXVKInstaller]:    Error when downloading dxvk Error: Command failed: curl -L https://github.com/doitsujin/dxvk/releases/download/v2.3/dxvk-2.3.tar.gz -o '/home/juan/snap/heroic/189/.config/heroic/tools/dxvk/dxvk-2.3.tar.gz' --create-dirs
/bin/sh: 1: curl: not found

    at ChildProcess.exithandler (node:child_process:430:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
(15:39:13) INFO:    [DXVKInstaller]:    Updating dxvk-nvapi to: dxvk-nvapi-v0.6.4
(15:39:13) WARNING: [DXVKInstaller]:    Error when downloading dxvk-nvapi Error: Command failed: curl -L https://github.com/jp7677/dxvk-nvapi/releases/download/v0.6.4/dxvk-nvapi-v0.6.4.tar.gz -o '/home/juan/snap/heroic/189/.config/heroic/tools/dxvk-nvapi/dxvk-nvapi-v0.6.4.tar.gz' --create-dirs
/bin/sh: 1: curl: not found

    at ChildProcess.exithandler (node:child_process:430:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:322:12)
(15:39:15) INFO:    [WineDownloader]:   wine versions updated
(15:39:15) INFO:    [WineDownloader]:   Start installation of wine version Wine-GE-Proton8-14
(15:39:15) ERROR:   [WineDownloader]:   Error: Download of Wine-GE-Proton8-14 failed with:
 Download of https://github.com/GloriousEggroll/wine-ge-custom/releases/download/GE-Proton8-14/wine-lutris-GE-Proton8-14-x86_64.tar.xz failed with:
 spawn curl ENOENT!
    at /snap/heroic/189/resources/app.asar/build/electron/main.eeeeb87e.js:116:326
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installVersion (/snap/heroic/189/resources/app.asar/build/electron/main.eeeeb87e.js:116:166)
    at async installWineVersion (/snap/heroic/189/resources/app.asar/build/electron/main.eeeeb87e.js:119:1796)
    at async downloadDefaultWine (/snap/heroic/189/resources/app.asar/build/electron/main.eeeeb87e.js:123:461)
(15:39:15) INFO:    [Backend]:          Starting the Download Queue
(15:40:06) ERROR:   [Backend]:          Error: spawn free EACCES

Steps to reproduce

  1. Click on 'Log in'
  2. See error

Expected behavior

I expect that after I log in games show up in the library tab.

Screenshots

No response

Heroic Version

Latest Stable

System Information

os_release: 
    name:               "Ubuntu"
    version:            "22.04.3 LTS (Jammy Jellyfish)"
lspci: 
    08:00.0:            NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
glxinfo: 
    gpu:                NVIDIA GeForce GTX 1070/PCIe/SSE2
    gpu_version:        4.6.0 NVIDIA 535.86.05
lscpu: 
    model_name:         AMD Ryzen 7 3800X 8-Core Processor
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

Additional information

When I open the app I also get this error. DXVK/VKD3D error Error: Error installing DXVK/VKD3D! Please check your connection! Screenshot from 2023-09-13 15-45-48

Ahmet-Gundogdu commented 1 year ago

+1 Ubuntu 23.04 system details: gpu: Nvidia 940M cpu: Intelcore i5 5200Ux4 ram:12GB

imLinguin commented 1 year ago

at this time snap package doesn't work properly, use flatpak, AppImage or .deb package instead

arielj commented 10 months ago

can you try updating heroic? 2.10.0 should work better in the Snap package, not perfect but I think it solves this problem

cc @UnrealisticDino @Ahmet-Gundogdu

UnrealisticDino commented 10 months ago

@arielj I can log into GOG and Amazon even though it gives the same error, but not Epic using either login method. I can't install games though because it says I have 0B / 0B available. os_release: name: "Ubuntu" version: "22.04.3 LTS (Jammy Jellyfish)" lspci: 08:00.0: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1) glxinfo: gpu: NVIDIA GeForce GTX 1070/PCIe/SSE2 gpu_version: 4.6.0 NVIDIA 535.129.03 lscpu: model_name: AMD Ryzen 7 3800X 8-Core Processor xdg_current_desktop: ubuntu:GNOME desktop_session: ubuntu https://pastebin.com/ytX9pNjC

arielj commented 10 months ago

cc @flavioislima in case any of this errors is useful for the snap fixes

UnrealisticDino commented 10 months ago

I just noticed that I was able to download a game from Amazon but it does not launch. There is no log file for the game. Also I don't know how to stop the game from trying to launch. https://pastebin.com/Z6ifznVU

flavioislima commented 10 months ago

When a log is that big it's better to upload it somewhere.

Other games run? Or no games from anywhere run?

UnrealisticDino commented 10 months ago

I can't test any other games because now I can't install any games.

(13:53:01) INFO: [DownloadManager]: Agatha Knife was added to the download queue.

(13:53:01) INFO: [Nile]: Installing amzn1.adg.product.84883b78-8b43-4e75-99d7-03763231ca80: NILE_CONFIG_PATH=/home/juan/snap/heroic/265/.config/heroic/nile_config /snap/heroic/265/resources/app.asar.unpacked/build/bin/linux/nile install --base-path /home/juan/snap/heroic/176/Games/Heroic amzn1.adg.product.84883b78-8b43-4e75-99d7-03763231ca80

(13:53:01) DEBUG: [Nile]: Logging to file "/home/juan/snap/heroic/265/.config/heroic/GamesConfig/amzn1.adg.product.84883b78-8b43-4e75-99d7-03763231ca80.log"

(13:53:06) INFO: [Backend]: Adding shortcuts for Agatha Knife

(13:53:06) ERROR: [Nile]: Could not find install metadata for amzn1.adg.product.84883b78-8b43-4e75-99d7-03763231ca80

(13:53:06) INFO: [DownloadManager]: Finished Installation of amzn1.adg.product.84883b78-8b43-4e75-99d7-03763231ca80

(13:53:06) INFO: [DownloadManager]: amzn1.adg.product.84883b78-8b43-4e75-99d7-03763231ca80 added to download manager finished.

(13:53:06) INFO: [DownloadManager]: amzn1.adg.product.84883b78-8b43-4e75-99d7-03763231ca80 removed from download manager.

(13:53:06) INFO: [Frontend]: Refreshing nile Library

(13:53:06) INFO: [Nile]: Refreshing library...

(13:53:06) INFO: [Nile]: Refreshing Amazon Games...

(13:53:06) INFO: [Nile]: Running command: NILE_CONFIG_PATH=/home/juan/snap/heroic/265/.config/heroic/nile_config /snap/heroic/265/resources/app.asar.unpacked/build/bin/linux/nile library sync

(13:53:06) INFO: [Nile]: Game list updated, got 264 games

(13:53:08) INFO: [DownloadManager]: Downloader: Finished downloading https://m.media-amazon.com/images/I/51KJHX5202L.jpg

(13:53:08) INFO: [DownloadManager]: Downloader: Finished downloading https://m.media-amazon.com/images/I/51KJHX5202L.jpg

tete1700pro commented 10 months ago

captura error eroic no se que hacer yo solo queria jugar necesito ayuda

UnrealisticDino commented 10 months ago

captura error eroic no se que hacer yo solo queria jugar necesito ayuda

¿Qué estás usando? Si está basado en Debian puedes usar este enlace. Pensé que solo el Snap estaba roto. https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v2.10.0/heroic_2.10.0_amd64.deb

LordRolee commented 9 months ago

Hi

I nstalled the deb package (heroic_2.10.0_amd64) but I also get that error (Error installing DXVK/VKD3D! Please check your connection!) during start: Software Versions: Heroic: 2.10.0 Jewelry Bonney Legendary: 0.20.33 Undue Alarm gogdl: 0.7.3 Nile: 1.0.0 Jonathan Joestar

(21:03:24) INFO: [Backend]: Loading Screen Ready (21:03:24) INFO: [Backend]: Frontend Ready (21:03:24) INFO: [Backend]: Checking for new Heroic Updates (21:03:24) INFO: [Backend]: Checking for current version changelog (21:03:25) INFO: [Backend]: AreWeAntiCheatYet data downloaded (21:03:27) INFO: [Winetricks]: Downloading Winetricks (21:03:27) INFO: [DXVKInstaller]: Updating dxvk to: dxvk-2.3 (21:03:27) ERROR: [DownloadManager]: Downloader: Failed to get headers for https://github.com/doitsujin/dxvk/releases/download/v2.3/dxvk-2.3.tar.gz. Error: Error: Request failed with status code 401 (21:03:27) WARNING: [DXVKInstaller]: Error when downloading dxvk Error: Failed to get headers at downloadFile$2 (/opt/Heroic/resources/app.asar/build/electron/main.9bb8a6b7.js:127:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) (21:03:29) INFO: [WineDownloader]: Updating wine versions info (21:03:29) INFO: [WineDownloader]: Fetching upstream information... (21:03:29) INFO: [Backend]: Starting the Download Queue (21:03:31) INFO: [WineDownloader]: wine versions updated

System info: System Information: CPU: 12x AMD Ryzen 5 3600 6-Core Processor Memory: 16.71 GB (used: 4.16 GB) GPUs: GPU 0: Name: NVIDIA Corporation GP104 [GeForce GTX 1070] IDs: D=1b81 V=10de SD=3701 SV=1458 Driver: nvidia OS: Debian GNU/Linux 12 (bookworm) (linux)

When I paste the url https://github.com/doitsujin/dxvk/releases/download/v2.3/dxvk-2.3.tar.gz to my browser it starts downloading it.

Thanks.