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
8.09k stars 424 forks source link

Permission #3675

Open Jocc01 opened 6 months ago

Jocc01 commented 6 months ago

Describe the bug

So exactly I dunno its a bug or not Im a new Linux user (Ubuntu). I tried play league of legends in ubuntu with heroic launcher but not everything work fine. Is there a permission denied and I dunno whats the solution. I've search some page yt videos but no one helped me yet. I tried to log out and log in like the error said up there but nothing happened.

Add logs

Legendary (Epic Games)
Error:
An error has occurred! Try to Logout and Login on your Epic account.
Traceback (most recent call last):
File "legendary/cli.py", line 3149, in <module>
File "legendary/cli.py", line 3033, in main
File "legendary/cli.py", line 48, in setup_threaded_logging
File "multiprocessing/context.py", line 103, in Queue
File "multiprocessing/queues.py", line 43, in __init__
File "multiprocessing/context.py", line 68, in Lock
File "multiprocessing/synchronize.py", line 162, in __init__
File "multiprocessing/synchronize.py", line 57, in __init__PermissionError: [Errno 13] Permission denied
[11273] Failed to execute script 'cli' due to unhandled exception!

Steps to reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error

Expected behavior

An error has occurred! Try to Logout and Login on your Epic account. Traceback (most recent call last): File "legendary/cli.py", line 3149, in File "legendary/cli.py", line 3033, in main File "legendary/cli.py", line 48, in setup_threaded_logging File "multiprocessing/context.py", line 103, in Queue File "multiprocessing/queues.py", line 43, in init File "multiprocessing/context.py", line 68, in Lock File "multiprocessing/synchronize.py", line 162, in init File "multiprocessing/synchronize.py", line 57, in initPermissionError: [Errno 13] Permission denied [11273] Failed to execute script 'cli' due to unhandled exception!

Screenshots

Screenshot from 2024-04-04 14-06-25

Heroic Version

Latest Stable

System Information

-OS Ubuntu

Additional information

No response

fallenexistence0 commented 6 months ago

Which WINE version are you using? For league of legends it should be WIne-GE-Proton8-27-LoL, you can find this in the wine manager tabs under Downloads.

Jocc01 commented 6 months ago

Which WINE version are you using? For league of legends it should be WIne-GE-Proton8-27-LoL, you can find this in the wine manager tabs under Downloads.

The latest WineGE LoL version whoch is the WIne-GE-Proton8-27-Lo yeh

fallenexistence0 commented 6 months ago

I seem to have found another post with a similiar error, https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/issues/2701, Do the following:

Open the heroic games launcher and go to: Settings < Advanced < Choose an alternative legendary binary, you can then select a binary from this list: https://github.com/derrod/legendary/releases

Karan1000 commented 6 months ago

First, install Flatpak by running the following command:

sudo apt install flatpak

Add the Flathub repository to your system by executing:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

Restart your computer to ensure the changes take effect.

Install Heroic using Flatpak from the Flathub repository with this command:

flatpak install flathub com.heroicgameslauncher.hgl

Once installed, launch Heroic using Flatpak by running:

flatpak run com.heroicgameslauncher.hgl

Log in using your Epic Games account, and you should be able to play without encountering the previous error.