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

Python error when trying to start #185

Open
andreyvdl opened this issue Jan 13, 2025 · 0 comments
Open

Python error when trying to start #185

andreyvdl opened this issue Jan 13, 2025 · 0 comments

Comments

@andreyvdl
Copy link

My system info
OS: Arch linux (6.12.9-arch1-1)
DE: GNOME 47.3
CPU: AMD Ryzen 5 7600
GPU: Geforce RTX 4060
Python version: 3.13.1
Hidamari version: v3.6

So i recently updated all my softwares with yay -Syu one of these softwares is python, suddenly hidamari stopped working, when trying to launch via terminal i received this output:

INFO:Hidamari:Hidamari v3.6
--- System information ---
is_gnome = True
is_wayland = True
is_nvidia_proprietary = True
is_vdpau_ok = True
is_flatpak = False
--------------------------
INFO:Hidamari:[Args] {'p': 0, 'background': False, 'debug': False, 'reset': False}
Traceback (most recent call last):
  File "/usr/bin/hidamari", line 44, in <module>
    sys.exit(main.main(VERSION, pkgdatadir, localedir))
             ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/hidamari/hidamari/__main__.py", line 56, in main
    server.main(version, pkgdatadir, localedir, args)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/hidamari/hidamari/server.py", line 334, in main
    server = HidamariServer(version, pkgdatadir, localedir, args)
  File "/usr/share/hidamari/hidamari/server.py", line 95, in __init__
    self._load_config()
    ~~~~~~~~~~~~~~~~~^^
  File "/usr/share/hidamari/hidamari/server.py", line 107, in _load_config
    self.config = ConfigUtil().load()
                  ~~~~~~~~~~~~~~~~~^^
  File "/usr/share/hidamari/hidamari/utils.py", line 458, in load
    self._checkDefaultSource(config)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/share/hidamari/hidamari/utils.py", line 433, in _checkDefaultSource
    if mode == MODE_VIDEO and not os.path.isfile(default_source):
                                  ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "<frozen genericpath>", line 39, in isfile
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
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
@andreyvdl and others