jonasbits / PennyPostTB

PennyPostTB is a Thunderbird Extentions and developed under http://www.gnu.org/licenses/quick-guide-gplv3.html GPLv3
http://pennypost.sourceforge.net/
10 stars 0 forks source link

Not compatible with TB 24.0 ? #6

Closed AdrieK closed 11 years ago

AdrieK commented 11 years ago

Today I upgraded TB and PennyPost seem to have stopped working. If I click 'Stamp&Send' it appears nothing happens.

jonasbits commented 11 years ago

This error is in TB 24 running on Ubuntu 13.04 raring, stamp&send does not trigger any warning or error in the Error Console. With no clue whats wrong, this can take a while.

I have assigned myself to this issue and help is appreciated

jonasbits commented 11 years ago

The code to detect if TB are offline when trying to stamp&send somehow stopped to work in v.24, so i have now added this variable. To try out if you are online or offline, run this in the Error Console:

alert(Components.classes["@mozilla.org/network/io-service;1"].getService(Components.interfaces.nsIIOService).offline);

jonasbits commented 11 years ago

Only one line extra to fix this problem, its based on this tag https://github.com/jonasbits/PennyPostTB/releases/tag/v15 and the file that is changed is composeOverlay.js but its not commited to GitHub yet. Going to post the new file to the wiki right now.

jonasbits commented 11 years ago

Allright, the stamping is working now, but not verifying.

It has something to do with pref and you can run this in Error Console: Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch).getCharPref('ppost.javapath')

This explains it: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Releases/24

jonasbits commented 11 years ago

verifying works again now, I only needed one line to define pref in ppost.js

AdrieK commented 10 years ago

I'm not sure if I understand. Now I can use PennyPostTB, but only if I Stamp & Send Later. Is the modified ppost.js in the distibution or in github? Or should I change it myself? Thanks for the help so far.

btw: using Windows 7 / TB 24 / PennyPostTB 1.5

jonasbits commented 10 years ago

You can now find version 1.5.1 to download, and this release is based on the branch 1_5, i will have to clean up the master... something is wrong

https://github.com/jonasbits/PennyPostTB/wiki download from here, or from this http://pennypost.sourceforge.net/TBVersionHistory

AdrieK commented 10 years ago

Works again. Thanks!