Skip to content

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

@SweepingBishops

Description

@SweepingBishops

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.

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