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

xtg-open / bottles-cli error #3712

Closed
Michael-Sebero opened this issue Jan 18, 2025 · 3 comments
Closed

xtg-open / bottles-cli error #3712

Michael-Sebero opened this issue Jan 18, 2025 · 3 comments

Comments

@Michael-Sebero
Copy link

Describe the bug

Opening a program with bottles doesn't function but opening the application within bottles works.

xtg-open

(process:74536): Adwaita-WARNING **: 12:22:20.578: Using GtkSettings:gtk-application-prefer-dark-theme with libadwaita is unsupported. Please use AdwStyleManager:color-scheme instead.

(bottles:74536): Gtk-WARNING **: 12:22:20.647: Theme parser warning: style.css:184:3-185:1: Expected ';' at end of block

(bottles:74536): Gtk-WARNING **: 12:22:20.648: Theme parser warning: style-dark.css:23:3-24:1: Expected ';' at end of block
12:22:20 (INFO) Launching with executable: /home/$USER/Files/Games/Teardown/teardown.exe 
12:22:20 (INFO) Launching with URI: ['/home/$USER/Files/Games/Teardown/teardown.exe'] 
12:22:20 (INFO) Forcing offline mode 
12:22:25 (INFO) Forcing offline mode 
Traceback (most recent call last):
  File "/usr/bin/bottles-cli", line 758, in <module>
    cli = CLI()
  File "/usr/bin/bottles-cli", line 236, in __init__
    self.__process_args()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 285, in __process_args
    self.run_program()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 699, in run_program
    WineExecutor.run_program(bottle, program)
                                     ^^^^^^^
UnboundLocalError: cannot access local variable 'program' where it is not associated with a value

bottles-cli

12:23:27 (INFO) Forcing offline mode 
Bottle vidya not found
[user@linux-desktop ~]$ bottles-cli run -b Vidya -e "/home/$USER/Files/Games/Teardown/teardown.exe"
12:23:37 (INFO) Forcing offline mode 
Traceback (most recent call last):
  File "/usr/bin/bottles-cli", line 758, in <module>
    cli = CLI()
  File "/usr/bin/bottles-cli", line 236, in __init__
    self.__process_args()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 285, in __process_args
    self.run_program()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 699, in run_program
    WineExecutor.run_program(bottle, program)
                                     ^^^^^^^
UnboundLocalError: cannot access local variable 'program' where it is not associated with a value

To Reproduce

  1. try xdg-open /home/$USER/Files/Games/Teardown/teardown.exe

  2. error message

  3. try bottles-cli run -b <bottle_name> -e "/home/$USER/Files/Games/Teardown/teardown.exe"

  4. error message

Package

Flatpak from Flathub

Distribution

Arch Linux

Debugging Information

**bottles-cli**


12:23:27 (INFO) Forcing offline mode 
Bottle vidya not found
[user@linux-desktop ~]$ bottles-cli run -b Vidya -e "/home/$USER/Files/Games/Teardown/teardown.exe"
12:23:37 (INFO) Forcing offline mode 
Traceback (most recent call last):
  File "/usr/bin/bottles-cli", line 758, in <module>
    cli = CLI()
  File "/usr/bin/bottles-cli", line 236, in __init__
    self.__process_args()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 285, in __process_args
    self.run_program()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 699, in run_program
    WineExecutor.run_program(bottle, program)
                                     ^^^^^^^
UnboundLocalError: cannot access local variable 'program' where it is not associated with a value

Troubleshooting Logs

**bottles-cli**


12:23:27 (INFO) Forcing offline mode 
Bottle vidya not found
[user@linux-desktop ~]$ bottles-cli run -b Vidya -e "/home/$USER/Files/Games/Teardown/teardown.exe"
12:23:37 (INFO) Forcing offline mode 
Traceback (most recent call last):
  File "/usr/bin/bottles-cli", line 758, in <module>
    cli = CLI()
  File "/usr/bin/bottles-cli", line 236, in __init__
    self.__process_args()
    ~~~~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 285, in __process_args
    self.run_program()
    ~~~~~~~~~~~~~~~~^^
  File "/usr/bin/bottles-cli", line 699, in run_program
    WineExecutor.run_program(bottle, program)
                                     ^^^^^^^
UnboundLocalError: cannot access local variable 'program' where it is not associated with a value

Additional context

No response

@orowith2os
Copy link
Contributor

Not our problem, use the Flatpak and file a new issue if you have a problem.

@orowith2os orowith2os closed this as not planned Won't fix, can't repro, duplicate, stale Jan 18, 2025
@Michael-Sebero
Copy link
Author

Not our problem, use the Flatpak and file a new issue if you have a problem.

I have the same issue with the Flatpak version as well forgot to mention.

@orowith2os
Copy link
Contributor

orowith2os commented Jan 18, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants