Closed gour closed 9 years ago
Which version of khal and vdirsyncer have you installed?
Both are 0.6.0.
could you give the current git MASTER a go?
It looks the same:
(vdir)gour@atmarama ~/p/v/calendars> khal import -a gour test.ics
03.09.2015: Krema vedske mudrosti <2015-09-03 Thu +2w>
Repeat: FREQ=WEEKLY;INTERVAL=2
Do you want to import this event into `None`? [y/N]: y
Traceback (most recent call last):
File "/home/gour/prj/vdir/bin/khal", line 9, in <module>
load_entry_point('khal==0.6.1.dev82+ng8480d23', 'console_scripts', 'khal')()
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/click/core.py", line 700, in __call__
return self.main(*args, **kwargs)
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/click/core.py", line 680, in main
rv = self.invoke(ctx)
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/click/core.py", line 873, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/click/core.py", line 508, in invoke
return callback(*args, **kwargs)
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/click/decorators.py", line 16, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/khal/cli.py", line 299, in import_ics
random_uid=random_uid
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/khal/controllers.py", line 218, in import_ics
import_event(vevent, collection, conf['locale'], batch, random_uid)
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/khal/controllers.py", line 259, in import_event
collection=calendar_name)
File "/home/gour/prj/vdir/local/lib/python2.7/site-packages/khal/khalendar/khalendar.py", line 330, in new
self._calnames[event.calendar].new(event)
AttributeError: 'Item' object has no attribute 'calendar'
could you check (and reopen) if this isn't fixed?
could you check (and reopen) if this isn't fixed?
Now it works. :-) Thanks a lot!!
Hello,
khal & khard (along with vdirsyncer) are the main reasons that I've decided to leave Emas/Gnus/org-moder and settle use vim/tw/etc. which seems to provide better support to sync my contacts/calendars with my Andorid phone using DAVdroid and via my own instance of ownCloud.
I did configure both khal and khard along with vdirsyncer and vdirsyncer was able to import mx contacts and I've seen lot of *.ics files (we are mostly using recurring events), but khal could not display any event.
Then I tried to export & download calendar from OC and then manually import it into khal, but below is the result:
Here is the *.ics file:
Any hint what might be wrong?