20 December 2007

vcs Support 0.5.4 and 0.5.4.1

Edit 05/04/08: Version 0.5.6 is now available

Recent changes in the way Sunbird and Lightning handle timezones have meant that I've had to create two new versions of vcs Support. Version 0.5.4 is compatible with Sunbird and Lightning up to version 0.7 and version 0.5.4.1 is compatible with nightly builds 0.8pre from around 04/12/07 onwards.

This version introduces the option to export with either ANSI or UTF-8 encoding. There's no UI for it, instead you need to toggle the value of extensions.vcssupport.export_as_ANSI in the config editor to change. The default is UTF-8 encoding. To access the config editor, go to Tools | Options | Advanced | Config Editor and type "vcs" into the filter box.

Version 0.5.4 is available, as usual from AMO at https://addons.mozilla.org/en-US/thunderbird/addon/4721. I've also put a copy here, which doesn't require registration, but I'd prefer if you could download from AMO if possible. This version will not auto update.

Version 0.5.4.1 is available from here. The good news is that it should now auto update as well. The bad news is that it's only compatible with version 0.8pre.

(Edit 17/01/08 - version 0.5.4.2 for Sunbird/Lightning 0.8pre after around 01/01/08 is now available from here. This fixes import which broke in recent nightlies. (It's only a one line change so it didn't merit a post of it's own))

7 comments:

Unknown said...

I get the following error ms when trying to import to Palm desktop;



An error occurred while importing the vCal file. The file may not be a valid vCal file.

Mark said...

Without knowing the exact content of the file, it's hard to say exactly what the problem might be, but my first guess is that Palm Desktop doesn't like UTF-8 (necessary to display ideographic languages like Japanese properly) encoding much.

There is an option to use ANSI encoding which should solve the problem, but it is a hidden preference.

In Thunderbird/Sunbird, go to Tools | Options | Advanced and click on "Config Editor". Type "vcs" (without the quotations) into the filter box. The list should be narrowed down to only a few options. Right click on "extensions.vcssupport.export_as_ANSI" and select "Toggle" so that it says "true". Close the window and try exporting again and see if it works.

If this doesn't solve the problem then there may be some deeper problem. I'll do some more testing to try to duplicate the problem and see if I come up with anything.

Hope this helps,
Mark

Unknown said...

I followed your instructions (thanks for keeping things simple for me). I received an error "unable to export" which I forgot to mention I had received earlier as well.

Long story short: I think I figured it out. I set categories for most of my events. BUT I was able to export > import a calendar which had NO categories. So I may have to bite the bullet & remove categories from my events.

I can't wtite code but I think logically .. sorta.

Thanks much!

Unknown said...

Mark:
Your app now works quite well with a minimal workaround. I set up a separate "Palm" calendar in Lightning. No event categories, no tasks, no alarms. Then I export as .vcal & import to Palm Desktop. It is worth the effort, better than taking my laptop in the car with me.

Tx, I rate this an "8" and look forward to any updates.

M.

Anonymous said...

I'm running Mac OS 10.39. I tried 0.5.4 and it worked...sort of...only exported one event. Tried 0.5.4.1 and .2 and error message said it couldn't write to file. Any ideas? (DId make the change in Config Editor after error msgs, but to no avail.)

Mark said...

Dave:

I'm guessing that you're using Sunbird or Lightning 0.7 rather than the nightly versions of the program. version 0.5.4 works with these, but version 0.5.4.1 and .2 are for the latest experimental versions of the program.

Firstly, try using version 0.5.5 . I don't think it will fix he problem, but it's worth a try.

Next, check the options and make sure that it's not set up to export within a date range rather than exporting all events. Look at "vcs support options" in the "Calendar" menu and make sure either the option "a single event with recurrence rules" or "separate events for each occurrence" and a suitable date range is set before exporting.

The next thing is to see if it exports as an .ics. (it probably will do that fine). Since one event exported correctly I would guess that one or more of your events contains something that vcs support doesn't like. I'd need to see the ics file to see what may be causing the problem. You could edit it to hide any personal information (but leave in any non a-z or 0-9 characters since they may be causing problems) and either email it to tee-ster@hotmail.com or stick it into the support form (which sends to the same address). That should help me figure out the problem.

Mark.

Anonymous said...

I just spent some time trying to export from Lightning 0.9 in Thunderbird 2.0.0.17 to my Palm Zire 71, and eventually figured out why I was getting that same complaint from the Palm Desktop when I tried to import the .vcs file I'd exported from Lightning.

I have two calendars, and was only having problems with one of them. After a bunch of editing of the .vcs file, removing things until the Palm Desktop was happy, I finally figured out that the Palm Desktop (v4.1.4) can't handle RRULE lines. Remove them and it's fine.

So, if you have any repeating events, you can delete them, put them on a separate calendar that you don't export (just set them up manually on the Palm), or use the option to export as individual events. Or manually edit the .vcs file and delete them...they get put at the end of the file so they're easy to find.

I also found that the UI for specifying task or event is labeled backwards in my version of Lightning (i.e. ask for events and it exports tasks, ask for tasks and it exports events...it has it right in the advanced config, it's just the UI that's backwards), but that's a problem for Lightning...I just wanted to point out the limitation in Palm Desktop 4.1.4 since that will be common to all .vcs imports.

Hope this helps.

-- Mike B.