Package Details: khal 0.8.3-1

Git Clone URL: https://aur.archlinux.org/khal.git (read-only)
Package Base: khal
Description: CLI calendar application build around CalDAV
Upstream URL: http://lostpackets.de/khal/
Licenses: MIT
Submitter: t-8ch
Maintainer: eolianoe (hobarrera)
Last Packager: eolianoe
Votes: 13
Popularity: 1.859025
First Submitted: 2014-04-18 09:52
Last Updated: 2016-08-29 08:07

Latest Comments

Steinberg2010 commented on 2016-08-29 16:03

That worked perfectly - thanks!

untitaker commented on 2016-08-29 15:57

Exactly.

Steinberg2010 commented on 2016-08-29 15:46

Do you mean I can comment out the check part of the pckgbuild?

untitaker commented on 2016-08-29 15:37

Please file against khal, this is a bug in its testsuite. It is safe for you to ignore though.

Steinberg2010 commented on 2016-08-29 15:06

platform linux -- Python 3.5.2, pytest-2.9.2, py-1.4.31, pluggy-0.3.1
rootdir: /tmp/yaourt-tmp-nicolas/aur-khal/src/khal-0.8.3, inifile:
plugins: localserver-0.3.5, hypothesis-3.4.2, subtesthack-0.1.1
collected 178 items

tests/aux_test.py .....................
tests/backend_test.py ..........................
tests/cal_display_test.py ...xxx
tests/cli_test.py .....x.............
tests/controller_test.py ....
tests/event_test.py ..............................
tests/khalendar_aux_test.py ................................
tests/khalendar_test.py ......................
tests/settings_test.py F.F.....
tests/terminal_test.py ...
tests/vtimezone_test.py ...
tests/ui/test_calendarwidget.py ...
tests/ui/test_widgets.py .

============================================ FAILURES =============================================
_________________________________ TestSettings.test_simple_config _________________________________

self = <tests.settings_test.TestSettings object at 0x7f6799a26240>

def test_simple_config(self):
config = get_config(PATH + 'simple.conf')
comp_config = {
'calendars': {
'home': {'path': os.path.expanduser('~/.calendars/home/'),
'readonly': False, 'color': None, 'type': 'calendar'},
'work': {'path': os.path.expanduser('~/.calendars/work/'),
'readonly': False, 'color': None, 'type': 'calendar'},
},
'sqlite': {'path': os.path.expanduser('~/.local/share/khal/khal.db')},
'locale': {
'local_timezone': pytz.timezone('Europe/Berlin'),
'default_timezone': pytz.timezone('Europe/Berlin'),
'timeformat': '%H:%M',
'dateformat': '%d.%m.',
'longdateformat': '%d.%m.%Y',
'datetimeformat': '%d.%m. %H:%M',
'longdatetimeformat': '%d.%m.%Y %H:%M',
'firstweekday': 0,
'encoding': 'utf-8',
'unicode_symbols': True,
'weeknumbers': False,
},
'default': {
'default_command': 'calendar',
'default_calendar': None,
'show_all_days': False,
'print_new': 'False',
'days': 2,
'highlight_event_days': False
}
}
for key in comp_config:
> assert config[key] == comp_config[key]
E assert {'home': {'pa...: 'calendar'}} == {'home': {'col...: 'calendar'}}
E Differing items:
E {'work': {'path': '/home/nicolas/.calendars/work/', 'color': '#E6C800FF', 'readonly': False, 'type': 'calendar'}} != {'work': {'color': None, 'path': '/home/nicolas/.calendars/work/', 'readonly': False, 'type': 'calendar'}}
E {'home': {'path': '/home/nicolas/.calendars/home/', 'color': '#882F00FF', 'readonly': False, 'type': 'calendar'}} != {'home': {'color': None, 'path': '/home/nicolas/.calendars/home/', 'readonly': False, 'type': 'calendar'}}
E Use -v to get the full diff

tests/settings_test.py:50: AssertionError
_____________________________________ TestSettings.test_small _____________________________________

self = <tests.settings_test.TestSettings object at 0x7f6799a6cb00>

def test_small(self):
config = get_config(PATH + 'small.conf')
comp_config = {
'calendars': {
'home': {'path': os.path.expanduser('~/.calendars/home/'),
'color': 'dark green', 'readonly': False,
'type': 'calendar'},
'work': {'path': os.path.expanduser('~/.calendars/work/'),
'readonly': True, 'color': None,
'type': 'calendar'}},
'sqlite': {'path': os.path.expanduser('~/.local/share/khal/khal.db')},
'locale': {
'local_timezone': get_localzone(),
'default_timezone': get_localzone(),
'timeformat': '%H:%M',
'dateformat': '%d.%m.',
'longdateformat': '%d.%m.%Y',
'datetimeformat': '%d.%m. %H:%M',
'longdatetimeformat': '%d.%m.%Y %H:%M',
'firstweekday': 0,
'encoding': 'utf-8',
'unicode_symbols': True,
'weeknumbers': False,
},
'default': {
'default_calendar': None,
'default_command': 'calendar',
'print_new': 'False',
'show_all_days': False,
'days': 2,
'highlight_event_days': False
}
}
for key in comp_config:
> assert config[key] == comp_config[key]
E assert {'home': {'pa...: 'calendar'}} == {'home': {'col...: 'calendar'}}
E Omitting 1 identical items, use -v to show
E Differing items:
E {'work': {'path': '/home/nicolas/.calendars/work/', 'readonly': True, 'color': '#E6C800FF', 'type': 'calendar'}} != {'work': {'color': None, 'path': '/home/nicolas/.calendars/work/', 'readonly': True, 'type': 'calendar'}}
E Use -v to get the full diff

tests/settings_test.py:90: AssertionError
========================= 2 failed, 172 passed, 4 xfailed in 5.65 seconds =========================
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build khal.
==> Restart building khal ? [y/N]

hobarrera commented on 2016-08-29 14:26

Steinberg2010: Can you post the error you're getting?

Steinberg2010 commented on 2016-08-29 14:01

Since the update I'm getting a build failure:

Error: A failure occurred in check().

Markus00000 commented on 2016-04-14 07:54

Edit: Fixed by python-sphinx 1.4.1-2.

Build failure:

sphinx-build -b man -d build/doctrees source build/man
Traceback (most recent call last):
File "/usr/bin/sphinx-build", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2927, in <module>
@_call_aside
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 635, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 943, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 829, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'imagesize' distribution was not found and is required by Sphinx
Makefile:131: recipe for target 'man' failed
make: *** [man] Error 1

hobarrera commented on 2016-01-29 06:04

$ ag --python "from vdirsy"
khal/controllers.py
25:from vdirsyncer.utils.vobject import Item

khal/khalendar/khalendar.py
38:from vdirsyncer.storage.filesystem import FilesystemStorage
39:from vdirsyncer.exceptions import AlreadyExistingError

tests/controller_test.py
4:from vdirsyncer.storage.base import Item

tests/khalendar_test.py
8:from vdirsyncer.storage.base import Item

tests/conftest.py
6:from vdirsyncer.storage.filesystem import FilesystemStorage

hobarrera commented on 2016-01-29 06:04

@shtrom: It does depend on it explicitly, ie:

khal/controllers.py
25:from vdirsyncer.utils.vobject import Item

This is because vdirsyncer has some parsing code that's reused by khal. The above is not the only place where vdirsyncer is used either.

All comments