Skip to content

[Bug]: #4571

Description

@Taxxizz

Describe the bug

login problems with a program (Audja)

To Reproduce

Bottles stopped responding and then quit and restarted the laptop.

Package

Flatpak from Flathub

Distribution

Ubuntu 24.04 LTS

Debugging Information

str expected, not dict  File "/app/share/bottles/bottles/backend/utils/threading.py", line 73, in __target
    result = self.task_func(*args, **kwargs)

  File "/app/share/bottles/bottles/backend/wine/wineprogram.py", line 67, in launch
    res = WineCommand(
        self.config,
    ...<11 lines>...
        arguments=program_args,
    )

  File "/app/share/bottles/bottles/backend/wine/winecommand.py", line 176, in __init__
    self.env = self.get_env(_environment)
               ~~~~~~~~~~~~^^^^^^^^^^^^^^

  File "/app/share/bottles/bottles/backend/wine/winecommand.py", line 226, in get_env
    env = WineEnv(clean=clean_env, allowed_keys=allowed_env_keys)

  File "/app/share/bottles/bottles/backend/wine/winecommand.py", line 51, in __init__
    if key in os.environ:
       ^^^^^^^^^^^^^^^^^

  File "<frozen _collections_abc>", line 817, in __contains__

  File "<frozen os>", line 714, in __getitem__

  File "<frozen os>", line 796, in encode

Troubleshooting Logs

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions