chrome extension loads, but does nothing

chrome extension loads, but does nothing

I'm running
$ lsb_release -ds
Ubuntu 10.04.1 LTS
$ uname -rv
2.6.32-27-generic #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010
$ sudo aptitude update ; sudo aptitude full-upgrade
...
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...
$ firefox --version
Mozilla Firefox 3.6.13, Copyright (c) 1998 - 2010 mozilla.org
$ google-chrome --version
Google Chrome 8.0.552.224
I checked out the chrome ext with
CHREXT_ROOT="${HOME}/bin/zotero/google-chrome"
CHREXT_DIR="20101229"
CHREXT_PATH="${CHREXT_ROOT}/${CHREXT_DIR}"
CHREXT_SOURCE_ROOT="https://www.zotero.org/svn/connector/chrome/trunk"
mkdir -p ${CHREXT_PATH}
pushd ${CHREXT_ROOT}
svn co ${CHREXT_SOURCE_ROOT} ${CHREXT_DIR}
popd
echo -e "load chrome extension from folder='${CHREXT_PATH}'"
The files are there, and permissions look appropriate:
$ ls -al ${CHREXT_PATH}
> -rw-r--r-- 1 me me 6797 2010-12-29 22:55 global_common.js
> -rw-r--r-- 1 me me 2609 2010-12-29 22:55 global.html
> drwxr-xr-x 3 me me 4096 2010-12-29 22:55 images
> -rw-r--r-- 1 me me 2414 2010-12-29 22:55 inject.js
> -rw-r--r-- 1 me me 487 2010-12-29 22:55 itemSelector.css
> -rw-r--r-- 1 me me 1752 2010-12-29 22:55 itemSelector.html
> -rw-r--r-- 1 me me 2477 2010-12-29 22:55 itemSelector.js
> -rw-r--r-- 1 me me 445 2010-12-29 22:55 manifest.json
> drwxr-xr-x 6 me me 4096 2010-12-29 22:55 .svn
I can load the extension in chrome by

0 browse to chrome://extensions/
1 expand the "Developer mode" twistie
2 click button="Load unpacked extension..."
3 enter folder=valueof(${CHREXT_PATH}) in the resulting file dialog, hit OK

When I do that, "Zotero Connector for Chrome" shows @ top of list=Extensions, with no obvious errors, and looking like google says it should.

However

- after loading the extension, no additional icon appears next to the chrome address bar

- when I browse to a journal article, no additional icon appears next to the chrome address bar

By contrast, if I start firefox and browse to that same article, I get the zotero page icon in the firefox address bar.

What must I do to make the chrome extension behave appropriately?

Your assistance is appreciated, Tom Roche
  • slightly different outcomes for me, also in ubuntu, using chromium-browser8.0.552.215~r67652-0ubuntu0.10.10.1. Browsing e.g. to this book:

    http://www.amazon.com/gp/product/B002B3YBZO/ref=s9_pop_gw_ir03/190-5343882-9824666?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=00JVFZE24KQ87CV9QJ59&pf_rd_t=101&pf_rd_p=1263340922&pf_rd_i=507846

    I get the icon, and clicking on it sends a new reference to zotero sa (wow! that IS magic!). having trouble with some other sites, but this may be simply that the sites don't work w/ zotero and there's some issue with error reporting in the chrome extension (see e.g. this one:
    http://www.torontopubliclibrary.ca/detail.jsp?Entt=RDM119117&R=119117).

    short answer: try the ubuntu chromium-browser packages?

    matt
  • hmm, did a little more testing. The following page shows references in firefox, but not in chrome:

    http://search1.library.utoronto.ca/UTL/index?Ntt=semantic+web&Ntk=Anywhere&form_submit=go&Ntx=mode%2Bmatchallpartial&N=0&fieldset=default&form.submitted=1&add_reference.field:record=&add_reference.type:record=&add_reference.destination:record=&last_referer=http://content.library.utoronto.ca/

    Any thoughts?

    Matt
  • Hi,

    Like Matt, it works with Chromium (installed from Ubuntu software center), sometimes: some websites doesn't work in Chromium but work in Firefox.

    Wordlcat works, which is great.

    Frédéric
  • matt_price, inactinique: you are correct! chromium works but google-chrome doesn't :-(

    zotero-dev:

    question: why is that?

    statement: I have updated http://www.zotero.org/support/dev/svn_and_trac_access#running_an_svn_build_of_zotero with instructions for running {zotero sa, zotero sa + chrome}, and separated sections with instructions for running {zotero sa + firefox} (which need written) from instructions for running zotero inside firefox (i.e. the original way). HTH.
  • I just played for the first time with standalone today-- and this is fun. Thanks for the build script -- it worked pretty much without a hitch for me.
  • Thanks, Tom, for this excellent work. I think I've had standalone running with Chrome on my machine so we'll need to take a look to see if we can reproduce your problem. Overall, I'm very excited to hear about all this success and curious to know whether you have any other feedback on the standalone client. If so, please post to the dev list or here.
  • Hello All,
    New to the Zotero forum. Chrome extension works for me for single references (and not always, but often). Tried some of the links above and find some scenario. I wonder how to get the ability back to select a bunch of references for transfer to zotero at the same time. However, overall I am thrilled to have zotero standalone. BTW, I am running chrome beta 10.0.634.0.
  • One more note: The Zotero symbol for copying references shows up as usual when I go to a website with several citations on it. However, when I click it an empty box shows briefly, and then chrome reports that the zotero extension crashed. However, when I open a single reference, I can copy it to Zotero SA. Any thoughts? Thanks!
  • edited January 15, 2011
    The Chrome extension is not working for me at all. Using latest build of Chrome on Mac OS X.
  • I just installed the extension for Safari and although the button in the menu appears to respond when at a web page, it does not show up as a reference in the standalone Zotero. The same happens with a pdf document. However, if I open a page with Google Scholar, I do get a list of possible downloads.

    How do I get it to work for web pages, pdfs, etc.?

    Using latest Safari and OSX.
  • mapmaker: Start a new thread, and include some sample URLs that do and don't work for you.
  • The Chrome extension seems to only work with certain pages. Works with Worldcat and Google Books. For example these both work for me (Chrome and Firefox):
    http://www.worldcat.org/title/deleuze/oclc/78886950&referer=brief_results
    http://books.google.ca/books?id=xXPkpc2NxjsC&printsec=frontcover&dq=Reidar+Due+deleuze&hl=en&ei=QKk0Tb1awf7wBpPimOII&sa=X&oi=book_result&ct=result&resnum=1&ved=0CCkQ6AEwAA#v=onepage&q&f=false

    But no "regular" webpages work.
  • quinn_d: Please start a new thread, since this thread isn't about the quirks of translators when used via connectors. In the new thread, please include URLs that work in Firefox, but not in Chrome, so that we can identify what breaks them in Chrome.
  • Okay, I can start a new thread, although some of the confusion may be that the Chrome extension *appears* to do nothing, unless you happen to go to a particular site. There is no icon in the address bar unless I go to one of the sites indicated above.
  • Mainly, I want to move discussion off of this thread, since it was created before the official alpha began, and it is full of information on packaging and installing from source code that very few people currently running the standalone alpha need.

    A new thread can focus on what site translators are currently broken in the Chrome and Safari connectors.
  • Closing this thread.
This discussion has been closed.