Closed (fixed)
Project:
Date iCal
Version:
7.x-2.7
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2012 at 10:36 UTC
Updated:
24 May 2013 at 16:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
karens commentedWrong issue queue.
Comment #2
lijiapeng commentedI have the same issue. Having a really hard time tracing where it's going awry. Using D7.14, date ical 7.x-1.1.
Comment #3
coredumperror commentedIs anyone still suffering from this issue? If so, please try the new 7.x-2.x build, and open a new issue against that branch if this problem persists.
Comment #4
supradhan commentedSame problem in 7.x-2.7.
Unknown or bad timezone: Eastern Standard Time while importing and no node created.
Comment #5
supradhan commentedComment #6
coredumperror commentedHmmm, that's odd.
Could you please copy-paste the entire error message? The best I can guess, without it, is that your site may somehow be set up to treat the string "Eastern Standard Time" as a timezone string, which it is not. The correct string to represent eastern time is "America/New_York".
Comment #7
supradhan commentedI exported ics file from my MS outlook 2010 and used feeds importer to import entries. Initially it was giving error: Unknown or bad timezone: Eastern Standard Time. But after your comment, I changed 'Eastern Standard Time' to 'America/New_York' and it imported the entry but it is without start/end date. I know my mapping is fine but some reason it is not working.
Comment #8
coredumperror commentedCould you attach the .ics file here, so I can take a look at it? It sounds like outlook might be outputting it in an unexpected format.
Comment #9
supradhan commentedThank you for quick response.
I have attached my ics file.
Comment #10
coredumperror commentedHmm, it looks like your ICS file is still using "Eastern Standard Time" as the timezone name. What method did you use to apply the change you mentioned in #7?
I think you may be seeing this latest problem because you (I think?) changed the VTIMEZONE element, but didn't change the timezone that each VEVENT's DTSTART and DTEND properties were referring to. If you do a search-and-replace across the whole file, switching "Eastern Standard Time" to "America/New_York", that should fix it. If it doesn't, then you've probably found a bug in Date iCal, and I'll look into it as soon as I get a chance.
Comment #11
supradhan commentedThank you.
Actually I replaced all but i attached the original one in previous post. Here is the renamed one. It gets 'summary' and 'description' but dates are blank. I have also attached the screenshot of my mapping.
Comment #12
coredumperror commentedI found the problem: #1989196: Never Pass FeedsDateTime objects into date_create.
That issue brings to light a bug in Feeds (which was fixed in the latest dev version), which was causing your second problem. Annoyingly, though, the batch system that Drupal uses hides the warning that was being generated by that Feeds bug. If you check your site's log (admin/reports/dblog), you'll probably see many of these:
Warning: date_create() expects parameter 1 to be...Those are the warnings which were being hidden by Drupal during the Feeds import process. To fix this problem, update your Feeds module to the latest dev version.
As for the initial problem with "Eastern Standard Time", I looked for a way to upgrade Date iCal to handle that, but due to the way that Date iCal and Feeds interact, I wasn't able to make a simple fix. So, I decided to define a new hook, which you can implement to fix that problem. Upgrade to the newest version of Date iCal (7.x-2.8), then define the following function in one of your modules:
Then clear your site's cache (
drush cc all, or go to admin/config/development/performance and click "Clear all caches"), then attempt your iCal import again.P.S. I've pushed the 7.x-2.8 tag up to Drupal's git repo, but for some reason it's not allowing me to actually create the release. I'll try to create the release tomorrow, but if you want to get the code right away, you can use git to pull the latest code from
git clone --branch 7.x-2.x http://git.drupal.org/project/date_ical.gitComment #13
supradhan commentedThank you coredumperror.
That is really helpful. I really appreciate it. I will try to implement these solutions today.
Comment #14
supradhan commented