Skip to content

WidgetDecoration throws (v0.14.0) #1476

Description

@dieterhorns

error when starting khal --interactive
on arctix after update, khal interactive throws an error.

output of traceback

Traceback (most recent call last):
File "/usr/bin/khal", line 5, in
main_khal()
~~~~~~~~~^^
File "/usr/lib/python3.14/site-packages/click/core.py", line 1514, in call
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/click/core.py", line 1435, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.14/site-packages/click/core.py", line 1902, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "/usr/lib/python3.14/site-packages/click/core.py", line 1298, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/click/core.py", line 853, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python3.14/site-packages/click/decorators.py", line 34, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/lib/python3.14/site-packages/khal/cli.py", line 364, in interactive
controllers.interactive(
~~~~~~~~~~~~~~~~~~~~~~~^
build_collection(
^^^^^^^^^^^^^^^^^
...<2 lines>...
ctx.obj["conf"],
^^^^^^^^^^^^^^^^
)
^
File "/usr/lib/python3.14/site-packages/khal/controllers.py", line 675, in interactive
pane = ui.ClassicView(collection, conf, title="select an event", description="do something")
File "/usr/lib/python3.14/site-packages/khal/ui/init.py", line 1121, in init
self.eventscolumn = ContainerWidget(
~~~~~~~~~~~~~~~^
CAttrMap(
^^^^^^^^^
...<3 lines>...
),
^^
)
^
File "/usr/lib/python3.14/site-packages/khal/ui/widgets.py", line 699, in init
urwid.WidgetDecoration.init(self, widget)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/urwid/widget/widget_decoration.py", line 49, in init
super().init()
~~~~~~~~~~~~~~~~^^
TypeError: WidgetWrap.init() missing 1 required positional argument: 'w'

OS, version, khal version and how you installed it:

  • khal, version 0.14.0
  • installation via pacman
  • python version: 3.14.6
  • OS aArtix Linux x86_64, 7.1.5-artix1-2
  • aiohappyeyeballs==2.6.1
    aiohttp==3.13.5
    aiohttp-oauthlib==0.1.0
    aiosignal==1.4.0
    aiostream==0.7.1
    anyio==4.14.2
    appdirs==1.4.4
    argcomplete==3.7.0
    argon2-cffi==25.1.0
    argon2-cffi-bindings==25.1.0
    astropy==8.0.1
    astropy-iers-data==0.2026.6.22.1.23.34
    asttokens==3.0.1
    async-lru==2.3.0
    atomicwrites==1.4.1
    attrs==26.1.0
    babel==2.18.0
    beautifulsoup4==4.15.0
    beets==2.13.1
    binaryornot==0.6.0
    bleach==6.4.0
    blinker==1.9.0
    boolean.py==5.0
    breezy==3.3.21
    btrfsutil==7.1
    CacheControl==0.14.4
    certifi==2026.7.22
    cffi==2.1.0
    chardet==6.0.0.post1
    charset-normalizer==3.4.7
    click==8.3.3
    click-log==0.4.0
    colorama==0.4.6
    comm==0.2.3
    ConfigArgParse==1.7.5
    configobj==5.0.9
    confuse==2.2.1
    contourpy==1.3.3
    cryptography==49.0.0
    cssselect==1.5.0
    cycler==0.12.1
    dbus-python==1.4.0
    decorator==5.3.1
    defusedxml==0.7.1
    docopt==0.6.2
    dulwich==1.1.0
    executing==2.2.1
    fastbencode==0.3.10
    fastjsonschema==2.21.2
    filelock==3.29.3
    filetype==1.2.0
    Flask==3.1.3
    fonttools==4.63.0
    frozenlist==1.8.0
    h11==0.16.0
    httpcore==1.0.9
    httpx==0.28.1
    icalendar==7.2.2
    idna==3.18
    importlib_metadata==9.0.0
    ipykernel==7.3.0
    ipython==9.16.0
    ipython_pygments_lexers==1.1.1
    itsdangerous==2.2.0
    jedi==0.19.2
    jellyfish==1.2.1
    Jinja2==3.1.6
    json5==0.15.0
    jsonschema==4.26.0
    jsonschema-specifications==2025.9.1
    jupyter-console==6.6.3
    jupyter-events==0.12.1
    jupyter_builder==1.2.1
    jupyter_client==8.9.1
    jupyter_core==5.9.1
    jupyter_server==2.20.0
    jupyterlab==4.6.2
    jupyterlab_pygments==0.3.0
    jupyterlab_server==2.28.0
    keyutils==0.6
    khal==0.14.0
    kiwisolver==1.5.0
    lap==0.5.13
    license-expression==30.4.4
    lockfile==0.12.2
    lxml==6.1.1
    markdown-it-py==4.2.0
    MarkupSafe==3.0.3
    matplotlib==3.11.0
    matplotlib-inline==0.2.2
    mdurl==0.1.2
    mediafile==0.17.0
    mercurial==7.2.3
    merge3==0.0.16
    mistune==3.3.4
    msgpack==1.1.2
    multidict==6.7.1
    munkres==1.1.4
    musicbrainzngs==0.7.1
    mutagen==1.48.1
    nbclient==0.11.0
    nbconvert==7.17.1
    nbformat==5.10.4
    nest_asyncio==1.5.9
    nftables==0.1
    notebook_shim==0.2.4
    notmuch2==0.40
    numexpr==2.14.2
    numpy==2.5.1
    oauthlib==3.3.1
    packaging==26.2
    pandas==2.3.3
    pandocfilters==1.5.1
    parso==0.8.6
    patiencediff==0.2.19
    perf==0.1
    pexpect==4.9.0
    pillow==12.3.0
    platformdirs==4.11.0
    pooch==1.9.0
    prometheus_client==0.25.0
    prompt_toolkit==3.0.53
    propcache==0.4.1
    psutil==7.2.2
    ptyprocess==0.7.0
    pure_eval==0.2.3
    pycairo==1.29.0
    pycparser==3.0
    pyerfa==2.0.1.5
    Pygments==2.20.0
    PyGObject==3.56.3
    pyinotify==0.9.6
    pyparsing==3.3.2
    PyQt6==6.11.0
    PyQt6-WebEngine==6.11.0
    PyQt6_sip==13.11.1
    pyrate-limiter==4.4.0
    pyserial==3.5
    python-dateutil==2.9.0
    python-debian==1.1.1
    python-json-logger==4.1.0
    python-pam==2.0.2
    pytz==2026.1
    pyxdg==0.28
    PyYAML==6.0.3
    pyzmq==27.1.0
    qutebrowser==3.7.0
    ranger-fm==1.9.4
    referencing==0.37.0
    Reflector==2023.6.28.0.36.1
    requests==2.34.2
    requests-ratelimiter==0.10.0
    requests-toolbelt==1.0.0
    reuse==6.2.0
    rich==15.0.0
    rofimoji==6.7.0
    rpds-py==2026.6.3
    ruamel.yaml==0.19.1
    ruamel.yaml.clib==0.2.15
    scipy==1.18.0
    scour==0.38.2
    Send2Trash==1.8.3
    setproctitle==1.3.7
    six==1.17.0
    sniffio==1.3.1
    soupsieve==2.9.1
    speedtest-cli==2.1.3
    stack_data==0.6.4.dev0+g53501eb8b.d20251217
    TBB @ file:///build/onetbb/src/build/python/python_build
    tinycss2==1.5.1
    tomlkit==0.15.1
    tornado==6.5.7
    traitlets==5.16.0
    typing_extensions==4.16.0
    tzlocal==5.4.4
    udiskie==2.6.2
    ueberzug==18.3.1
    Unidecode==1.4.0
    urllib3==2.7.0
    urwid==4.0.8
    validate==5.0.9
    VapourSynth==77
    vdirsyncer==0.20.0
    wcwidth==0.8.2
    webencodings==0.5.1
    websocket-client==1.9.0
    Werkzeug==3.1.8
    wheel==0.47.0
    yarl==1.23.0
    yt-dlp==2026.7.4
    yt-dlp-ejs==0.8.0
    zipp==3.21.0
    zstandard==0.25.0

Additional context
This appeared after running a recent system update

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions