Skip to content

Instantly share code, notes, and snippets.

@avram
avram / gist:784723
Created January 18, 2011 16:47
Another multi error
[JavaScript Error: "tipElement.ownerDocument is null" {file: "chrome://browser/content/browser.js" line: 2376}]
[JavaScript Error: "stmt is undefined" {file: "chrome://zotero/content/xpcom/data/item.js" line: 1952}]
[JavaScript Error: "stmt is undefined" {file: "chrome://zotero/content/xpcom/data/item.js" line: 1952}]
[JavaScript Error: "row.firstChild is undefined" {file: "chrome://zotero/content/bindings/itembox.xml" line: 913}]
[JavaScript Error: "row.firstChild is undefined" {file: "chrome://zotero/content/bindings/itembox.xml" line: 913}]
@avram
avram / gist:784712
Created January 18, 2011 16:42
Multilingual Zotero error
[JavaScript Error: "reversePartnerItemIDs[deleteid] is undefined" {file: "chrome://zotero/content/xpcom/duplicate.js" line: 320}]
[JavaScript Error: "this._getItemAtRow(row) is undefined" {file: "chrome://zotero/content/xpcom/itemTreeView.js" line: 403}]
[JavaScript Error: "this._getItemAtRow(row) is undefined" {file: "chrome://zotero/content/xpcom/itemTreeView.js" line: 403}]
[JavaScript Error: "'subject' is not a valid field for type 8" {file: "chrome://zotero/content/bindings/itembox.xml" line: 2291}]
[JavaScript Error: "this._getItemAtRow(row) is undefined" {file: "chrome://zotero/content/xpcom/itemTreeView.js" line: 403}]
@avram
avram / gist:782055
Created January 16, 2011 19:17
Debug from multilingual-- broken collection
(4)(+0088212): Unregistering observer in notifier with hash 'pE'
(4)(+0000004): Registering observer for [item,collection-item,share-items,bucket] in notifier with hash XA'
(3)(+0000140): Refreshing items list
(5)(+0000001): SELECT tag FROM zlsPreferences WHERE profile=? AND param=?
(5)(+0000000): Binding parameter 1 of type string: "default"
@avram
avram / gist:781665
Created January 16, 2011 09:10
Error when installing zotero-multi-2.xpi over Zotero 2.1b4
[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageConnection.createStatement]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: anonymous :: line 292" data: no] [QUERY: SELECT I.*, COALESCE(CASE (SELECT COUNT(*) FROM itemCreators IC LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=I.itemTypeID) WHERE itemID=I.itemID AND primaryField=1) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName FROM itemCreators IC NATURAL JOIN creators NATURAL JOIN creatorData LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=I.itemTypeID) WHERE itemID=I.itemID AND primaryField=1) WHEN 2 THEN (SELECT (SELECT lastName FROM itemCreators IC NATURAL JOIN creators NATURAL JOIN creatorData LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=I.itemTypeID) WHERE itemID=I.itemI
@avram
avram / gist:758294
Created December 29, 2010 07:14
australian harvard
<group delimiter=" ">
<text macro="author-short"/>
<group delimiter=":">
<text macro="year-date"/>
<text variable="locator"/>
</group>
</group>
@avram
avram / overlay.xul
Created December 8, 2010 22:15
Zotfile key files changed for photo workflow
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://zotfile/skin/overlay.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://zotfile/locale/zotfile.dtd">
<overlay id="zotfile-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<stringbundleset id="stringbundleset">
<stringbundle id="zotfile-strings"
src="chrome://zotfile/locale/zotfile.properties"/>
{
"translatorID":"6ec8008d-b206-4a4c-8d0a-8ef33807703b",
"label":"The Economist",
"creator":"Michael Berkowitz",
"target":"^http://(www.)?economist.com/",
"minVersion":"1.0.0b4.r5",
"maxVersion":"",
"priority":100,
"inRepository":"1",
"translatorType":4,
{"translatorID":"207f4aad-b604-43ef-a7f5-3e6229aade9f",
"label":"New Zealand Herald",
"creator":"Sopheak Hean (University of Waikato, Faculty of Education)",
"target":"www.nzherald.co.nz",
"minVersion":"1.0",
"maxVersion":"",
"priority":100,
"inRepository":"1",
"translatorType":4,
"lastUpdated":"2010-07-30 09:26:09"}
{"translatorID":"207f4aad-b604-43ef-a7f5-3e6229aade9f",
"label":"New Zealand Herald",
"creator":"Sopheak Hean (University of Waikato, Faculty of Education)",
"target":"www.nzherald.co.nz",
"minVersion":"1.0",
"maxVersion":"",
"priority":100,
"inRepository":"1",
"translatorType":4,
"lastUpdated":"2010-07-30 09:26:09"}
{
"translatorID":"9346ddef-126b-47ec-afef-8809ed1972ab",
"label":"Institute of Physics",
"creator":"Michael Berkowitz",
"target":"^http://iopscience.iop.org/[0-9\\-]+/.+",
"minVersion":"1.0.0b4.r5",
"maxVersion":"",
"priority":99,
"inRepository":"1",
"translatorType":4,