Skip to content

getting error in terminal when i try to apply a theme #93

@millionsofplayers

Description

@millionsofplayers
TypeError: Must be number, not NoneType
Traceback (most recent call last):
  File "/app/share/rewaita/rewaita/window.py", line 218, in on_theme_button_clicked
    self.on_theme_selected()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/share/rewaita/rewaita/window.py", line 180, in on_theme_selected
    parse_gtk_theme(
    ~~~~~~~~~~~~~~~^
        colors,
        ^^^^^^^
    ...<6 lines>...
        reset_shell
        ^^^^^^^^^^^
    )
    ^
  File "/app/share/rewaita/rewaita/utils.py", line 84, in parse_gtk_theme
    file = shutil.copyfile(theme_file, os.path.join(gnome_shell_theme_dir, "gnome-shell.css"))
  File "/usr/lib/python3.13/shutil.py", line 262, in copyfile
    with open(dst, 'wb') as fdst:
         ~~~~^^^^^^^^^^^
OSError: [Errno 30] Read-only file system: '/home/millions/.local/share/themes/rewaita/gnome-shell/gnome-shell.css'

i know why the read only error at the end is happening and thats not what i want to find the solution to, the other non gnome shell theme stuff is though

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions