Package Details: khal-git 0.10.6.dev26+gdc6d5a1-1

Git Clone URL: https://aur.archlinux.org/khal-git.git (read-only, click to copy)
Package Base: khal-git
Description: CLI calendar application build around CalDAV (Git)
Upstream URL: https://lostpackets.de/khal/
Licenses: MIT
Conflicts: khal
Provides: khal
Submitter: milouse
Maintainer: whynothugo
Last Packager: whynothugo
Votes: 29
Popularity: 0.042353
First Submitted: 2013-12-11 19:24 (UTC)
Last Updated: 2022-06-27 08:00 (UTC)

Latest Comments

1 2 3 4 5 6 .. 10 Next › Last »

duckunix commented on 2022-06-26 23:12 (UTC)

@whynothugo thanks for the update! Works for me.

duckunix commented on 2022-06-26 04:02 (UTC)

Hey, Upstream pushed a change (https://github.com/pimutils/khal/commit/573f85f1f47567426994e622ecfa286589e88d36) which, among other things, removed the zsh completion file, instead having an invocation of khal.

In the mean time, the PKGBUILD is failing. Quick fix:

diff --git a/PKGBUILD b/PKGBUILD
index 1de6256..51a8b23 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -58,9 +58,6 @@ package() {
   # man page
   install -vDm 644 doc/build/man/${_pkgname}.1 \
     -t "${pkgdir}/usr/share/man/man1/"
-  # zsh completion
-  install -vDm 644 "misc/__${_pkgname}" \
-   "${pkgdir}/usr/share/zsh/site-functions/_${_pkgname}"
   # license
   install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${_pkgname}"
   # docs

With this change, the build completes.

xiliyi commented on 2021-11-17 11:58 (UTC) (edited on 2021-11-17 11:58 (UTC) by xiliyi)

Since the bug mentioned two posts down hasn’t been fixed upstream: The workaround mentioned in this comment by Nick Sellen (https://github.com/pimutils/khal/issues/1092#issuecomment-966533308) works well:

Downgrade python-tzlocal:

sudo pacman -U https://archive.archlinux.org/packages/p/python-tzlocal/python-tzlocal-2.1-3-any.pkg.tar.zst

Ignore Updates of said package in /etc/pacman.conf:

IgnorePkg   = python-tzlocal

Check if the package isn’t needed by anything else:

pacman -Qi python-tzlocal

whynothugo commented on 2021-11-03 11:37 (UTC)

See upstream issue: https://github.com/pimutils/khal/pull/1093

xiliyi commented on 2021-11-03 11:20 (UTC) (edited on 2021-11-03 11:31 (UTC) by xiliyi)

Edit: This seems to have already been reported upstream.

Sorry for flagging. I just recompiled and installed khal-git. When I try to create a new event, I get the following warnings and errors and the event is not created:


khal-git $ khal new 2021-11-03 14:00 16:00 Test
/usr/lib/python3.9/site-packages/khal/icalendar.py:104: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  dtstart = timezone.localize(dtstart)
/usr/lib/python3.9/site-packages/khal/icalendar.py:105: PytzUsageWarning: The localize method is no longer necessary, as this time zone supports the fold attribute (PEP 495). For more details on migrating to a PEP 495-compliant implementation, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  dtend = timezone.localize(dtend)
/usr/lib/python3.9/site-packages/icalendar/parser.py:54: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  if hasattr(dt.tzinfo, 'zone'):
/usr/lib/python3.9/site-packages/icalendar/parser.py:55: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html
  tzid = dt.tzinfo.zone  # pytz implementation
Traceback (most recent call last):
  File "/usr/bin/khal", line 5, in <module>
    main_khal()
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/lib/python3.9/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3.9/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/lib/python3.9/site-packages/khal/cli.py", line 388, in new
    new_func(
  File "/usr/lib/python3.9/site-packages/khal/controllers.py", line 355, in new_from_string
    new_from_args(
  File "/usr/lib/python3.9/site-packages/khal/controllers.py", line 381, in new_from_args
    collection.new(event)
  File "/usr/lib/python3.9/site-packages/khal/khalendar/khalendar.py", line 208, in new
    event.href, event.etag = self._storages[calendar].upload(event)
  File "/usr/lib/python3.9/site-packages/khal/khalendar/vdir.py", line 212, in upload
    if not isinstance(item.raw, str):
  File "/usr/lib/python3.9/site-packages/khal/khalendar/event.py", line 382, in raw
    timezone = create_timezone(tzinfo, self.start)
  File "/usr/lib/python3.9/site-packages/khal/khalendar/event.py", line 858, in create_timezone
    for one, two in iter(tz._tzinfos.items())
AttributeError: '_PytzShimTimezone' object has no attribute '_tzinfos'

Both python (3.9.7-2) and python2 (2.7.18-5) from the official repos are installed. Can you reproduce this? If not, I will file a bug on https://github.com/pimutils/khal/

whynothugo commented on 2021-10-25 11:04 (UTC)

@xiliyi: Please don't flag out-of-date if you encounter issues. Leave a comment here or report the issue upstream.

I can't reproduce your crash with the latest version.

project-repo commented on 2020-12-22 08:06 (UTC)

Hi, I think this package does not build at the moment:

sphinx-build -b man -d build/doctrees source build/man Running Sphinx v3.4.0

Configuration error: There is a programmable error in your configuration file:

Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/sphinx/config.py", line 326, in eval_config_file execfile_(filename, namespace) File "/usr/lib/python3.9/site-packages/sphinx/util/pycompat.py", line 88, in execfile_ exec(code, _globals) File "/home/project-repo/aur/khal-git/src/khal/doc/source/conf.py", line 16, in <module> import validate ModuleNotFoundError: No module named 'validate'

make: *** [Makefile:131: man] Error

A similar error occurs when I try to run the stable version from community. I think it was working fine yesterday...

whynothugo commented on 2017-03-08 22:45 (UTC)

vdirsyncer is only a check/make depends.

whynothugo commented on 2016-03-29 21:59 (UTC)

Thanks for all your contributions, @milouse.

milouse commented on 2016-03-22 09:22 (UTC)

I've officially disown this package. Thank you very much hobarrera for all your work!