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

[Bug]: "Launch with terminal" button gives a different result #3309

Open
Qronikarz opened this issue Mar 9, 2024 · 0 comments
Open

[Bug]: "Launch with terminal" button gives a different result #3309

Qronikarz opened this issue Mar 9, 2024 · 0 comments
Labels

Comments

@Qronikarz
Copy link

Describe the bug

I have one program that I unfortunately can't share so it may not be reproduced consistently as I didn't discover any other that has the same problem.
I have it added to programs list and when clicking the play button it shortly changes into stop button and it closes on it's own without any feedback. It works when you use "launch with terminal" button.

I tried to troubleshoot it on my own, but the only difference I noticed are the runtimes and errors when you launch Bottles with terminal. (posted later)

So the difference at least in the terminal is that the normal play button in programs list shows Using EasyAntiCheat runtime and BattlEye runtime. However when you use "launch with terminal" button it doesn't list those runtimes in the terminal, but the program works with some errors.

Is there any difference when it comes to how Bottles is handling those buttons?

To Reproduce

1.Launch bottles with terminal
2. Add some executable to program list manually
3. Launch it with play button and see the terminal
4. Launch it with "launch with terminal" button and see the terminal

Package

Flatpak from Flathub

Distribution

Linux Mint 21.3

Debugging Information

Official Package: true
Version: '51.11'
DE/WM: cinnamon
Display:
    X.org: true
    X.org (port): :99.0
    Wayland: false
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.5.0-25-generic
Disk:
    Total: 8347889664
    Free: 8347725824
RAM:
    MemTotal: 15.5GiB
    MemAvailable: 10.7GiB
Bottles_envs: null

Troubleshooting Logs

15:33:45 (INFO) Launching an executable… 
15:33:45 (INFO) Using EasyAntiCheat runtime 
15:33:45 (INFO) Using BattlEye runtime 
fsync: up and running.
002c:err:wineboot:process_run_key Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2).
15:33:51 (INFO) Launching an executable… 
15:33:51 (INFO) Command: easyterm.py -d -p "#00ffff #2b2d2e" -c 'bash -c '"'"'/home/johndayo/.var/app/com.usebottles.bottles/data/bottles/runners/caffe-8.21/bin/wine64 '"'"'"'"'"'"'"'"'/home/userhere/.var/app/com.usebottles.bottles/data/bottles/bottles/gamtst/drive_c/program pr & graph 1.01 English/ppg.exe'"'"'"'"'"'"'"'"''"'"'' 
Gtk-Message: 15:33:51.569: Failed to load module "xapp-gtk3-module"

(easyterm.py:1514): VTE-WARNING **: 15:33:51.657: (../src/vtepty.cc:810):void vte_pty_spawn_with_fds_async(VtePty*, const char*, const char* const*, const char* const*, const int*, int, const int*, int, GSpawnFlags, GSpawnChildSetupFunc, gpointer, GDestroyNotify, int, GCancellable*, GAsyncReadyCallback, gpointer): runtime check failed: ((spawn_flags & ignored_spawn_flags()) == 0)

(bottles:2): Gtk-WARNING **: 15:35:25.701: Failed to set text 'program pr & graph!' from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &

Additional context

No response

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

2 participants