GNOME Bugzilla – Bug 364422
Error on webcal start when webcal:// (instead of http://) prefix is used
Last modified: 2012-02-26 11:58:14 UTC
When I switch to the calendar view, I get this error message for every webcal I have: Error on webcal://www.gnome.org/start/unstable/schedule.ics. Cannot resolve hostname. Note that the calendar entries are still displayed. I'm not sure if this is from a cache that I can't find though.
*** Bug 370991 has been marked as a duplicate of this bug. ***
People on ubuntu experience this problem too: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/74070
I think this has to do with 'http://' and 'webcal://'. The web calendars I use all are http://someplace.com/something.ics. It seems that evolution uses this address the first time and correctly downloads the calender. The second time the address is automatically changed to webcal://someplace.com/something.ics and I can't change it back. This results in the 'Cannot resolve hostname' error.
I have this problem as well. I *think* the problem is only present in webcal > 2.8.0, as I have another Gentoo system with version 2.8.0 where it works fine.
The only change in the evolution-webcal code of significance since 2.8, that I can tell, is Revision 309 in evolution-webcal-main.c. This revision changes the commandline option parser from popt to GOption. Looks like the uri's are passed as commandline options so maybe this messed it up. Note, I have never debugged a gnome application before so I could be completely wrong.
I don't have the time right now as I have some exams, but I can try to roll back the change to see if that solves the problem. Will not have the time until after the 11th of June, however.
Ups, just one more note: It seems unlikely to be the only cause of the problem, as the bug was reported in 2006, at which point the release was 2.8, which can also be seen from the version number the bug is reported against. However, on this machine (at university) it works, and it has webcal-2.8 installed. There has to be something else that is causing the problem as well I would think.
Is there any progress on this bug? I need to be able to subscribe to my corporate google calendars and this makes it very difficult. For now I manually download the ics files in a cron job, put them in my public_html folder, and point evolution at that.
I've noticed the problem with calendars from http://www.apple.com/ical/library/, but surprisingly webcal://www.google.com/calendar/ical/oc25oahl16asardnmd4o6bd4ns@group.calendar.google.com/public/basic works like a charm. I cannot see the diference between them that can result in the 'Cannot resolve hostname' error, basically both are served with HTTP.
(In reply to comment #9) > I've noticed the problem with calendars from > http://www.apple.com/ical/library/, but surprisingly > webcal://www.google.com/calendar/ical/oc25oahl16asardnmd4o6bd4ns@group.calendar.google.com/public/basic > works like a charm. > > I cannot see the diference between them that can result in the 'Cannot resolve > hostname' error, basically both are served with HTTP. > Sorry, the problem happens again even with this calendar, so the problem it's not related. It worked, and now it doesn't.
If you have time, could you please check again whether this issue still happens in Evolution 3.2.2 or 3.0.3 and update this report by adding a comment and changing the "Version" field and provide information about your distribution? Thanks a lot.
I'm running Evolution 3.2.2 on Fedora 16. I can't reproduce the bug with http://surrey.lug.org.uk/event/ical, so I guess it's fixed. To be honest, I gave up with calendars in Evo. My last try was with the new (?) functionality to setup a Google Calendar (I don't know which protocol uses, I'm asked for a Google username), and it works randomly so I can't use it.
I see... thanks for the update.