-
Notifications
You must be signed in to change notification settings - Fork 239
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
Cannot start himawaripy with Python 3.12.5 #129
Comments
小严同学已收到您的邮件,
|
I used himawaripy 2.2.0 and added try: |
And yes, when I install the script
|
It seems himawaripy script (as well as goes16-background script) doesn't work on the latest distros with Python 3.12.5 and pip 24.2. (KDE PLASMA 5.27 and 6.X.X.) It still works on Debian 12 Stable, MX-Linux, but not on Arch, Manjaro, EndeavourOS, OpenSUSE Thumbleweed, Fedora 39-40.
It generates the following error:
imawaripy 2.2.0
Updating...
Latest version: 2024/09/10 21:00:00 GMT.
Detected offset: UTC+03:00
Offset version: 2024/09/10 14:00:00 GMT.
Downloading tiles...
Downloading tiles: 1/16 completed...
Downloading tiles: 2/16 completed...
Downloading tiles: 3/16 completed...
Downloading tiles: 4/16 completed...
Downloading tiles: 5/16 completed...
Downloading tiles: 6/16 completed...
Downloading tiles: 7/16 completed...
Downloading tiles: 8/16 completed...
Downloading tiles: 9/16 completed...
Downloading tiles: 10/16 completed...
Downloading tiles: 11/16 completed...
Downloading tiles: 12/16 completed...
Downloading tiles: 13/16 completed...
Downloading tiles: 14/16 completed...
Downloading tiles: 15/16 completed...
Downloading tiles: completed.
Saving to '/home/alex/.cache/himawaripy/himawari-20240910T140000.png'...
grep: /proc//environ: Нет такого файла или каталога
Could NOT retrieve env. var. GNOME_DESKTOP_SESSION_ID
Plasma version 'plasmashell 6.1.4
'.
Exception in thread himawaripy-main-thread:
Traceback (most recent call last):
File "/usr/lib/python3.12/threading.py", line 1075, in _bootstrap_inner
self.run()
File "/usr/lib/python3.12/threading.py", line 1012, in run
self._target(*self._args, **self._kwargs)
File "/home/alex/.local/lib/python3.12/site-packages/himawaripy/main.py", line 214, in thread_main
r = set_background(output_file)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/alex/.local/lib/python3.12/site-packages/himawaripy/utils.py", line 76, in set_background
subprocess.check_output(
File "/usr/lib/python3.12/subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'qdbus'
================================================================THE END OF THE ERROR MESSAGE
WHAT IS NEEDED?
A HERO is needed who can fix the issue of this beautiful and unique script, and make it workable of the latest distros and KDE Plasma 6.
The text was updated successfully, but these errors were encountered: