Comment 5 for bug 286567

Revision history for this message
Tim Holy (holy-wustl) wrote :

Thanks for the script! That's incredibly generous of you to provide this---to people like me who don't tend to make appointments in many different timezones, this will save a lot of manual work.

I think I almost have your script working, with the one small exception that the output std.ics (as well as the "backup" in $HOME) are blank. :-) Fortunately, being paranoid by nature I made my own backup, so no harm's done.

To run it I had to install libruby1.8-extras as well as ruby1.9 (because of gsub). Is the version mismatch the probable cause of the script error?

Here's what I did to run it, and its output:
tim@diva:~$ ruby1.9 ./migrateics.rb
copy backup of /home/tim/.kde/share/apps/korganizer/std.ics to /home/tim
opening /home/tim/.kde/share/apps/korganizer/std.ics for editing
closing file object #<File:0x91432ec>, finished editing

But the resulting files are blank. Any thoughts?