Uncaught ReferenceError: WebKitBlobBuilder is not defined

1,028 views
Skip to first unread message

johnjbarton

unread,
Oct 29, 2012, 3:46:11 PM10/29/12
to tincr-for-ch...@googlegroups.com
I just tried tincr on Linux Chrome version Version 24.0.1312.0 (164667) but I fails with console error messages like the subject and: 

Error in event handler for 'undefined': BlobBuilder is not defined ReferenceError: BlobBuilder is not defined at Object.FileEntry.file (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/FauxFilesystem.js:137:17) at Object.Gito.FileUtils.readFileEntry (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/file_utils.js:142:14) at chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/file_utils.js:149:20 at Object.DirectoryEntry.getFile (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/FauxFilesystem.js:80:5) at Object.Gito.FileUtils.readFile (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/file_utils.js:148:9) at Object.ProjectManager.checkResourceContent (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/ProjectManager.js:85:20) at chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/background.js:19:24 at chrome.Event.dispatchToListener (event_bindings:387:21) at chrome.Event.dispatch_ (event_bindings:373:27) at chrome.Event.dispatch (event_bindings:393:17)


Any hints?
jjb

Ryan Ackley

unread,
Oct 29, 2012, 4:43:49 PM10/29/12
to tincr-for-ch...@googlegroups.com
HI John,

This should be fixed in the latest version of Tincr in the Chrome
webstore (v1.3). Let me know if that is the version you are using or
if you have trouble updating to the latest version

-Ryan
> --
>
>

johnjbarton

unread,
Oct 29, 2012, 4:49:20 PM10/29/12
to tincr-for-ch...@googlegroups.com


On Monday, October 29, 2012 1:43:50 PM UTC-7, Ryan Ackley wrote:
HI John,

This should be fixed in the latest version of Tincr in the Chrome
webstore (v1.3). 
Let me know if that is the version you are using or
if you have trouble updating to the latest version

I installed today. The version I have is 1.2.  Suggestions?

jjb

Ryan Ackley

unread,
Oct 29, 2012, 5:01:28 PM10/29/12
to tincr-for-ch...@googlegroups.com
Thanks for that, I didn't publish the update. It was still in "draft"
state. Try again.
> --
>
>

johnjbarton

unread,
Oct 29, 2012, 7:40:39 PM10/29/12
to tincr-for-ch...@googlegroups.com
Ok thanks for the 1.3 version, I made some 'progress'.  

I realized I needed to use the ConfigurationFile option, because I have files from multiple places.  I had two kinds of trouble: it took me awhile to realize that the config file paths are relative to the root directory containing the tincr.json. Obvious now, but feedback from tincr to clue me in would really help. I had to debug the extension to figure it out. (devtools-save extension has a very nice ui for the same purpose). 

Second, I had to exit and restart the browser several times because the [Browse] button on the Tincr panel failed to open the dialog and the text field would not allow me to type it in.  I guess this isn't your bug.

After that I get no file saves and no feedback. (again devtools-save extension has a nice feedback mechanism I've come to rely on: it always tells you when you succeed in saving or if there is an error; I wish it also told you when you failed to save but it had no error).

In the console.log of tincr's background page I get:
  1. Error in event handler for 'undefined': Error calling method on NPObject. Error: Error calling method on NPObject. at Object.FileEntry.file (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/FauxFilesystem.js:121:39) at Object.Gito.FileUtils.readFileEntry (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/file_utils.js:143:14) at chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/file_utils.js:150:20 at Object.DirectoryEntry.getFile (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/FauxFilesystem.js:80:5) at Object.Gito.FileUtils.readFile (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/file_utils.js:149:9) at Object.ProjectManager.checkResourceContent (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/ProjectManager.js:85:20) at chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/background.js:19:24 at chrome.Event.dispatchToListener (event_bindings:387:21) at chrome.Event.dispatch_ (event_bindings:373:27) at chrome.Event.dispatch (event_bindings:393:17) event_bindings:377
  1. Error in event handler for 'undefined': Object #<HTMLEmbedElement> has no method 'fileExists' TypeError: Object #<HTMLEmbedElement> has no method 'fileExists' at Object.DirectoryEntry.getFile (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/FauxFilesystem.js:76:55) at Object.Gito.FileUtils.readFile (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/file_utils.js:149:9) at Object.ProjectManager.checkResourceContent (chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/ProjectManager.js:85:20) at chrome-extension://lfjbhpnjiajjgnjganiaggebdhhpnbih/background.js:19:24 at chrome.Event.dispatchToListener (event_bindings:387:21) at chrome.Event.dispatch_ (event_bindings:373:27) at chrome.Event.dispatch (event_bindings:393:17) at miscellaneous_bindings:164:26 at chrome.Event.dispatchToListener (event_bindings:387:21) at chrome.Event.dispatch_ (event_bindings:373:27)



The second message repeats 134 times (I guess once per resource).

jjb


johnjbarton

unread,
Oct 29, 2012, 7:47:38 PM10/29/12
to tincr-for-ch...@googlegroups.com


On Monday, October 29, 2012 4:40:39 PM UTC-7, johnjbarton wrote:
Ok thanks for the 1.3 version, I made some 'progress'.  

I realized I needed to use the ConfigurationFile option, because I have files from multiple places.  I had two kinds of trouble: it took me awhile to realize that the config file paths are relative to the root directory containing the tincr.json. Obvious now, but feedback from tincr to clue me in would really help. I had to debug the extension to figure it out. (devtools-save extension has a very nice ui for the same purpose). 

Second, I had to exit and restart the browser several times because the [Browse] button on the Tincr panel failed to open the dialog and the text field would not allow me to type it in.  I guess this isn't your bug.

After that I get no file saves and no feedback. (again devtools-save extension has a nice feedback mechanism I've come to rely on: it always tells you when you succeed in saving or if there is an error; I wish it also told you when you failed to save but it had no error).

Oh wait, I do see output on console.log, lines like:
Content for url chrome-extension://mpbflbdfncldfbjicfcfbaikknnbfmae/traceur/src/codegeneration/generator/State.js matches local file /work/qpp/traceur/src/codegeneration/generator/State.js

But I am not able to reproduce that output; I'm not sure when it is being generated.

Ryan Ackley

unread,
Oct 29, 2012, 8:20:25 PM10/29/12
to tincr-for-ch...@googlegroups.com
For the stack trace, it sounds like the NPAPI plugin process crashed.
I've only seen that error while doing development on Tincr. You'll
need to close all devtools windows (including the background page) and
reload the extension when you see that error. Please let me know if
you are getting that error regularly

That may explain why the browse button isn't working. The browse
button is handled by Tincr's NPAPI plugin since Chrome doesn't have a
built-in way to handle folders (that I know of).

Thanks for the feature request. I've heard that from a few people.
I'll make it an option to get a browser notification at some point on
success/fail of a save or reload.
> --
>
>
Reply all
Reply to author
Forward
0 new messages