pombreda / gcalcli

Automatically exported from code.google.com/p/gcalcli
0 stars 0 forks source link

Import of ics file only imports first event of a list #76

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. import ical v2.0 file with multiple entries

What is the expected output? What do you see instead?
expect to see multiple calendar entries as in my google calendar but I only get 
the first one imported.

What version of the product are you using? On what operating system?
2.1 on Mythbuntu 11.04

Please provide any additional information below.
I have attached the ics file below 

Original issue reported on code.google.com by pkey...@gmail.com on 19 Sep 2011 at 11:49

Attachments:

GoogleCodeExporter commented 9 years ago
Indeed, it happens for me as well, and in my case, the description field (at 
least) gets truncated on the upload.  This is in v2.1 under Ubuntu 10.04.3, 
Python 2.6.5

Original comment by daff...@carolingia.org on 29 Nov 2011 at 8:42

GoogleCodeExporter commented 9 years ago
To iterate across the file I had to use (at around line 1084)
cal=vobject.readOne(f)
for v in cal.components()
in place of the while True: loop, not sure it fully works, but it might be 
worth hacking on to see if it will, or there is a more elegant solution.

Original comment by daff...@carolingia.org on 29 Nov 2011 at 9:03

GoogleCodeExporter commented 9 years ago
same problem here.. cant quite figure out how to work around this

python2.6 @ debian squeeze

Original comment by mnl...@gmail.com on 11 Feb 2012 at 5:58

GoogleCodeExporter commented 9 years ago
Same here

python2.6, debian sid

Original comment by loic.del...@gmail.com on 12 Feb 2012 at 1:45

GoogleCodeExporter commented 9 years ago
My patch (thanks to comment #1), it works with my different calendars

Original comment by loic.del...@gmail.com on 12 Feb 2012 at 8:41

Attachments:

GoogleCodeExporter commented 9 years ago
gcalcli moved to github: https://github.com/insanum/gcalcli

I've submitted a new issue there for this issue and added to patch.

Original comment by eda...@insanum.com on 15 May 2012 at 3:12