doesn't integrate at all on thunderbird 3.1

Asked by mikhael

i wrote this as a comment but did not find an answer. After upgrading to 3.1, the addon doesn't work- no popup notification and no integration with indicator applet. I am a newbie on this, so can't give more details but would really love this fixed as it is a great addon (I am using the newest stable version)..

Question information

Language:
English Edit question
Status:
Answered
For:
Thunderbird Indicator Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mikhael (mikhael) said :
#1

perhaps worth mentioning- i downgraded back to thunderbird 3.05 and libnotify still didn't work (in any version), also worth mentioning that before the upgrade, everything worked fine..

Revision history for this message
Ruben Verweij (ruben-verweij) said :
#2

Thank you for your bug report. Could you please test this with the latest version from trunk? I believe it is fixed now. Just open a terminal, install bazaar if you don't have it (sudo apt-get install bzr) and type bzr branch lp:libnotify-mozilla to get the latest code. Now run the build.sh file and a .xpi should be created which you can install in Thunderbird. Thanks in advance!

Revision history for this message
mikhael (mikhael) said :
#3

thanks but unfortunately still not working...

Revision history for this message
mikhael (mikhael) said :
#4

if helps, this is what i get in error console:

Error: prefs is not defined
Source File: chrome://libnotifypopups/content/overlay.js
Line: 286

Revision history for this message
John Kuang (xiphosurus) said :
#5

same here. thunderbird 3.1 with libnotify 0.2. no notifications at all. "send test notification" works though. error msg:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileOutputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://libnotifypopups/content/overlay.js :: initIndicators :: line 155" data: no]

Revision history for this message
holbue (bittekeinemail) said :
#6

Same here, with thunderbird 3.1 and libnotify 0.2.1. Also tested the latest version from the trunk. Libnotify just doesn't do anything. Nothing shown in Error console.

Revision history for this message
Shrijit Nair (shrijith1) said :
#7

Me too facing the same issue with TB 3.1 and libnotify 0.2.1 (10.04, 32 bit). Getting both the errors in error console.
Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileOutputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://libnotifypopups/content/overlay.js :: initIndicators :: line 255" data: no]

Error: prefs is not defined
Source File: chrome://libnotifypopups/content/overlay.js
Line: 286

[Send test notification works]

Revision history for this message
Patrick Schweitzer (patrick-schweitzer) said :
#8

Same error message here, TB 3.1 (thunderbird-mozilla-build), libnotify 0.2.1.
One thing to add though. The system has been updated from 9.04 to 9.10 to 10.04.

I have another system that has only been updated from 9.10 to 10.04. Everything works fine there...

Revision history for this message
Karl (klzjr-deactivatedaccount) said :
#9

I am using Ubuntu 10.04 with Thunderbird 3.1 and have installed libnotify-mozilla 0.2.1. I get no errors when installing. libnotify does not integrate into ubuntu indicator applet and does not show notices when I get new mail. When I do a test in preferences the test works.

Revision history for this message
Al Zhukov (wordtinker) said :
#10

I am using Ubuntu 10.04 with Thunderbird 3.1 and libnotify-mozilla 0.2.1.

Integration is not working and I get two errs
Error: this.indicatorStream is undefined
Source File: chrome://libnotifypopups/content/overlay.js
Line: 238

Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileOutputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://libnotifypopups/content/overlay.js :: initIndicators :: line 225" data: no]

Revision history for this message
Ian van Broesel (ivbroesel) said :
#11

I am using Ubuntu 10.04, too but my TB version is 3.1.1 ubuntuzilla build by Mozilla.

There are no notifications at all, the envelope doesn't turn green and there are now entries of thunderbird in the indicator applet.

Revision history for this message
Ian van Broesel (ivbroesel) said :
#12

What are the packages needed to work with libnotify-mozilla.

(There are no notifications at all, the envelope doesn't turn green and there are now entries of thunderbird in the indicator applet.)

Revision history for this message
Patrick Schweitzer (patrick-schweitzer) said :
#13

Why did you convert the bug into a question? When you look in the error console (in Tools) several of us found an Error like:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileOutputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://libnotifypopups/content/overlay.js :: initIndicators :: line 225" data: no].

Even if there are other packages needed, libnotify-mozilla should require them when to want to install it. Since libnotify-mozilla doesn't do it, I still consider it as an error.

(To confirm: I also have the error on TB3.1 and 3.1.1)

Revision history for this message
Nikke (nmellegard) said :
#14

The issue that no notification popups are shown can be fixed by:
1. Navigate to the libnotify extention folder (~/.<email address hidden>)
2. Open the folder python
3. Create an empty file called 'indicator-fifo'

/N

Revision history for this message
Tom Kopacz (tom-kopacz) said :
#15

Using Thunderbird 3.1.1 in Ubuntu 10.04 from the ricotz PPA and version 0.2.1 of the libnotify extension (I also tried the 1.0 from Bazaar before downgrading to the current official release version).

Nikke's solution works in version 0.2.1 to bring up the black notification bubbles, taking care of the line 238 error referenced above. However, I'm still getting the Thunderbird notification at the bottom right of the screen (I'm sure there's a preference to kill that, I just have to find it) and that T-bird notification has to play itself out before T-bird invokes the notification bubble.

Also, Libnotify Popups isn't turning the mail icon green.

I'm going to switch back to the 1.0 from Bazaar and see if that takes care of the notification-area icon.

Revision history for this message
Tom Kopacz (tom-kopacz) said :
#16

Update: The 1.0 from Bazaar failed to notify. Switched back to 0.2.1 and audited my T-bird preferences until I found the "Show An Alert" setting I never paid attention to before. Unchecking it kills only the T-bird notification and allows immediate display of the black notification pop-up bubble.

Still doesn't invoke the GNOME Indicator, though.

Revision history for this message
quack (lbfjrmd) said :
#17

interested observer . . . no posts in 7 days?

Revision history for this message
brandon s allbery kf8nh (geekosaur) said :
#18

I got the bzr version to work. Turns out that in overlay.js there is an assumption that python/indicator.py is executable, but (whether because that doesn't make it into the xpi or because the xpi installer doesn't grok execute bits) it's not. Simply "chmod +x .../python/indicator.py" made it work, both notify bubbles and indicator applet.

I'm not sure whether the fix is to force indicator.py to be executable or to invoke python directly, since I don't have much experience with extensions.

Revision history for this message
brandon s allbery kf8nh (geekosaur) said :
#19

I should mention: tb 3.1.2.

Revision history for this message
christopher pijarski (kpijarski) said :
#20

Brandon's solution works for me, too, finally! (Ubuntu 10.04, Tb 3.1.1, libnotify 0.2.1)
Just making indicator.py executable and (re)starting TB fixes everything ('indicator-fifo' gets created automatically upon stratup)

Thank you, Brandon!

Revision history for this message
quack (lbfjrmd) said :
#21

so for the less saavy use like me:

tb3.1.2
ff 4b3 or any ver i have to use)
win vista and a mac

whatta i do? (u can tell me to shut up and listen too)!

Revision history for this message
jfowlie (jfowlie) said :
#22

You should also make sure that the python-indicate package is installed. Mine wasn't, and caused complete failure, other than the test notification. Once I installed the package, everything worked wonderfully.

Can you help with this problem?

Provide an answer of your own, or ask mikhael for more information if necessary.

To post a message you must log in.