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

Error in from plasma import Plasma for new python version. #27

Open
SweepingBishops opened this issue May 10, 2023 · 1 comment
Open

Comments

@SweepingBishops
Copy link

Arch recently updated python to 3.11, since then I have not been able to use Plasma. Running
python config.py gives the error

Traceback (most recent call last):
  File "/home/roshan/.config/qtile/config.py", line 11, in <module>
    from plasma import Plasma
  File "/home/roshan/.local/lib/python3.11/site-packages/plasma/__init__.py", line 1, in <module>
    from .layout import Plasma
  File "/home/roshan/.local/lib/python3.11/site-packages/plasma/layout.py", line 6, in <module>
    from .node import Node, AddMode, NotRestorableError
  File "/home/roshan/.local/lib/python3.11/site-packages/plasma/node.py", line 20, in <module>
    HORIZONTAL, VERTICAL = Orient
    ^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)

This error is just because of the import, it persists even if I'm not using the library ever again in the config.

@jrwrigh
Copy link

jrwrigh commented Jun 5, 2023

Probably too late, but you just need to reinstall plasma for the new python version. I'm currently having issues getting plasma to work with Python 3.11, but I'll open a new issue for that. I'm guessing that might require an actual patch from the looks of it though...

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