Author Topic: Thunderbird Does not Download Messages  (Read 743 times)

Offline opie

  • Full Member
  • ***
  • Posts: 203
Thunderbird Does not Download Messages
« on: March 25, 2012, 06:36:11 AM »
I am running Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101028 PCLinuxOS/3.1.6-1pclos2010 Thunderbird/3.1.6.

I am able to send messages from Thunderbird but Thunderbird does not download my emails to the In box.  I cannot determine the problem.  When I accessed the error console I received the following error code:


Error: An error occurred executing the cmd_getNewMessages command: [Exception... "Component returned failure code: 0x8055000a [nsIMsgIncomingServer.getNewMessages]"  nsresult: "0x8055000a (<unknown>)"  location: "JS frame :: chrome://messenger/content/mailWindowOverlay.js :: GetNewMsgs :: line 2346"  data: no]
Source File: chrome://global/content/globalOverlay.js
Line: 100



When I clicked on the hyperlink at the end of the error code I was directed to the following message:



function closeWindow(aClose, aPromptFunction)
{
//@line 5 "/usr/src/rpm/BUILD/mozilla-thunderbird-3.1.6/comm-1.9.2/mozilla/toolkit/content/globalOverlay.js"
  var windowCount = 0;
  var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
                     .getService(Components.interfaces.nsIWindowMediator);
  var e = wm.getEnumerator(null);
 
  while (e.hasMoreElements()) {
    var w = e.getNext();
    if (++windowCount == 2)
      break;
  }

  var inPrivateBrowsing = false;
  try {
    var pbSvc = Components.classes["@mozilla.org/privatebrowsing;1"]
                          .getService(Components.interfaces.nsIPrivateBrowsingService);
    inPrivateBrowsing = pbSvc.privateBrowsingEnabled;
  } catch(e) {
    // safe to ignore
  }

  // If we're down to the last window and someone tries to shut down, check to make sure we can!
  if (windowCount == 1 && !canQuitApplication())
    return false;
  else if (windowCount != 1 || inPrivateBrowsing)
//@line 30 "/usr/src/rpm/BUILD/mozilla-thunderbird-3.1.6/comm-1.9.2/mozilla/toolkit/content/globalOverlay.js"
    if (typeof(aPromptFunction) == "function" && !aPromptFunction())
      return false;

  if (aClose)   
    window.close();
 
  return true;
}

function canQuitApplication()
{
  var os = Components.classes["@mozilla.org/observer-service;1"]
                     .getService(Components.interfaces.nsIObserverService);
  if (!os) return true;
 
  try {
    var cancelQuit = Components.classes["@mozilla.org/supports-PRBool;1"]
                              .createInstance(Components.interfaces.nsISupportsPRBool);
    os.notifyObservers(cancelQuit, "quit-application-requested", null);
   
    // Something aborted the quit process.
    if (cancelQuit.data)
      return false;
  }
  catch (ex) { }
  return true;
}

function goQuitApplication()
{
  if (!canQuitApplication())
    return false;

  var appStartup = Components.classes['@mozilla.org/toolkit/app-startup;1'].
                     getService(Components.interfaces.nsIAppStartup);

  appStartup.quit(Components.interfaces.nsIAppStartup.eAttemptQuit);
  return true;
}

//
// Command Updater functions
//
function goUpdateCommand(aCommand)
{
  try {
    var controller = top.document.commandDispatcher
                        .getControllerForCommand(aCommand);

    var enabled = false;
    if (controller)
      enabled = controller.isCommandEnabled(aCommand);

    goSetCommandEnabled(aCommand, enabled);
  }
  catch (e) {
    Components.utils.reportError("An error occurred updating the " +
                                 aCommand + " command: " + e);
  }
}

function goDoCommand(aCommand)
{
  try {
    var controller = top.document.commandDispatcher
                        .getControllerForCommand(aCommand);
    if (controller && controller.isCommandEnabled(aCommand))
      controller.doCommand(aCommand);
  }
  catch (e) {
    Components.utils.reportError("An error occurred executing the " +
                                 aCommand + " command: " + e);
  }
}


function goSetCommandEnabled(aID, aEnabled)
{
  var node = document.getElementById(aID);

  if (node) {
    if (aEnabled)
      node.removeAttribute("disabled");
    else
      node.setAttribute("disabled", "true");
  }
}

function goSetMenuValue(aCommand, aLabelAttribute)
{
  var commandNode = top.document.getElementById(aCommand);
  if (commandNode) {
    var label = commandNode.getAttribute(aLabelAttribute);
    if (label)
      commandNode.setAttribute("label", label);
  }
}

function goSetAccessKey(aCommand, aValueAttribute)
{
  var commandNode = top.document.getElementById(aCommand);
  if (commandNode) {
    var value = commandNode.getAttribute(aValueAttribute);
    if (value)
      commandNode.setAttribute("accesskey", value);
  }
}

// this function is used to inform all the controllers attached to a node that an event has occurred
// (e.g. the tree controllers need to be informed of blur events so that they can change some of the
// menu items back to their default values)
function goOnEvent(aNode, aEvent)
{
  var numControllers = aNode.controllers.getControllerCount();
  var controller;

  for (var controllerIndex = 0; controllerIndex < numControllers; controllerIndex++) {
    controller = aNode.controllers.getControllerAt(controllerIndex);
    if (controller)
      controller.onEvent(aEvent);
  }
}

function visitLink(aEvent) {
  var node = aEvent.target;
  while (node.nodeType != Node.ELEMENT_NODE)
    node = node.parentNode;
  var url = node.getAttribute("link");
  if (!url)
    return;

  var protocolSvc = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"]
                              .getService(Components.interfaces.nsIExternalProtocolService);
  var ioService = Components.classes["@mozilla.org/network/io-service;1"]
                            .getService(Components.interfaces.nsIIOService);
  var uri = ioService.newURI(url, null, null);

  // if the scheme is not an exposed protocol, then opening this link
  // should be deferred to the system's external protocol handler
  if (protocolSvc.isExposedProtocol(uri.scheme)) {
    var win = window.top;
    if (win instanceof Components.interfaces.nsIDOMChromeWindow) {
      while (win.opener && !win.opener.closed)
        win = win.opener;
    }
    win.open(uri.spec);
  }
  else
    protocolSvc.loadUrl(uri);
}

function setTooltipText(aID, aTooltipText)
{
  var element = document.getElementById(aID);
  if (element)
    element.setAttribute("tooltiptext", aTooltipText);
}

__defineGetter__("NS_ASSERT", function() {
  delete this.NS_ASSERT;
  var tmpScope = {};
  Components.utils.import("resource://gre/modules/debug.js", tmpScope);
  return this.NS_ASSERT = tmpScope.NS_ASSERT;
});

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2117
Re: Thunderbird Does not Download Messages
« Reply #1 on: March 25, 2012, 07:15:44 AM »
Quote
I am running Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101028 PCLinuxOS/3.1.6-1pclos2010 Thunderbird/3.1.6.
???

Seems you have a very outdated install (actual Thunderbird release is version 11) or running a outdated 2010 livecd.

Please download the latest iso (2012.2) and install it (you install can't be updated).

Check your Thunderbird settings if they are correctly.

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.

Offline opie

  • Full Member
  • ***
  • Posts: 203
Re: Thunderbird Does not Download Messages
« Reply #2 on: March 25, 2012, 12:45:25 PM »
Thank you.  I think you are correct. It explains why my effort to fix the problem by updating Thunderbird failed.  I received the following script when trying to do so:

mozilla-thunderbird:

 Depends: libsqlite3_0 (>= 3.7.8)

 Depends: libmozalloc.so

 Depends: libmozsqlite3.so

 Depends: rpmlib(PayloadIsLzma) (<=4.4.6-1) but it is not installable

That raises a question.  The old install worked perfectly for two years and suddenly decided to stop working.  How does it know that it is outdated and therefore should stop working?  Puzzling.

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2117
Re: Thunderbird Does not Download Messages
« Reply #3 on: March 25, 2012, 02:14:15 PM »
At 1st you missed  the aptugrade.  

Quote
Depends: rpmlib(PayloadIsLzma) (<=4.4.6-1) but it is not installable


The rpm package system was upgraded from 4.6.x to 4.8.x late 2011,  so you can't update any or new 2010 install since last December.
http://www.pclinuxos.com/forum/index.php/topic,100808.0.html

If you want update a package needs a fully updated install because PCLOS is meta (rolling) release
If not the updated package is mostly broken.
That's why PCLOS needs be fully updated at least once a month (weekly is better).

If you want your install static then don't update and don't install other packages.

Please read: http://www.pclinuxos.com/forum/index.php/topic,42874.0.html


JohnW


« Last Edit: March 25, 2012, 02:19:40 PM by JohnW_57 »
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.