Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CardBook 30.6 standalone WARNing and (NS_ERROR_FAILURE) #116

Closed
ovari opened this issue Aug 29, 2018 · 9 comments
Closed

CardBook 30.6 standalone WARNing and (NS_ERROR_FAILURE) #116

ovari opened this issue Aug 29, 2018 · 9 comments

Comments

@ovari
Copy link
Contributor

ovari commented Aug 29, 2018

Your environment

TbSync version: 0.7.12.
Thunderbird version: 52.9.1
Operating System: Linux Mint 19

[ ] Yes, I have installed the latest available (beta) version from
https://github.com/jobisoft/TbSync/releases
and my issue is not yet fixed, I can still reproduce it.

Expected behavior

No WARNing nor ERROR

Actual behavior

$ thunderbird -cardbook
ExQuilla Configure logging for base
New RotatingFileAppender
Setting up ExQuilla logging to dump for base with level:Config
1535491133768    addons.xpi    WARN    Exception running bootstrap method shutdown on tbsync@jobisoft.de: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://tbsync/content/tbsync.jsm :: tbSync.cleanup :: line 295"  data: no] Stack trace: tbSync.cleanup()@tbsync.jsm:295 < shutdown()@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/USERNAME/.thunderbird/m6l2h0jj.default/extensions/tbsync@jobisoft.de.xpi!/bootstrap.js:111 < this.XPIProvider.callBootstrapMethod()@resource://gre/modules/addons/XPIProvider.jsm:4968 < this.XPIProvider.startup/<.observe()@resource://gre/modules/addons/XPIProvider.jsm:2924

Steps to reproduce

Run CardBook in standalone mode, i.e. in the terminal type thunderbird -cardbook

To help resolving your issue, enable debug logging (TbSync Account Manager -> Help) and send me the debug.log via e-mail (use the title of your issue as subject of the email).

@jobisoft
Copy link
Owner

can you retry with latest beta?

@ovari
Copy link
Contributor Author

ovari commented Aug 29, 2018

Thunderbird version: 52.9.1
Operating System: Linux Mint 19
TbSync 0.7.12.4

$ thunderbird -cardbook
ExQuilla Configure logging for base
New RotatingFileAppender
Setting up ExQuilla logging to dump for base with level:Config
ExQuilla Configure logging for base
1535532989520	addons.xpi	WARN	Exception running bootstrap method shutdown on tbsync@jobisoft.de: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://tbsync/content/tbsync.jsm :: tbSync.cleanup :: line 311"  data: no] Stack trace: tbSync.cleanup()@tbsync.jsm:311 < shutdown()@resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/USERNAME/.thunderbird/m6l2h0jj.default/extensions/tbsync@jobisoft.de.xpi!/bootstrap.js:112 < this.XPIProvider.callBootstrapMethod()@resource://gre/modules/addons/XPIProvider.jsm:4968 < this.XPIProvider.startup/<.observe()@resource://gre/modules/addons/XPIProvider.jsm:2924

@jobisoft
Copy link
Owner

Strange, would you help to understand this?

This version is doing some extra logging. Can you install that, activate debug logging and send me the report after the error occured? Since TbSync UI is not running, you need to find the debug.log in your thunderbird profile folder in the TbSync subfolder. Starting Thunderbird after the error to use the UI to get the log, will reset the log...

TbSync-beta.xpi.zip

When does that error occur? During start of StandAloneCardBook, or during shutdown?

@jobisoft
Copy link
Owner

I also observed something VERY strange. I am on TB 52.9.1 with lightning 5.4.

If I execute StandAloneCardBook, lightning gets upgraded to 6.2, which causes TbSync to fail (because not compatible). The error you report happens on a line during shutdown, where observers are removed. If Tbsync fails to load during startup, those observers are not added. So this looks plausible.

Could you try to disable lightning on your system and try again?

@ovari
Copy link
Contributor Author

ovari commented Aug 29, 2018

@jobisoft
Copy link
Owner

uff, I actually do not think we should call this a bug of CardBook at this stage... I am just poking around at the moment... could you close that report until we have understood the nature of this?

@jobisoft
Copy link
Owner

should be fixed with this version.
TbSync-beta.xpi.zip

@ovari
Copy link
Contributor Author

ovari commented Aug 29, 2018

Thank you, TbSync 0.7.12.5 fixed this issue.

ExQuilla Configure logging for base
New RotatingFileAppender
Setting up ExQuilla logging to dump for base with level:Config
ExQuilla Configure logging for base

Does that mean you will make it available to everyone?

Thank you once again.

@ovari ovari closed this as completed Aug 29, 2018
@jobisoft
Copy link
Owner

I was just waiting for your confirmation, will push .5 out later

jobisoft added a commit that referenced this issue Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants