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

Oomox Theme Designer: provide python 3.10+ for compatibility with future versions #2297

Open
3 tasks done
Rak1ta opened this issue Apr 6, 2023 · 6 comments
Open
3 tasks done
Labels
suggestion New feature or request

Comments

@Rak1ta
Copy link
Contributor

Rak1ta commented Apr 6, 2023

Confirmations

What happened?

Error in terminal on startup

Description

Does not work.

What are your system specs (run the following command in your terminal)?

OS: Raspbian GNU/Linux 10 (buster)
OS architecture: 32-bit
Last updated Pi-Apps on: 04/06/2023
Latest Pi-Apps version: 04/06/2023
Kernel: armv7l 5.10.103-v7l+
Device model: Raspberry Pi 4 Model B Rev 1.2 
Cpu name: Cortex-A72
Ram size: 3.65 GB
Raspberry Pi OS image version: 2021-05-07
Language: en_US.UTF-8

(Recommended) Error log? Terminal output? Debug messages?

oomox-gui
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/lib/python3.7/runpy.py", line 142, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/lib/python3.7/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "/home/pi/oomox/oomox_gui/__init__.py", line 11
    if (version := sys.version_info) < MIN_PYTHON_VERSION:
                ^
SyntaxError: invalid syntax
@Rak1ta Rak1ta added the bug Something isn't working label Apr 6, 2023
@theofficialgman
Copy link
Collaborator

please file this as a bug at the upstream project
https://github.com/themix-project/oomox

@theofficialgman theofficialgman added Upstream Bug something isn't working that can only be fixed upstream and removed bug Something isn't working labels Apr 6, 2023
@theofficialgman
Copy link
Collaborator

if you check the code, that is supposed to be a python version checker script.
only python 3.10+ are supported by upstream it appears for a few months now https://github.com/themix-project/themix-gui/blob/master/oomox_gui/__init__.py#L10

@theofficialgman
Copy link
Collaborator

On ubuntu python3.10 can be obtained for bionic/focal from the deadsnakes ppa and it will not interfere with the default system python3 version (whatever version that may be)

will look into this for bionic/focal/buster/bullseye as none of them have python3.10+

@Rak1ta
Copy link
Contributor Author

Rak1ta commented Apr 6, 2023

@theofficialgman Is it possible to temporarily make the repo download of this version? It works. You updated the script to update the program, but the new version does not work. Just as a guess.

@theofficialgman
Copy link
Collaborator

@theofficialgman Is it possible to temporarily make the repo download of this version? It works. You updated the script to update the program, but the new version does not work. Just as a guess.

actually no the script just downloads the latest git repo version on installation. there is no updating or version downloading in it

we really need to go through all scripts and make sure this isn't the case

@theofficialgman theofficialgman added suggestion New feature or request and removed Upstream Bug something isn't working that can only be fixed upstream labels Apr 6, 2023
@theofficialgman theofficialgman changed the title Oomox Theme Designer does not start Oomox Theme Designer: provide python 3.10+ for compatibility with future versions Apr 6, 2023
@theofficialgman
Copy link
Collaborator

now using 1.15.1 with this commit 64bbda1

leaving this issue open and changed to a suggestion so that we don't forget that eventually a new release of oomox theme designer will be released that requires 3.10+

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

No branches or pull requests

2 participants