batch import
patrick.legros - June 25, 2009 - 08:42
| Project: | Bibliography Module |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I am trying to import a bibtex file containing 16 records. Whether or not I select "batch import", there is only one record that is actually imported as a node (the first record appearing in the bibtex file). For your information, I have uploaded a pdf version of the bibtex file I am trying to upload.
| Attachment | Size |
|---|---|
| leniency.pdf | 42.39 KB |

#1
I've converted that pdf back into a text file and tested it on my system and I get 16 entries imported. Attached you will find the file that I used, try it and see if you get the same result.
#2
Thanks a lot for your quick answer. It worked but... when I tried to import another file, I got the same problem. I then deleted the nodes that had been created the first time and tried to import again the file "leniency.bib_.txt" and I got the same problem: only the first record of the file is uploaded and has a node created for it.
I tried with and without "Batch Process", with smaller files, with .bib or .txt extensions, running cron on my server, flushing the caches, etc. and sometimes I get the message that "one node has been created" (see the attached file).
#3
Hmm, very strange. Maybe something funky like running out of memory, or a file formatting issue. What hardware is your server on? Client? Anything interesting is the server logs? PHP error logs?
#4
Nothing special. I tried again tonight: i was able to upload one file completely, but when I tried with a second file, I could upload only the first record. Strange indeed.