Attaching files
I am a new Zotero user and like many aspects of the program but I am having trouble attaching files to my library. When dragging and dropping PDF files into the library or when trying to work within the attachment menu to attach a file from my computer to an existing listing...the spinner appears and never stops.
I wonder if it is possibly related to the word plug-in I just added.
Thanks
I wonder if it is possibly related to the word plug-in I just added.
Thanks
If you can't provide a Report ID, you'll at least have to tell us what OS you're using.
I am on Mac OS X 10.6.5.
More specifically, I believe it is a problem in the indexing of PDF files. With large PDF files (of the 8 I just attached, the three that caused problems were 2.2 MB, 2.8 MB, and 3.9 MB), the browser goes out to lunch (in Mac, it is the rainbow spinner), and you have to force close, then restart the browser. For these files that cause a freeze, when I started Firefox back up and looked at the reference, the PDF file had been imported and associated, but the file had not been indexed. Looks like there might be a problem in PDF indexing? When I subsequently click the arrows next to the "Indexed: No" indicator for the PDF, the indexing completes just fine.
On restarting the browser, there are no error messages.
This also manifests in import of file from EndNote in RIS. I just finished rewriting the import part of RIS.js for myself, and so I did lots of testing, and in the context of imports from EndNote, once you fix it so it can figure out where the PDF files are, the import frequently goes out to lunch in the midst of imports where references have associated PDF files - when I commented out PDF import, it all worked just fine, even for large numbers of files.
If it would help, I can turn on debugging and run files through again until I get an error, and then submit that.
Thanks,
Jonathan Morgan
http://forums.zotero.org/discussion/15468/crashing-on-mac-osx/
and also sounds a lot like the problem with indexing in linux:
http://forums.zotero.org/discussion/4935/firefox-freeze-when-attaching-document/
as a start, it would be helpful to test if this goes away by removing pdfinfo - and if that doesn't help, both pdfinfo and pdftotext from the Zotero data folder.
This does sound similar to 15468 and 4935. Let me know if you want me to move subsequent responses into one of those threads.
Thanks,
Jonathan
I'll back up my library and try one of the monster imports I performance tuned RIS.js on. When I was importing, I thought this was my javascript code breaking - the current RIS.js essentially doesn't deal with EndNote PDF files well, so it almost never actually imports a PDF unless you massage the RIS file. Once I fixed that, it started crapping out whenever there were attached PDFs. On my machine, it doesn't break on all PDFs, but large PDFs and lots of PDFs in one import increase the likelihood that the import process will go out to lunch, and when that one dies, nothing is actually added to the database, so you have to start over. I took all regular expressions out of RIS.js because they seemed to exacerbate the problem - would be nice to be able to put them back in, though I need to figure out if I can get some of the changes I made moved into the real RIS.js, so that I don't have to merge changes over time.
At any rate, I'll do some more testing and see if batch import works better now, too.
Thanks,
Jonathan
In Linux it was necessary to remove both to fix this.
Getting the RIS pdf import fixed is a huge service - as I'm sure you have seen this comes up over and over again. thanks.
Would you like me to start with a fresh library and try installing my whole export at once (500+ references, probably 400 PDFs)?
Jonathan
So is the fix right now to just move the pdf* files out of the way? Is there anything I can do to help debug more substantially?
Jonathan
Let me know if there is more I can do to help.
Jonathan
Jonathan