Opening BibTeX file instead of importing
With Zotero 1.0.10, when I select a BibTeX file for importing, the file is presented for opening/download, but not imported.
First, a popup window with a progress bar appears. And a collection for the import is created. But then the download dialog is presented, the progress bar stays open forever and not items actuall get imported.
First, a popup window with a progress bar appears. And a collection for the import is created. But then the download dialog is presented, the progress bar stays open forever and not items actuall get imported.
I have exactly the same problem since the update to 1.0.10. It is a big issue not to be able to import bib files anymore.
configuration
windows XP
firefox 3.0
zotero 1.0.10
Since many bibliography management tools speak BibTeX, this is probably one of the most important exchange formats between Zotero and other tools.
Does this happen if you pick a random item in Zotero, export to BibTeX, and re-import? If not, can you isolate a particular record or set of records in the BibTeX file that causes the problem? (Cut it by halves, repeating with the failing half each time.)
I tried to strip off anything that I could imagine that could cause troubles, like umlauts, non-standard bibtex fields, uppercase spelling, etc. Zotero still fails. I even ran bibclean on the file, still doesn’t work.
I post the content here, maybe someone has any clue why this fails:
@incollection{ilyin06,
author = {Ilyin, Vladimir},
title = {Religiositat als Faktor fur die Immigrationspraxis ethnischer Deutscher
in die Bundesrepublik Deutschland},
booktitle = {Zuhause fremd - Russlanddeutsche zwischen Russland und Deutschland},
publisher = {transcript Verlag},
year = {2006},
editor = {Kaiser, Markus},
pages = {275-304},
address = {Bielefeld},
}
zotero(4): Translate: Parsing code for BibTeX
A random Zotero-exported .bib did not spawn a hidden window.zotero(4): Translate: Setting configure option dataMode to block
zotero(4): Translate: Setting display option exportCharset to UTF-8
zotero(3): created hidden browser (2)
GCJ PLUGIN: thread 0x621db0: NP_GetMIMEDescription
GCJ PLUGIN: thread 0x621db0: NP_GetMIMEDescription return
GCJ PLUGIN: thread 0x621db0: NP_GetValue
GCJ PLUGIN: thread 0x621db0: NP_GetValue: returning plugin name.
GCJ PLUGIN: thread 0x621db0: NP_GetValue return
GCJ PLUGIN: thread 0x621db0: NP_GetValue
GCJ PLUGIN: thread 0x621db0: NP_GetValue: returning plugin description.
GCJ PLUGIN: thread 0x621db0: NP_GetValue return
$ file Exported\ Items.bib
But not so with ascii files:Exported Items.bib: Unicode text, UTF-8
$ file -i Exported\ Items.bib
Exported Items.bib: text/plain; charset=utf-8
$ file broken.bib
Changing the file to UTF-8 w/ BOM:broken.bib: BibTeX text file
$ file -i broken.bib
broken.bib: text/plain; charset=us-ascii
$ uconv --add-signature broken.bib >fixed.bib && file fixed.bib
leads to successful import (as does importing from the clipboard).fixed.bib: Unicode text, UTF-8
$ file -i fixed.bib
fixed.bib: text/plain; charset=utf-8
I have got a trouble while importing a bib-file to Zotero 2.0b6 on Firefox 3.0.11. I was playing with Firefox action on opening bib-files from web pages hoping that Zotero catches them and automatically import. However, it is not the case.
Moreover, Zotero has stopped to import bib-files from my hard disk -- after import progress window shows up, a standard dialog appears asking to save(!) bib-file or to open it by a program. The progress window is hanging forever, so I need to restart Firefox to close it.
I have tried to reinstall Zotero, but it didn't help. I guess it is a problem of Firefox reaction on bib-files -- after I have tried to open a bib-file from the web by Firefox instead of saving it to hard disk, a Zotero setting has been removed. Now I have no idea how I can find the setting to fix it.
PS.
It must be simple, and the developers know how they set up the extension and Firefox to import bib-files (smth like intercepting them... or whatever). After one changes file-type setting, that rule is lost. So the question is -- how to put it back (preferably automatically).
Before it get fixed, I have to import my bib-files via clipboard -- not much difficult, though.
(iglesia: That'd be a separate issue—and suggest that the import setting wasn't actually working properly for non-Unicode character sets. If that's the case, please start a new thread.)