dooit: [BUG] Crash on adding a workspace (only first?)
Describe the bug π
Install by pip install dooit turns out it contains old code.
To Reproduce π£ Steps to reproduce the behavior:
- Install by
pip install dooit - run dooit from terminal
Expected behavior π€ Program canβt launch
Desktop (please complete the following information): π€
- OS: Windows10
- Version 22H2 19045.3803
Python
- Version: 3.8.10
Additional context π Require manual change the code(from pip install originally) from
from textual.widget import Widget
from dooit.ui.events.events import ChangeStatus, Notify, StatusType
from dooit.utils.keybinder import KeyBinder, KeyList
from dooit.api.model import Result
class KeyWidget(Widget):
"""
A widget that calls function from keybinder
"""
def __init__(
self,
*children: Widget,
name: str | None = None,
id: str | None = None,
classes: str | None = None,
disabled: bool = False
to
from typing import Optional
from textual.widget import Widget
from dooit.ui.events.events import ChangeStatus, Notify, StatusType
from dooit.utils.keybinder import KeyBinder, KeyList
from dooit.api.model import Result
class KeyWidget(Widget):
"""
A widget that calls function from keybinder
"""
def __init__(
self,
*children: Widget,
name: Optional[str] = None,
id: Optional[str] = None,
classes: Optional[str] = None,
disabled: bool = False
After the change, the program is able to launch
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 16 (10 by maintainers)
Awesome. Itβs really weird tho Alright, Iβll close this one for now. You can try again from Pip if that works for you or not π
Ugh, not sure whatβs going on here. Looks like youβre on a windows machine so lemme try that π
One more try π
Ah damn I need to bump textual as well. Gimme 5 mins π