Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

"Component is not available" error in bootstrap.js #15

Open
mdobson opened this issue Aug 16, 2012 · 1 comment
Open

"Component is not available" error in bootstrap.js #15

mdobson opened this issue Aug 16, 2012 · 1 comment

Comments

@mdobson
Copy link

mdobson commented Aug 16, 2012

Hi!

I've been working to get SSU up and running on an Ubuntu Linux Amazon EC2 ami, and have run into a trouble right up until the point where I try to actually scrape something. It's become greek to me so if anyone knows of a work around it would be greatly appreciated.

ERROR: while printing object ([object XPCNativeWrapper [object Window]]) for log: [Exception... "Component is not available"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: chrome://desktopuploader/content/bootstrap.js :: anonymous :: line 880"  data: no]
@makdad
Copy link

makdad commented Sep 26, 2012

Not sure of the root cause, but XPCNativeWrapper is what the window object is wrapped in to assist in putting a barrier between trusted (your Chrome JS -- e.g. SSU)/untrusted code (website DOM JS).

This exception seems to be thrown (?) by the util/inspect code as it tries to inspect the wrapped window. I don't know a fix for this at the moment, but would like to find one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants