Closed jeffalstott closed 10 years ago
Great ;)
Q: Are you using Zotero Standalone or at Firefox? Q: Can you check the error log of Firefox or Zotero because it looks like an error if you press the button for running: log of the console: When something does not work like excepted enable the option of logging message to console, You can open the console in Firefox with Strg + Shift + J. Be sure that not only errors are visible and maybe you have to clean the console before you start your action with problems. After that you can select the entrys in console and copy with rightclick log of Zotero Standalone: In the preferences you can activate logging and see the log. First activate logging and then trying to export.
Thanks for your help and support!
Zotero Standalone.
I enabled logging. How do I find the log in Standalone?
On Wed, Oct 8, 2014 at 3:06 PM, rokondo notifications@github.com wrote:
Great ;)
Q: Are you using Zotero Standalone or at Firefox? Q: Can you check the error log of Firefox or Zotero because it looks like an error if you press the button for running: log of the console: When something does not work like excepted enable the option of logging message to console, You can open the console in Firefox with Strg + Shift + J. Be sure that not only errors are visible and maybe you have to clean the console before you start your action with problems. After that you can select the entrys in console and copy with rightclick log of Zotero Standalone: In the preferences you can activate logging and see the log. First activate logging and then trying to export.
Thanks for your help and support!
— Reply to this email directly or view it on GitHub https://github.com/rokondo/Zotero-autoexporting/issues/6#issuecomment-58318626 .
Next to the button where you enable logging is also the button for opening the log window.
Where?
In the Zotero Standalone preferences. I have actually no Zotero Standalone here for showing you the dialog, but it should look like this: https://www.zotero.org/support/preferences/advanced
Ah, I understand! I was looking at the add-on's preference page. Here's the output:
[JavaScript Error: "bad script XDR magic number"]
[zoteroautoexporting] Autoexporting for files is disabled by user for triggering automatically
[zoteroautoexporting] Migration: Found no valid old path..
[zoteroautoexporting] Path of the new file options looks valid: /Users/jeff/Google_Drive/Research/Articles/ZoteroOutput.bib
[zoteroautoexporting] Filetranslator seems good
[zoteroautoexporting] Abort init process and set no timer
[zoteroautoexporting] renew events because of: init addon
[zoteroautoexporting] abort init process for trigggering events
[JavaScript Error: "TypeError: recentWindow.openUILinkIn is not a function" {file: "chrome://global/content/contentAreaUtils.js" line: 1065}]
[zoteroautoexporting] Run autoexporting to file
[zoteroautoexporting] Fileobject is writeable
[zoteroautoexporting] Translator for export inits
[zoteroautoexporting] Initiated the translator. Skipped whole library..
[zoteroautoexporting] Export the collections
[JavaScript Error: "TypeError: this.custom_collections.Collection[("Collection_" + collections[c].id)] is undefined" {file: "chrome://zoteroautoexporting/content/core.js" line: 311}]
version => 4.0.22, platform => MacIntel, oscpu => Intel Mac OS X 10.9, locale => en-US, appName => Zotero, appVersion => 4.0.22
=========================================================
(3)(+0000000): Translate: WARNING: new Zotero.Translate() is deprecated; please don't use this if you don't have to
(5)(+0000001): SELECT collectionID AS id, collectionName AS name FROM collections C WHERE parentCollectionID IS NULL AND libraryID IS NULL
Well it looks like having a problem with the collections. I created an issue in my bugtracker but it will be need some days til I can check for fixing. Did you changed the collections after setting up autoexport? Because it looks like a missing link to an collection which is not available. You can try to two things: resetting all prefs of my addon by pressing the about:config button in the Zotero preferences under the logging buttons and searching for everything with autoexport and resetting this prefs. There is also a new version currently http://rokdd.de/private/programmierung/zotero-autoexporting/releases/zotero-autoexporting-1-1-9.xpi which might help but I think the error is occured for another reason.
"Did you changed the collections after setting up autoexport?" No.
After some more fiddling, it looks like it was an issue with not having the .bib files already existing in the target directory. Here's what I did:
Some side notes about Saved Searches and subcollections, which don't immediately affect me but others might care about:
Thanks!
[zoteroautoexporting] Reload trigger and events
[zoteroautoexporting] Renew because of: reload after timer reset
[zoteroautoexporting] Timer is being canceled
[zoteroautoexporting] Autoexporting for files is disabled by user for triggering automatically
[zoteroautoexporting] Migration: Found no valid old path..
[zoteroautoexporting] Path of the new file options looks valid: /Users/jeff/Google_Drive/Research/Articles/ZoteroOutput.bib
[zoteroautoexporting] Filetranslator seems good
[zoteroautoexporting] Abort init process and set no timer
[zoteroautoexporting] renew events because of: reload
[zoteroautoexporting] abort init process for trigggering events
[zoteroautoexporting] Run autoexporting to file
[zoteroautoexporting] Fileobject is writeable
[zoteroautoexporting] Translator for export inits
[zoteroautoexporting] Initiated the translator. Skipped whole library..
[zoteroautoexporting] Export the collections
[zoteroautoexporting] Exported collection #5 called Animal_Scaling to file as Animal_Scaling.bib
[zoteroautoexporting] Exported collection #6 called To_Summarize to file as To_Summarize.bib
[zoteroautoexporting] Exported collection #4 called To_Tablet to file as To_Tablet.bib
[zoteroautoexporting] Export Groups..
[zoteroautoexporting] Group Technology_Development will be searched
[zoteroautoexporting] Exported Group #287950 called Technology_Development to file as Technology_Development.bib
[zoteroautoexporting] Group zotfile will be searched
[zoteroautoexporting] Exported Group #69208 called zotfile to file as zotfile.bib
[zoteroautoexporting] Exported (+collections) 09.10.2014 11:12:43:461
[zoteroautoexporting] Set the timer for next export in 120 minutes
version => 4.0.22, platform => MacIntel, oscpu => Intel Mac OS X 10.9, locale => en-US, appName => Zotero, appVersion => 4.0.22
=========================================================
(3)(+0057542): Translate: WARNING: new Zotero.Translate() is deprecated; please don't use this if you don't have to
(5)(+0000001): SELECT collectionID AS id, collectionName AS name FROM collections C WHERE parentCollectionID IS NULL AND libraryID IS NULL
(4)(+0000001): Translate: Binding sandbox to http://www.example.com/
(4)(+0000002): Translate: Parsing code for BibTeX
(5)(+0000007): SELECT collectionID AS id, collectionName AS name FROM collections C WHERE parentCollectionID =5
(5)(+0000000): No child collections of collection 5
(3)(+0000001): Translate: Beginning translation with BibTeX
(3)(+0000001): Zotero.Item.toArray() is deprecated -- use Zotero.Item.serialize()
(3)(+0000001): Zotero.Item.toArray() is deprecated -- use Zotero.Item.serialize()
(5)(+0000001): SELECT tagID, name FROM tags WHERE tagID IN (SELECT tagID FROM itemTags WHERE itemID=?)
(5)(+0000000): Binding parameter 1 of type int: 38
(5)(+0000000): SELECT itemID FROM itemSeeAlso WHERE linkedItemID=?
(5)(+0000000): Binding parameter 1 of type int: 38
(3)(+0000000): Zotero.Item.toArray() is deprecated -- use Zotero.Item.serialize()
(5)(+0000001): SELECT tagID, name FROM tags WHERE tagID IN (SELECT tagID FROM itemTags WHERE itemID=?)
(5)(+0000000): Binding parameter 1 of type int: 66
...
Hello thanks for your updates. I guess there was a problem around the IDs of the collection and I am not checking whether they might exists in this single case. With your reselecting you overwrote the settings and IDs for this. Regarding your issues I am going to correct them but first I will add to bug tracking system because there is actually not the time to make a super super fully functional addon. I will do my best to correct everything. I guess there should be more people having same problem like you and sent no feedback. So thanks for your feedback ;)
Fileformat: BibTeX Path to file: /Users/jeff/Google_Drive/Research/Articles/ZoteroOutput.bib
Export: collections Export every collection named by its name
Run test, and this is the output: 08.10.2014 09:39:33:5835: Abort init process and set no timer 08.10.2014 09:39:33:5825: Filetranslator seems good 08.10.2014 09:39:33:58101: Path of the new file options looks valid: /Users/jeff/Google_Drive/Research/Articles/ZoteroOutput.bib 08.10.2014 09:39:33:5836: Migration: Found no valid old path.. 08.10.2014 09:39:33:58: Autoexporting for files is disabled by user for triggering automatically 08.10.2014 09:39:33:5758: Renew because of: Manually run and prefs might be changed 08.10.2014 09:39:33:57: ----- Test run-------
Run Zotero Autoexport, and nothing happens. The .bib file doesn't update at all.
Thanks!