Closed Bug 1329468 Opened 7 years ago Closed 7 years ago

Lightning 4.7.6 Hangs Up Thunderbird 45.6.0

Categories

(Thunderbird :: Untriaged, defect)

45 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: henador_titzoff, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161208153507

Steps to reproduce:

At some point, Thunderbird upgraded to 45.6.0, and I upgraded Lightning to 4.7.6. When this happened, Thunderbird hangs up and never comes up. I can see the twirling of an icon occasionally, telling me "it's thinking," but it never completes.
I know the problem is Lightning 4.7.6, because I can bring up Thunderstorm in Safe Mode, then go to Add-Ons and see which are there.  I can Disable each one until I find the culprit. In this case, it's Lightning. 


Actual results:

Thunderbird and Lightning updated and Thunderbird hangs up. As I said above, I can disable Lightning 4.7.6, then restart and it comes up just fine - without Lightning, of course.


Expected results:

Expected results are for Thunderbird to come up successfully with Lightning calendar as a tab.
Same problem for me. I am running a Fedora Linux 24 64bit system. I logged this with bugzilla.redhat.com (bug  id=1412484) but have had no luck so far.


Description of problem:
When selecting "calendar" in thunderbird, OS slows right down, 100% cpu usage by Xorg and 25% cpu usage for thunderbird

Version-Release number of selected component (if applicable):
thunderbird-lightning-gdata-2.6.0.11-2.fc24.x86_64
thunderbird-enigmail-1.9.6.1-1.fc24.noarch
thunderbird-45.6.0-2.fc24.x86_64
kernel-4.8.15-200.fc24.x86_64
kmod-nvidia-4.8.15-200.fc24.x86_64-375.26-1.fc24.x86_64
xorg-x11-drv-nvidia-libs-375.26-6.fc24.x86_64
akmod-nvidia-375.26-1.fc24.x86_64
xorg-x11-drv-nvidia-kmodsrc-375.26-6.fc24.x86_64
xorg-x11-drv-nvidia-375.26-6.fc24.x86_64
xorg-x11-drv-nvidia-libs-375.26-6.fc24.i686


How reproducible:
Everytime calendar is selected from within thunderbird

Steps to Reproduce:
1. Start thunderbird
2. Select "Calendar" from under "Events and Tasks"

Actual results:
1. Calendar window appears (no data)
2. The thunderbird window is resized much larger than desktop
3. System slows down with Xorg using 100% cpu and thunderbird using 25% of cpu
4. Calendar not usable
5. Have to "kill" thunderbird which starts OK when disabling calendar

Expected results:
Calendar to work as normally
Just remove Lightning altogether and reinstall it.
Version: 47 Branch → 45 Branch
Easier said than done. Two questions. First, how does one remove Lightning. Second, how does one remove Lightning without removing all the calendar data?
The calendar data is never removed.

To remove Lightning, remove the Lightning folder from the extensions folder in your profile, it's called: {e2fda1a4-762b-4020-b5ad-a41df1933103}

If you're worried about the data, it's in a folder called "calendar-data" next to the extensions folder. So don't touch that.
Okay, I went to c:\Program Files (x86)\Mozilla Thunderbird\extensions and found not a folder but a file called:

    {972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi

I removed this file and restarted Thunderbird in Safe Mode. I noticed that Lightning was no longer on the Extensions list.  I went to Add-ons and found it, so I downloaded it and added it.  I restarted Thunderbird and then went to Add-ons to Enable it.  Same thing. After several minutes, Thunderbird shows its window and says (Not Responding) at the top left after Mozilla Thunderbird.

Therefore, I still have a problem.  BTW, I could not find the folder "calendar-data" mentioned above. Maybe that's the problem, but where did it go?
You didn't follow the instructions at all.

They said:
Remove a folder called {e2fda1a4-762b-4020-b5ad-a41df1933103} from the extensions folder in your *profile*. You can find your profile via the trouble shooting information under help.

No one said to remove {972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi from the Windows program files. BTW, that's the default theme. You certainly damaged your installation.

"Calendar-date" *is* in your profile.
I removed the directory {e2fda1a4-762b-4020-b5ad-a41df1933103} as suggested.
Restarted thunderbird.
Reinstalled lightning addon.
ALL OK.

Thank you very much for your help.
Okay, I goofed.  But I saved that file back in the same place I removed it, fired up Thunderbird, and it came back okay.  I have access to my emails no problem.  Then I did the following:
  1. Shut down Thunderbird
  2. Took the advice above to use Help -> Troubleshooting information
     to locate my profile/extension folder.
  3. Found the folder referenced above and removed it.
  4. Started Thunderbird again and emails are just fine.
  5. Went to Tools -> Add-ons -> Get Add-ons
  6. Found Lightning and installed it.  It required a restart so I shut Thunderbird down.
  7. Started Thunderbird again and it hung up just like before.
  8. I repeated steps 1-7 two more times. Each time I got the same results.
Apparently I've recovered from my mistake, since Thunderbird is working just fine. The problem is still Lightning.

Here is a possible problem. I switched computers about 8 months ago.  Before I switched, I copied the default profile so I could bring in all my emails and calendar data. I read somewhere that I could put this profile into the Profiles folder and rename it to the one being used by the newly installed Thunderbird.  Presto, I got all my TB and Lightning information on my new computer.

So now I notice that there are four profiles in my Profiles folder:
   6vgjlopi.default, dated 8/20/2916
   cxxlizym.IETimport, dated 1/14/2917
   fj4h7sqp.default, dated 8/19/2016
   qskriv51.IETimport, datead 8/20/2016

As you can tell by the date, the second one is in use. That's where I removed the folder I was instructed to remove.  Do you think that the other folders are causing the problem? Can I remove them to simplify the install?

Thanks.
(In reply to Hendor from comment #8)
>   8. I repeated steps 1-7 two more times. Each time I got the same results.
That's unfortunate. But now we're really getting into support territory. The steps I described usually help, see the happy customer in comment #7. I can' tell what's wrong on your machine.

(In reply to Hendor from comment #9)
> As you can tell by the date, the second one is in use. That's where I
> removed the folder I was instructed to remove.  Do you think that the other
> folders are causing the problem? Can I remove them to simplify the install?
Unused profiles don't cause a problem. You can remove them if they're not in use any more. Some people, like myself, have multiple profiles.

All I can suggest is this:
1) (Re)move unwanted profiles (optional).
2) Remove {e2fda1a4-762b-4020-b5ad-a41df1933103} from extensions in the good profile.
3) Uninstall TB and remove the respective folder from "Program Files".
4) Remove the line corresponding to {e2fda1a4-762b-4020-b5ad-a41df1933103}
   from extensions.ini in your profile with a text editor (maybe optional).

You shouldn't have to install Lightning separately, it's integrated into TB and should offer itself when you install TB.
Just want to tell all of you that I intend to do what Jorg K said in the last post, but I've had other things to do.  I've wanted to uninstall TB for a while now to see if a reninstall will work, but now I have impetus to it.  I'll report soon on what happens.  My main goal is to uninstall TB, save my data, which includes emails, contacts and calendar data, reinstall and wind up with everything I had before plus a working TB and Lightning. Thanks for all of your help. I'll report on what happens next as I get to it.
(In reply to Hendor from comment #11)
> I'll report soon on what happens.  My main goal is to uninstall TB, save my
> data, ...

Results?
Flags: needinfo?(henador_titzoff)
Unfortunately, I lost all of my information and emails dating back to 2013. Since I now subscribe to MS Office 365, which comes with 5 seats that include Outlook, I decided to migrate and rebuild my contact list from my Android devices. Some of the emails were important for historical and personal reasons, but I have to live with it.  Thanks for all your help.
Sorry to hear that, but how did that happen? Did you delete entire profile folders, that's where the mail is stored? We never instructed to do that, step one was: "1) (Re)move unwanted profiles (optional)." Note that the implied suggestion was to "Move" rather then "Remove" the profiles? The other suggestion was to remove the Lightning extension folder from the profile and that doesn't cause loss of e-mail data.

Sad as it is, let's close this bug since we'll never find out why Lightning didn't work and caused problems.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(henador_titzoff)
Resolution: --- → INCOMPLETE
It is sad, because I truly liked Mozilla Thunderbird and Lightning except for one thing: it's too darn hard to transport one set of emails, contacts and calendar from one computer to the next.  I've lost data this way in the past, and I was successful once. but this business of copying profiles and not knowing where specific data is makes it more likely to screw up.  For example, above you say the implied suggestion was to move, not remove.  There are too many places where a layperson can screw up.  You are an expert on this, so it's easy for you to drive around looking for files and knowing what they do.  For us laypersons, which we're a majority, it's not that easy.

I did look at a couple of tools which would have migrated my Thunderbird and Lightning data over to Outlook, but I chose to not use them for several reasons. But the point is if someone can figure out how to save this important data tomigrate over to another completely different tool, surely it's not that hard for an expert to create an Export/Import tool to go from Thunderbird to Thunderbird on different or same computer(s).
There really is no tool required. You simply copy the entire profile folder. The end.
I carry my TB data on three different computers and there has never been a problem.
If all that is too much hassle, use IMAP accounts where the master copy of the data stays in the server.

If as a layperson you delete your "Documents" folder on Windows, you equally messed up.

TB is extremely easy to manage: All the data is kept in the profile, so if you have the skill to copy a folder, you're set. Transferring data is nothing I'd recommend to my 80 y/o mother, also a TB user, but someone with basic PC skills can do it. Also: Before you do any operation you don't fully understand, make a backup.
You need to log in before you can comment on or make changes to this bug.