Closed (outdated)
Project:
Bibliography Module
Version:
6.x-1.14
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2009 at 15:24 UTC
Updated:
21 Dec 2018 at 19:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rjerome commentedMust be a problem with the file, could you post it here, or contact me via my contact page.
Ron.
Comment #2
nschloe commentedHi,
there were duplicate entries in the BibTeX list which I think caused the problem -- at least I get no such error anymore when removing the duplicates.
That's easily fixed, but I suppose it'd still be worthwhile adding some more verbose error or warning about this into the module.
Cheers,
Nico
Comment #3
rjerome commentedThe duplicates themselves shouldn't have caused the problem, I suspect there was something else going on in that file as well. If you send me a copy, maybe I can figure out what the problem was.
Ron.
Comment #4
nschloe commentedAlright, so here you go! :)
(had to rename the file to
.txtto work-around upload restrictions)Comment #5
jayakawale commentedHi,
I face the same problem when I upload an RIS file. I get the same error. What could the issue be ? I am sure I have no duplicates.
Thanks,
Jaya
Comment #6
rjerome commentedI was able to import the file, BUT I have to admit that the first time I tried, I forgot to select the file type (BibTex) and it produced the error you mention. It seems to me an error used to be generated if you didn't select a file type, I have to look to see what happened to that.
Ron.
Comment #7
rjerome commentedOk, I fixed the form so that an error is generated if no file type is supplied.
http://drupal.org/cvs?commit=270512
Comment #8
jayakawale commentedHi Ron,
Please find attached my RIS file. I selected RIS but somehow always get an error when I do bulk imports. Can you please help me with this.
Thanks,
Jaya
Comment #9
rjerome commentedHi Jaya,
That is not a well formed RIS file. There should be two spaces before the "-" character separating the tag from the data...
Your file has:
it should be:
What software produced that file?
Ron.
Comment #10
adamjosef commentedHi Ron,
I have the same problem as the guy in the first post. I have new, clean install of drupal and biblio, clean bibtex database with no duplicates (about 1500 entries) and I cannot import it at all. Without batch processing my server goes down with internal server error and with batch its line 286 (271 in dev version) problem in biblio.import.export.inc.
Database is uploaded but no nodes were saved... Im sending you link to that bibtex database via your contact page. Any help greatly appreciated. Thank you.
Comment #11
lukasc commentedHi,
I have also been having the same error, except that it is in line 292. I have a BibTeX library with 5000 entries and it fails. I then split it in two, and one works, but not the other half. I keep going, splitting in two until I get all uploaded. However, I never actually find the problem. Strangest of all, it is not consistent: I delete all biblio nodes and try again, and the next time, it is a different set of problems. I have even had it work in a set of 2, whereas in the initial failure I had to split it 5 times!
Would it be possible to add some diagnostics here? Which biblio entry causes the error, for example?
thank you.
Comment #12
rjerome commentedLine 292 in version 1.14 is "effectively" the same line as line 267 in the original post, the changes between versions have added some lines above this bit of code.
I can certainly put a "check" in on that line to determine if the array has any values prior to trying to iterate through it.
I suspect this might already be fixed in the 6.x-1.x-dev version and it would be great if you could test it out on your system with that large (5000 entry) file.
Ron.
Comment #13
lukasc commentedI tried using the new version (6.x-2.x-dev), but this time, 2500 records works, but 5000 doesn't. The error is different: "Import finished with an error! 0 nodes imported".
Should I try with the 1.x-dev?
Comment #14
rjerome commentedYes, I was referring to the 1.x-dev in the previous post.
Comment #15
lukasc commentedHi Ron,
I have not been able to fix this error for me in the last 3 months unfortunately. I have tried a few different versions, splitting the files, etc.
Here is the current error:
An error has occurred. Please continue to the error page
An HTTP error 0 occurred. /batch?id=117&op=do
"Import finished with an error! 0 nodes imported."
The file is 8 MB, so takes about 30 minutes of "Parsing".
The BIB file is the following: http://ece.ubc.ca/~lukasc/ECE27unix.bib
Thank you
Lukas
Comment #16
rjerome commentedHi Lukas,
There is some extraneous data at the beginning and end of that file which may be causing some problems.
I cut a few entries out of the top of the file and the seemed to import ok, so the actual bibtex format is fine. You might want to chop it up into more digestible size pieces also.
Ron.
Comment #17
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.