[Koha-bugs] [Bug 1926] Error on bulk marc import from file (staged)

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Thu Oct 9 23:00:28 CEST 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1926





------- Comment #4 from costas.magnuse at gmail.com  2008-10-09 14:00 -------
What was your global admin setting you had to change in order to correct the
problem?


==============

I uploaded, staged and imported a file with records that contain amongst other
MANY titles the word "Ευρωαπαϊκή" (it means European) as a title of a
book.
After that, any catalog search that contains a word that was in that file gives
me the error page:

Error:  Can't call method "as_usmarc" on an undefined value at
/usr/share/koha/lib/C4/Search.pm line 2133.

I undid the import but nothing happened.

The BIG problem is that it contained many many widely used words like
"economics" or "environment" or "statistics". So now that I search for these
words I get the same error page.

Could you please provide me with a work around in order to remove this staged
file please?

########
Way to reproduce:
########
Download: http://costis.name/eu2.marc : this file contains various entries
amongst them
there is a book written by McCann, and in a later line another book that
contains the string "Ευρωπαϊκ" in its title, written by "Μούσης".

1. I have a clean installation of koha and import eu2.marc
2. I search for McCann, and I get the result I should
3. I search for Μούσης and I get the error (Error:  Can't call method
"as_usmarc" on an undefined value at /usr/share/koha/lib/C4/Search.pm line
2133.)
4. I search for McCann, and I get the same Error!... Isn't it weird that I did
not get it in step 2?

How could i resolve this?

########
Unsuccessful solution:
########
In the database, I removed from the import_batches table the entries of
the import_batch_id 13,14,15 (these correspond to the files that contained the
entries with the diacritics and are like the eu2.marc file), but the problem
persists. What else should I do ?




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Koha-bugs mailing list