mozStorage failure in Thunderbird

Talk about add-ons and extension development.
Post Reply
jSlim180
Posts: 5
Joined: January 21st, 2007, 7:51 am
Location: South Florida
Contact:

mozStorage failure in Thunderbird

Post by jSlim180 »

HI, <a href="http://hacks.atrus.org/mozStorage">mozStorage</a> is working on one Gentoo machine in Thunderbird 1.5.0.5. When I run the same JavaScript code in Thunderbird 1.5.0.9 on Ubuntu and on Windows is does not work. I see an error in the Thunderbird's JavaScript Console:

<code>Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageConnection.tableExists]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://spamcomplaint/content/thunderbirdOverlay.js :: anonymous :: line 152" data: no]
Source File: chrome://spamcomplaint/content/thunderbirdOverlay.js
Line: 152</code>

The code to get mozIStorageService and open a connection executes without error. It is only when I call a method on the connection like tableExists or createStatement that I get the error (above). Does anyone know how I can go about debugging and fixing this?

The version on Gentoo was compiled on that machine. I do not see the sqlite library anywhere in the application (only as the add-on I installed from the link above). I don't see any USE flags that may be relevant.
jSlim180
Posts: 5
Joined: January 21st, 2007, 7:51 am
Location: South Florida
Contact:

Post by jSlim180 »

clarification: I compiled Thunderbird on Gentoo, not mozStorage
User avatar
Daifne
Moderator
Posts: 123071
Joined: July 31st, 2005, 9:17 pm
Location: Where the Waters Meet, Wisconsin

Post by Daifne »

Moving to Thunderbird Support.
User avatar
Rod Whiteley
Posts: 11480
Joined: December 6th, 2004, 3:41 am
Location: UK

Post by Rod Whiteley »

The Extension Development forum might be a better place to ask. Or the Calendar forum (because Lightning uses mozStorage too).
Rod
User avatar
DanRaisch
Moderator
Posts: 127187
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post by DanRaisch »

Moving to Extension Development.
Post Reply