vuntz / maildir-to-ics

4 stars 2 forks source link

KeyError: u'LOCATION' #6

Closed aspiers closed 10 years ago

aspiers commented 10 years ago
Traceback (most recent call last):
  File "/home/adam/.GIT/3rd-party/mutt-ics/src/main.py", line 100, in <module>
    main(sys.argv)
  File "/home/adam/.GIT/3rd-party/mutt-ics/src/main.py", line 94, in main
    output = get_interesting_stuff(cal)
  File "/home/adam/.GIT/3rd-party/mutt-ics/src/main.py", line 30, in get_interesting_stuff
    c = get_component(component)
  File "/home/adam/.GIT/3rd-party/mutt-ics/src/main.py", line 43, in get_component
    return get_event(component)
  File "/home/adam/.GIT/3rd-party/mutt-ics/src/main.py", line 80, in get_event
    result = filter(bool, [get_header(e),
  File "/home/adam/.GIT/3rd-party/mutt-ics/src/main.py", line 56, in get_header
    unicode(e['LOCATION'])]
  File "/home/adam/.GIT/3rd-party/mutt-ics/.env/lib/python2.7/site-packages/icalendar/caselessdict.py"
, line 45, in __getitem__
    return super(CaselessDict, self).__getitem__(key.upper())
KeyError: u'LOCATION'
aspiers commented 10 years ago

Doh, wrong repo.