[Python-apps-team] Bug#855631: khal: crash during configure
Christian Geier
geier at lostpackets.de
Mon Feb 20 21:43:33 UTC 2017
@Debian maintainers:
This has been fixed in master, the relevant commit is this:
https://github.com/pimutils/khal/commit/d756792adcf9b89186fbdba91c90a38d433f949c
I'm not going to backport any fixes that don't have data loss as a
consequence, but feel free to ping me if you need help.
Best regards,
Christian
Quoting Edward Betts (2017-02-20 22:18:19)
> Package: khal
> Version: 0.8.4-3
> Severity: normal
>
> Let me know if you need any more information.
>
> $ khal configure
> What ordering of year, month, date do you want to use? (You can choose the separator in the next step)
> [0] year month day
> [1] day month year
> [2] month day year
> Please choose one of the above options: 0
>
> Now, please choose a separator
> [0] -
> [1] .
> [2] /
> Please choose one of the above options: 0
> Does this look sensible to you: %Y-%m-%d (today as an example: 2017-02-20)? [y/N]: y
>
> What timeformat do you want to use?
> [0] 24 hour clock (recommended)
> [1] 12 hour clock
> Please choose one of the above options [0]: 0
> Does this look sensible to you: %H:%M (current time as an example: 21:16)? [y/N]: y
>
> If you use vdirsyncer to sync with CalDAV servers, we can try to load its config file and add your calendars to khal's config.
> Should we try to load vdirsyncer's config? [Y/n]: n
>
> Do you want to create a local calendar? (You can always set it up to synchronize with a server in vdirsyncer later). [y/N]:
>
> Traceback (most recent call last):
> File "/usr/bin/khal", line 11, in <module>
> load_entry_point('khal==0.8.4', 'console_scripts', 'khal')()
> File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
> return self.main(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main
> rv = self.invoke(ctx)
> File "/usr/lib/python3/dist-packages/click/core.py", line 1060, in invoke
> return _process_result(sub_ctx.command.invoke(sub_ctx))
> File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke
> return ctx.invoke(self.callback, **ctx.params)
> File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
> return callback(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func
> return f(get_current_context(), *args, **kwargs)
> File "/usr/lib/python3/dist-packages/khal/cli.py", line 496, in configure
> configwizard.configwizard()
> File "/usr/lib/python3/dist-packages/khal/configwizard.py", line 173, in configwizard
> for name, path, type_ in vdirs:
> TypeError: 'NoneType' object is not iterable
> $
>
More information about the Python-apps-team
mailing list