Displaying 2 results from an estimated 2 matches for "severinghaus".
2010 Mar 25
1
Icalendar::UnknownPropertyMethod: Unknown property type: on Parsing a ical file
I downloaded the ics from
http://www.thegreenerleithsocial.org/events/cleanup-the-cycle-path and
tried to parse it in my rails app console:
?> cal_file = File.open("/tmp/Clean_up the Cycle Path-1.ics")
=> #<File:/tmp/Clean_up the Cycle Path-1.ics>
>> cals = Icalendar.parse(cal_file)
Icalendar::UnknownPropertyMethod: Unknown property type: website
from
2008 Mar 03
0
Escape carriage returns (\r)?
Hi,
I was trying to get Google Calendar to import a gem-generated file
with no luck (it kept giving me the unhelpful message "parse error,"
even though http://severinghaus.org/projects/icv/ accepted the file as
valid). After a bunch of screwing around, I changed line 148 of
component.rb to include a .gsub("\r", "\\r"), which fixed the problem.
It seems like line 158 might also want the same...is this correct?
Daniel