Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] AdBookWorkaround



"Address Book Exporting (Attempts)"

A quick summary:

1) I sent this (abbreviated):

I want to perform a very simple operation with Mozilla 1.7.5 - namely
export the address book.  [When I attempt to do so], I get this error
message:

Export Failed

Not enough arguments [ns:AddressBook.exportAddressBook]


2) I received this reply (abbreviated):

Fortunately, somebody else seems to have patched [this]... Check this out:

https://bugzilla.mozilla.org/show_bug.cgi?=id=271895

PS: If it's of any consolence to you, the same problem existed across
various platforms, including Windows...


3) In going to that link, I found a bug report, which included this:

Index: mailnews/addrbook/resources/content/addressbook.js
===================================================================
RCS file:
/cvsroot/mozilla/mailnews/addrbook/resources/content/addressbook.js,v
retrieving revision 1.104
diff -u -u -8 -p -r1.104 addressbook.js
--- mailnews/addrbook/resources/content/addressbook.js    27 Jan 2004
17:33:33 -0000    1.104 +++
mailnews/addrbook/resources/content/addressbook.js    28 Dec 2004
10:59:50 -0000 @@ -493,17 +493,17 @@ function AbPrintPreviewAddressBook()

function AbExport()
{
   try {
     var selectedABURI = GetSelectedDirectory();
     if (!selectedABURI) return;

     var directory = GetDirectoryFromURI(selectedABURI);
-    addressbook.exportAddressBook(directory); +
addressbook.exportAddressBook(window, directory);
   }
   catch (ex) {
     var promptService =
Components.classes["@example.com/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);

     if (promptService) {
       var message;
       switch (ex.result) {
         case Components.results.NS_ERROR_FILE_ACCESS_DENIED:


4) I didn't quite understand what to do with the above, so - for the
time being - I'm still operating as outlined in the following workaround
that I sent before I had received any feedback:

"As a follow-up to my not being able to export the address book from
Mozilla - I'm able to import address books with no problem, so - by
using an old off-line W-box, I'm able to import address books (with an
old version of Netscape) and keep them updated that way.  It's for
reasons like this however that I have to maintain a dual computer
operation with both L-boxes and W-boxes.  [I'm hoping to eventually move
100% of everything over to Linux though....]"


5) Another response I received was this:

"That's pretty strange.  I just took a quick look at bugzilla, and
there's no bug related to this.  When it says there's not enough
arguments, it means whatever function it's trying to call is not getting
passed enough data.  My best guess is that you have an extension
installed that's making things screwy."

If so, I'm beginning to wonder if the best thing is to back up the data,
obliterate the program and then start with a clean installation of it.

(Regarding backing up the data - I could do this flawlessly with
Netscape 4.77 simply by saving the InBox, Sent, etc. files and them
dumping them back into the right folder after a reinstall (or into
another computer), but haven't been able to duplicate this with
Mozilla... yet.  Is it doable, or is all the e-mail data mixed together
into one file now - the way it is with bloody Outlook?)


6) And finally, I received this:

"I am having the same problem you listed below.  Have you found any
additional information or a work around?"

As outlined in #4 above, I'm saving address maintenance data into a file
that I throw on a floppy and then work with in an old W-box with
Netscape 4.77.

Lyle




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links