kraanzu / dooit

An awesome TUI todo manager

Home Page:https://pypi.org/project/dooit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Crash when trying to create a workspace in 3.8

trag1c opened this issue Β· comments

To Reproduce 🐣
Steps to reproduce the behavior:

  1. Run dooit in Python 3.8
  2. Try creating a workspace by pressing a
  3. See error

Desktop (please complete the following information): πŸ€–

  • OS: macOS
  • Version: 14.2.1

Additional context πŸ“
Related issue: #161

The error seems to be caused by this snippet:

dooit/dooit/api/model.py

Lines 79 to 82 in b1ea932

@classmethod
@property
def class_kind(cls) -> str:
return cls.__name__.lower()

Stacking @classmethod on top of @property to get a class property is only supported in Python 3.9–3.10 (though it works in 3.11+ for now, see the changes mentioned in the docs).

Ah I see now, one other person was having the same issue and I had no idea why #161
But when I told him to use the binary, it worked for him!

Thanks!

Yes, I've mentioned that issue in the description here πŸ‘

You're welcome.

Did we solve your problem?
Glad we could help!

Consider sponsoring my work through github sponsors πŸ˜„
– @kraanzu