Bug 689135 - Reloading certain remote calendars fails silently
Summary: Reloading certain remote calendars fails silently
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: thunderbird
Version: 14
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jan Horak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 701327 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-19 19:15 UTC by Kevin J. Cummings
Modified: 2018-04-11 17:34 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-21 22:43:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
tb terminal output (2.31 KB, text/plain)
2011-03-24 00:36 UTC, Michael Cronenworth
no flags Details

Description Kevin J. Cummings 2011-03-19 19:15:13 UTC
Description of problem:  After upgrading to thunderbird-3.1.9-1.fc14.x86_64 
and thunderbird-lightning-1.0-0.39.b3pre.fc14.x86_64, 2 of my remote calendars disappear whenever the remote calendars are reloaded.  I have to quit and restart thunderbird to see their content again.

Version-Release number of selected component (if applicable):
thunderbird-3.1.9-1.fc14.x86_64
thunderbird-lightning-1.0-0.39.b3pre.fc14.x86_64

How reproducible:
Every Time.

Steps to Reproduce:
1. Start Thunderbird
2. Click on the calendar tab
3. in the calendar list pane, right click and select "Reload Remote Calendars"

If I don't induce this by clicking, it eventually happens when thunderbird-lightning decides to re-load the calendars on its own....

Actual results:
2 of my calendars fail to re-appear.  The first is my local Home calendar on my home server (not the same machine).  The second is an Astronomical calendar found here:

    webcal://cantonbecker.com/astronomy-calendar/astrocal.ics

Expected results:
I expect *all* of my calendars to be displayed again when the reload is finished.

Additional info:
I am not experiencing any problems with my Google Calendar, nor with the mozilla US Holidays calendar found here:

    http://www.mozilla.org/projects/calendar/caldata/USHolidays.ics

Comment 1 Kevin J. Cummings 2011-03-21 03:59:02 UTC
For what its worth, I just downloaded thunderbird-lightning-1.0-0.38.b3pre.fc14.remi.x86_64 (through rpm.pbone.net) and downgraded to it.
My calendars stopped disappearing.  Is it some change that happened in the .39 release that is causing the problem?

Comment 2 Michael Cronenworth 2011-03-21 13:53:56 UTC
I can confirm that downgrading fixed remote calendars for me, too. However, I had to downgrade to thunderbird-lightning-1.0-0.36.b3pre.fc14.x86_64 before remote calendars worked again. 0.37 and 0.38 cleared my remote calendars when I right clicked and selected "Reload Remote Calendars".

Comment 3 Felix Möller 2011-03-23 20:13:46 UTC
I am using Fedoras Thunderbird with an upstream lightning.

I have no problems looking at the astrocal calendar.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.9

Comment 4 Matěj Cepl 2011-03-23 20:31:50 UTC
(In reply to comment #2)
> I can confirm that downgrading fixed remote calendars for me, too. However, I
> had to downgrade to thunderbird-lightning-1.0-0.36.b3pre.fc14.x86_64 before
> remote calendars worked again. 0.37 and 0.38 cleared my remote calendars when I
> right clicked and selected "Reload Remote Calendars".

We could use some logs

Edit / Preferences / Advanced / Options Editor / calendar.debug.log set to
true.

Try to update remote calendars immediately after restart of Thunderbird. Then
check in Tools / Error Console. Whether you’ll find some errors or something
extraordinary (unfortunately, it is not possible to save whole log to a file,
just copy individual items).

Do you see anything interesting?

Thank you in advance for any reply

Comment 5 Michael Cronenworth 2011-03-23 22:37:03 UTC
(In reply to comment #4)
> Do you see anything interesting?

With calendar.debug.log set to true, no messages of any kind or emitted when I reload calendars. I also set calendar.debug.log.verbose to true and restarted. No messages.

I do get messages about the calendar starting up when Thunderbird is first loaded, but nothing shows up during reload attempts.

Comment 6 Felix Möller 2011-03-23 22:43:16 UTC
Michael please start it from a terminal and see if you get anything there...

Comment 7 Matěj Cepl 2011-03-23 23:28:33 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Do you see anything interesting?
> 
> With calendar.debug.log set to true, no messages of any kind or emitted when I
> reload calendars. I also set calendar.debug.log.verbose to true and restarted.
> No messages.
> 
> I do get messages about the calendar starting up when Thunderbird is first
> loaded, but nothing shows up during reload attempts.

Even in Tool / Error Console? That's strange.

Comment 8 Michael Cronenworth 2011-03-24 00:36:57 UTC
Created attachment 487168 [details]
tb terminal output

(In reply to comment #6)
> Michael please start it from a terminal and see if you get anything there...

I get the same message I see in the Tool / Error Console. This attachment is the terminal output when calendar.debug.log and calendar.debug.log.verbose are set to true (after restarting TB). I started TB, I reloaded a remote calendar, al of the events for just the remote calendar disappeared, I closed TB.

Comment 9 Kevin J. Cummings 2011-03-24 01:24:45 UTC
I too, re-installed the broken version for this test.

> Edit / Preferences / Advanced / Options Editor / calendar.debug.log set to
true.

Actually, its in:

Edit / Preferences / Advanced / Config Editor

for me.  

Both of the settings you requested are *already* set in my configuration.
I didn't have to change them.

Like Mike, either looking from the terminal, or looking at the Error Console shows the same thing:

When its starts up I get a *ton* of messages from my Google Calendar (every event lists singly, including each event from 2 different repeating events).  From my Home calendar (which is about to disappear) I get some messages concerning Alarms.

That's it.  No messages from either the US Holiday calendar or the Astronomical calendar.

I then put a mark in the terminal so I could scroll back and look at the next set of messages, and then I reloaded my Remote Calendars.

The messages that returned are *only* the events from my Google Calendar.  Nothing from my Home calendar.  The same set of messages in the error console
is what I see in the terminal.  *Every* message in the Error Console has a light bulb for it.  Nothing indicating any errors or warnings, just messages.

I am now going to close TB and re-install the version of lightning tht works for me.

Please let me know if there is more information I can provide for you.

Comment 10 Matěj Cepl 2011-03-24 09:27:04 UTC
(In reply to comment #9)
> Actually, its in:
> 
> Edit / Preferences / Advanced / Config Editor
> 
> for me.  

Sorry, I was back-translating from my localized version.

> That's it.  No messages from either the US Holiday calendar or the
> Astronomical calendar.

Concerning the astronomical calendar:

bradford:~ $ cadaver http://cantonbecker.com/astronomy-calendar/
Could not access /astronomy-calendar/ (not WebDAV-enabled?):
404 Not Found
Connection to `cantonbecker.com' closed.
dav:!> 
bradford:~ $ 

However, there is something weird going on ... when I tried add http://cantonbecker.com/astronomy-calendar/astrocal.ics as a plain ICS calendar, I wasn't able to with Fedora packages. And yes, there were no messages in any log.

Then I tried upstream binary of TB 3.1 and installed lightning as a plugin to new profile, and everything worked well.

However, when I switched back to the Fedora packages and my default profile, it worked again. Not sure, what to make out of it.

Comment 11 Kevin J. Cummings 2011-03-24 15:24:12 UTC
I installed the Astronomical Calendar using the webcal: prefix (not http:).
I know its not a standard URI prefix, but it works (for me), and I must have been following the install directions listed on the calendar's WWW home page at the time I installed it.

Comment 12 Matěj Cepl 2011-03-24 23:10:37 UTC
(In reply to comment #11)
> I installed the Astronomical Calendar using the webcal: prefix (not http:).
> I know its not a standard URI prefix, but it works (for me), and I must have
> been following the install directions listed on the calendar's WWW home page at
> the time I installed it.

http://cantonbecker.com/astronomy-calendar/ suggests using http://www.cantonbecker.com/astronomy-calendar/astrocal.ics URL

Comment 13 Matěj Cepl 2011-03-24 23:23:00 UTC
Try, please, again with different profile, and try to switch profiles back and forth.

Does it help?

Comment 14 Kevin J. Cummings 2011-03-26 01:09:29 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > I installed the Astronomical Calendar using the webcal: prefix (not http:).
> > I know its not a standard URI prefix, but it works (for me), and I must have
> > been following the install directions listed on the calendar's WWW home page at
> > the time I installed it.

> http://cantonbecker.com/astronomy-calendar/ suggests using
> http://www.cantonbecker.com/astronomy-calendar/astrocal.ics URL

Hey, I never said I understood what it was or why it worked.  I was following the instructions on the web site at the time I installed it.  Perhaps its changed since then?  I had never heard of nor seen the webcal: prefix before that.

In any event, I re-installed the astro cal using the http: prefix in the URL.
Behaviour remains the same.  *both* versions of the astro calendar disappear upon the issuing of the Reload Remote Calendar function.

One more point to note:  After 10 consecutive reloads of the remote calendars, the US Holidays calendar only re-appears, maybe 50% of the time, seemingly at random.  I can't figure out why or when.

Also, my home calendar (on my home server, running F13 apache, and served via mod_dav) also disappears 100% (so far) of the time.  It is also using an http: prefix (and is password protected).  As does the astronomical calendar (so far) for me.

AFA using different profiles, I created a new profile.  I tried to add the Astronomical calendar, and I have not gotten success (it doesn't display, using either URL).  However, I *was* able to add my local home calendar, and it displays initially, but disappears after the first reload of the remote calendars.

I was also able to install the US Holiday calendar, and I see exactly the same behaviour with it.  Sometimes, it re-displays, sometimes it doesn't.

If I had to guess, I'd say that it doesn't help.

Comment 15 Russell Odom 2011-04-22 13:16:12 UTC
I also see this with all 5 of my remote calendars (all webcal://... - 4 on local server, password protected, and 1 at webcal://ical.mac.com/ical/UK32Holidays.ics) on thunderbird-lightning-1.0-0.38.b3pre.fc13.x86_64 - as above it only started happening on a recent upgrade, but not sure which version.

I've tried disabling all calendars except one, just to rule out any data problem, but no luck.

Have worked around for now by disabling reloading, since the UK holidays one presumably doesn't change often, and the others are only written to from Thunderbird.

Comment 16 Kevin J. Cummings 2011-05-01 02:34:29 UTC
I tried upgrading to thunderbird-lightning-1.0-0.40.b3pre.fc14.x86_64 when it was released.  No change.  My calendars continued to disappear when re-loaded.

Today, I tried upgrading to thunderbird-lightning-1.0-0.41.b3pre.fc14.x86_64, and something funny happened.  I cannot select Reload Remote Calendars, it remains greyed out.  I'm not sure what this means.  So far, my calendars have not disappeared, then again, I have no idea if thunderbird has tried to reload them or not yet....

In fact, the *only* thing I can select from the right-click menu is Export Calendar.  Even New Calendar, Delete Calendar, and Properties are greyed out.

Comment 17 Kevin J. Cummings 2011-05-02 01:35:31 UTC
Not even 24 hours later, My calendars have disappeared again, and I can now select any of "New Calendar", "Export Calendar", or "Reload Remote Calendars" from the right click menu (not sure why "Delete Calendar" and "Properties" remain greyed out).

I suspended my computer last night, and didn't resume it until this evening.

Comment 18 Matěj Cepl 2011-05-14 16:30:31 UTC
Anything interesting in ~/.xsession-errors or in Javascript Console (Ctrl-Shift-J), please?

Thank you

Comment 19 Michael Cronenworth 2011-05-15 01:56:41 UTC
Matej, I hope that in maintaining lightning you are a user of it.

This is 100% reproducible for any user. Using the latest lightning package for either F14 or F15, you can add a remote calendar to your own system and click on reload remote calendar and witness the issue first hand.

Example ICS calendar: http://www.mozilla.org/projects/calendar/caldata/USHolidays.ics

Add it. You'll see the holidays. Right click on the calendar in your list and select reload remote calendars. Your holidays will disappear.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 20 Matěj Cepl 2011-05-28 16:07:20 UTC
*** Bug 701327 has been marked as a duplicate of this bug. ***

Comment 22 Michael Cronenworth 2011-07-18 17:14:07 UTC
Seems to be fixed with tb 5.0 and the corresponding lightning package.

Comment 23 Kevin J. Cummings 2011-07-19 19:26:25 UTC
I would love to be able top verify that.  I just finished updating my home server from F13.i686 to F14.x86_64, and I'm still running into this bug.  I originally filed it against my F14.x86_64 laptop, but that laptop has since died.  Is there some way I can test the new TB5 w/Lightning without having to upgrade to F15?

Comment 24 Bruno Wolff III 2011-07-19 20:34:59 UTC
I am also seeing this fixed in F15 now.

Comment 25 Kevin J. Cummings 2011-07-20 02:40:29 UTC
OK, Remi just put a TB5 in his repo for F14.  I have installed, and I am running.  So far, so good....

Comment 26 Matěj Cepl 2011-07-21 22:43:20 UTC
Thank you for letting us know.


Note You need to log in before you can comment on or make changes to this bug.