Jump to content

(Archived) Chrome Clipper not fully loading


mrgoerend

Recommended Posts

Hi mrgoerend,

Please try the following:

1) make sure you are on the latest Chrome Browser version 21.

2) If you just installed the Clipper try restarting Chrome.

3) If it doesn't resolve itself please try uninstalling and then re-install from here: https://chrome.google.com/webstore/detail/pioclpoplcdbaefihamjohnefbikjilc?hl=en-US&utm_source=chrome-ntp-launcher

Link to comment

Hi mrgoerend,

Please try the following:

1) make sure you are on the latest Chrome Browser version 21.

2) If you just installed the Clipper try restarting Chrome.

3) If it doesn't resolve itself please try uninstalling and then re-install from here: https://chrome.googl...me-ntp-launcher

Thanks for the reply. I did all of those things before posting. Still getting the same issue.

Link to comment
  • 2 weeks later...

The problem seems to be that the following code is duplicated in the extension's extension.js file:

function msgHandlerSetLastNotebook(request, sender, sendResponse) {

var username = request.username;

var notebookGuid = request.notebook;

var rn = Persistent.get(recentNotebooksKey);

if (!rn) rn = {};

if (!username) username = "default";

rn[username] = notebookGuid;

Persistent.set(recentNotebooksKey, rn);

}

function msgHandlerClipContentTooBig(request, sender, sendResponse) {

alert(Browser.i18n.getMessage("fullPageClipTooBig"));

if (sendResponse) sendResponse();

};

If you comment one of these out by putting /* and */ around the code (this block appears twice), exit chrome and reload the extension will work.

You can find this file on your computer in in C:\AppData\Local\Google\Chrome\User Data\Default\Extensions\xxx\5.7_0\js\main\

replacing the 'xxx' with the extension ID for the Evernote clipper found in >Tools>Extensions in chrome

Come on Evernote guys let's fix this!

Link to comment

The problem seems to be that the following code is duplicated in the extension's extension.js file:

function msgHandlerSetLastNotebook(request, sender, sendResponse) {

var username = request.username;

var notebookGuid = request.notebook;

var rn = Persistent.get(recentNotebooksKey);

if (!rn) rn = {};

if (!username) username = "default";

rn[username] = notebookGuid;

Persistent.set(recentNotebooksKey, rn);

}

function msgHandlerClipContentTooBig(request, sender, sendResponse) {

alert(Browser.i18n.getMessage("fullPageClipTooBig"));

if (sendResponse) sendResponse();

};

If you comment one of these out by putting /* and */ around the code (this block appears twice), exit chrome and reload the extension will work.

You can find this file on your computer in in C:\AppData\Local\Google\Chrome\User Data\Default\Extensions\xxx\5.7_0\js\main\

replacing the 'xxx' with the extension ID for the Evernote clipper found in >Tools>Extensions in chrome

Come on Evernote guys let's fix this!

Thanks, kmslogic.

This approach works.

Link to comment
  • 1 month later...

Evernote updated the clipper with the 5.8 version on my machine, but this issue persists--the extension for my system is

C:\Users\KMS\AppData\Local\Google\Chrome\User Data\Default\Extensions\pioclpoplcdbaefihamjohnefbikjilc\5.8_0\js\main\extension.js

and the two functions I mentioned earlier in this thread are duplicated. Removing one copy of both of the functions while chrome is closed and then re-opening chrome fixes this. I'm really curious what's causing this to happen for some people and not for others.

Link to comment

We know why it's happening on Ubuntu, but can't reproduce it on Windows. Can you show the browser's console logs? There are three logs to look for:

1) Go to Chrome's menu --> Tools --> JavaScript Console

2) Right-click on the Web Clipper popup (the one that is not fully loading), choose Inspect Element in the menu, then click on Console.

3) Go to Chrome's menu --> Tools --> Extensions. In the entry for Web Clipper, you should see "Inspect views" with the link "_generated_background_page.html". Click on that link, then on Console.

Link to comment

I just did all that cchan had offered. There is the console log:

Uncaught TypeError: Cannot call method 'addListener' of undefined Browser.js:116

Browser.addMessageHandlers Browser.js:116

Extension Extension.js:537

(anonymous function)

Link to comment

I just did all that cchan had offered. There is the console log:

Uncaught TypeError: Cannot call method 'addListener' of undefined Browser.js:116

Browser.addMessageHandlers Browser.js:116

Extension Extension.js:537

(anonymous function)

I think there are two separate problems here. The problem you're having is because you're using an old version of Chrome (you said you were on Chrome 18). Please upgrade to Chrome 21, 22, or 23. The other problem is what kmslogic had, which we can't reproduce.

Link to comment

Thank you for the screenshots! They helped us figure out why this was happening to some people but not everyone. It only breaks if you have Chrome's experimental javascript enabled. We will fix this in our side in the next release. Until then, you have two separate options:

1) kmslogic's solution

2) disable experimental javascript. Go to "chrome://flags", look for "Enable Experimental JavaScript" and click "Disable".

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...