ZotFile - Advanced PDF management for Zotero
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
This discussion has been closed.
ZotFile is a great tool, congratulations.
However, since I updated to Zotero 4.0 and ZotFile 2.3.5 (Windows 8 and Firefox 20) an error occurs.
The "extract annotations" acts in a strange way, replacing characters in the extracted text. For instance:
This text "In these early days, historians had to rely on general purpose software" is extracted as "*OUIFTFFBSMZEBZTIJTUPSJBOTIBEUPSFMZPOHFOFSBMQVSQPTFTPGUXBSF".
Everything works well in note's extraction.
Suggestions?
Thanks
springgao, this has nothing to do with zotfile. It is the way in which linked attachments in Zotero work. /Users/[myname]/Desktop/Zotero attachments/file.pdf is just not a valid location on windows.
DanielAlves, are you talking about the exactly the same pdf file? So did the old version extract a specific file correctly but the new one does not? Otherwise, it's simply the pdf file that does not work. If you can not copy-paste selected text from the file, zotfile will never be able to exact highlighted text. If you can copy-paste text, there is a chance that the next version of zotfile solves the problem.
Thanks so much for your help! Zotfile is really helpful for my workflow.
I usually use zotero standalone, but the same things happens from within Firefox (and generates an error). The following errors come up on the console every time I try to rename an attachment (the 4 errors are for one attempt):
Timestamp: 5/9/13 10:36:14 AM
Error: TypeError: Zotero.ZotFile is undefined
Source File: chrome://zotfile/content/zotfile.js
Line: 672
Timestamp: 5/9/13 10:36:15 AM
Error: TypeError: Zotero.ZotFile is undefined
Source File: chrome://browser/content/browser.xul
Line: 1
Timestamp: 5/9/13 10:36:15 AM
Error: TypeError: Zotero.ZotFile is undefined
Source File: chrome://zotfile/content/zotfile.js
Line: 672
Timestamp: 5/9/13 10:36:16 AM
Error: TypeError: Zotero.ZotFile is undefined
Source File: chrome://browser/content/browser.xul
Line: 1
Thanks!
Thanks for making something that looks potentially awesome. I am not sure if this is a "bug" or if I messed up the set-up. I've managed to "Send Files to Tablet" with no problem. However, after I annotated the file on iAnnotate, re-synced with DropBox, I can't seem to "Get File from Tablet" on Zotero. It's greyed out. From my understanding, the annotations are supposed to come back as a note. No such luck.
I've selected as my "Source Folder" the same DropBox folder I use for my "Tablet Folder". Could this be the problem?
I am running Zotero Standalone 4.0.8, & Zotfile 2.3.5
Thanks for your help,
SSZ
P.S. Would love to join the beta-testers for version 3.0,
Zotfile 3.0 is now under review and can be downloaded here.
- Improved extraction of annotation
- Goto annotation in pdf
- Tablet feature: Restrict saved search for tablet files to sub-folders
- Tablet feature: Support of colored tags in Zotero 4
- Italian localization (thanks to Roberto Caviglia)
- Remove empty sub-folders when getting files from tablet
- Fix alert window (headline was missing in Zotero 4)
- Fix automatic renaming option "Only ask if..."
- Fix for zotfile item menu on Zotero as a tab
For more details see here.
Looking forward to trying out Zotfile 3.0!
It would be pretty easy to set up a saved search that displays all items with notes from Zotfile extraction from the last week (or any other randome time-frame).
In which case, it's a broader Zotero question. I want to see my files in a sub-collection sorted by the date by which I last added/modified a note. There is a way to sort by the number of notes, but not by date of the notes. I'll look to see if I can do this some other way and pose the question to the general forum otherwise.
1) Note contains "Extracted Annotations (" (without the quotation marks)
2) Date Modified is in the last X days
That is all. I also checked "include parent and child items of matching items".
Zotero 4.0.8
Zotfile 2.3.5
Firefox 21.0 (Firefox for Ubuntu; canonical - 1.0)
Linux: Kubuntu 13.04
iAnnotate, latest version (iPad)
PDFs seem to "send to tablet" and "get from tablet" fine (as far as I can tell). However, "extract annotations" seems to do nothing, after the PDF has been "gotten" from the tablet/iAnnotate. Also, the modified file can no longer be opened in my external reader (presently, none of my Zotero PDFs can be opened in the internal FF viewer, but all of the rest can be opened in my external viewer). I'm sure I will have more to say as I tinker, but that is all for now? Is there something I could be doing wrong?
Now for a couple of questions. I'm trying to understand how Zotfile works as I begin using it, as I plan for Zotfile/Zotero to be my bibliographic and organizational mainstay from here on out. What, if any, is the relationship between "Location of Files" in ZotFile's General Settings and "Linked Attachment Base Directory" or "Data Directory Location" in Zotero's advanced preferences. How do these all need to "jive"? I would like my attachments kept organized in a certain accessible place while still maintaining the ability to sync them with Zotero's servers. How would these things need set up in order to accomplish this?
I would like to report a bug (at least in my case): when zotfile gets back files from a folder (sub-folder in "documents", shared with a tablet) it does NOT delete the folders and sub-folders created during the "send to tablet" process.
O.S.: Windows 7 Ultimate SP1
Zotero Standalone 4.0.8
Zotfile 3.0
this batch command works fine for me (if it can help you):
@echo off
dir /ad /b /s "C:\Users\xxx\Desktop\Dropbox\Article Tablet From zotero" |sort /r >tmp.tmp
for /f "delims=" %%a in (tmp.tmp) do rd "%%a" 2>nul
del tmp.tmp
Thank you for your Job!
UPDATE:
Another bug has been found, although it looks like an old one:
https://forums.zotero.org/discussion/27431/evernote-export-not-working/
Everytime I try to export a note and import in Evernote, Evernote shows the note with title "Undefined" and empty body. To be honest, I tried to add a note from Zotero "add note" command as well and I got the same problem; so I don't know if the issue is still related to Zotfile or to the Zotero script
Cheers
I was thinking about a function that could be implemented in your add-on; what do you think about an automatic "send to tablet" function?
This is my scenario:
I download several articles during my literature search, and they have different importance for me(based on the idea I get from abstracts); so what I am doing is To tag them like "TO READ: IMPORTANT" and "TO READ LATER" (I am using as well the colour code just implemented, so I can press just 1 or 2 to add these tags :P). After that, I created 2 "SAVED search" based on TAGS so I can collect them in 2 different virtual places and I can send them to the tablet with your addon.
Now, here comes the IDEA:
Zotfile COULD (if desired) search every X time (defined by user) in the collection for a TAG or more TAGS (I dont know if this could arise some program issue)DEFINED by user (in my case: search for "TO READ: IMPORTANT" and "TO READ LATER") and send them automatically to the main folder already defined in the option (i.e. the folder shared with dropbox), using as MAIN Subfolder the TAG and as sub-subfolders the ones already defined in options (i.e.\y\w\a).
What do you think?
Cheers
Zotero Standalone 4.0.8
Zotfile 3.0
No error message.
The desired behavior is for a maximum of three authors to be used in the file name. If an item has four or more authors, then the first three will be displayed, while the rest are truncated. The current behavior of the renaming function is to truncate down to only one author and then add the specified suffix (default to "et al"). This doesn't seem like it is intended to work this way. I would expect that the intention is to display the number of names specified in the "Maximum number of authors" option. Is this expectation incorrect? Could the extension be modified to correct this behavior?
Many thanks,
Brenton
I would like to report that the links (the ones that zotfile plugin adds at the end of every paragraph extracted from pdf notes) in the generated reports do NOT work. I tried to open them from HTML page opened with Chrome (with zotero addon) and Firefox.
O.S.: Windows 7 Ultimate SP1
Zotero Standalone 4.0.8
Zotfile 3.0
Cheers
is it normal it took ~2 min by item to rename them? Sometimes it freeze so much that I have to forceclose. And occasionaly, it took so much CPU that zotero just crash. But I can't predict which item will stop and keeps freezing. It's more a feeling, but I think it get more difficulties to remove the pdf than create the link, as when it crashes, I get a pdf (with circle-so not there) + link (fine-it's there).
On standalone 4.0.8; zotfile 3.0; Ubuntu 12.04
Librairy : 1540 items with each one link to file. No indexing. No syncing.
Strangely, I get nothing on debug windows even if it have thousands of lines registered.
Thanks
PS Edit: Forget it. I didn't remember I tried another addon "AutoZotbibExport". I deactivate it and it come back to normal.
I thought there was an option only to rename files, but as far as I see, the option also moves the file. Is it a removed feature?
Thanks.
"Error when moving the file '****.pdf' (Exception..."Component returned failure code:0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)[nsIFile.moveTo]"nsresult:"0x80520015(NS_ERROR_FILE_ACCESS_DENIED)'location:"JS frame::chrome://zotfile/content/zotfile.js::<TOP_LEVEL>::line 1375"data:no])."
"'****.pdf' Attachments skipped because they are on the tablet, top-level items, snapshots or the file does not exist."
And after that, the pdf file transforms into a link file in Zotero... and it doesn't rename itself.
Thanks! (ps. I changed user name)