EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #00501
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Eprints error Language code unknown
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Eprints error Language code unknown
- From: Ігор Ростиславович <admin@oa.edu.ua>
- Date: Fri, 4 May 2012 14:13:54 +0300
Ok. Thanks. I loked at that table...I use 2 languages on the site. English and Ukrainian. uk on my site is Ukrainian language. What defaultlanguage property do? I didn't find any changes on the site after setting it on "en" (Just on the search).
--
Ihor
2012/5/4 Sebastien Francois <sf2@ecs.soton.ac.uk>
Hi Igor,
Ha good!.. in 3.3.8, we didn't use the Xapian Stemmer (the thing that brought the error in 3.3.9) so it makes sense that it worked then. Generally 'uk' is not a valid language code (the language is English aka 'en'). See http://en.wikipedia.org/wiki/ISO_639.
I don't know what goes wrong in the advanced search / creators (note that Xapian only deals with the simple search, not the advanced one). Perhaps Tim B will have something to say on that one.
Seb.$c->{defaultlanguage} = 'en'; , and now it's work!
Thanks! I changed to enIn previous version (3.3.8) my defaultlanguage was set to uk and works normal too. Interesting... =)Is it ok If my default lang is uk and I set en?
On 03/05/12 18:52, Ігор Ростиславович wrote:Also, I found one more problem in Xapian. When I try to search in the field Creators in Cyrillic it show me 0 results. In English it's ok.You can try here: http://eprints.oa.edu.ua/cgi/search/advanced--Ihor
2012/5/3 Ігор Ростиславович <admin@oa.edu.ua>
Thanks! I changed to en $c->{defaultlanguage} = 'en'; , and now it's work!In previous version (3.3.8) my defaultlanguage was set to uk and works normal too. Interesting... =)Is it ok If my default lang is uk and I set en?--Ihor
2012/5/3 Sebastien Francois <sf2@ecs.soton.ac.uk>
I reproduced the error, try applying:
http://trac.eprints.org/eprints/changeset/7676
However, change your default language to something else than 'uk' ;-)
Seb.
On 03/05/12 15:10, Ігор Ростиславович wrote:*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-techHello. I had upgrade eprints to 3.3.9 from 3.3.8.After upgrade, fast search stop work. When I type something it shows me: Internal Server ErrorIn error logs i see: [error] Exception: Language code uk unknown How can I fix it? Thanks.
*** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
- Follow-Ups:
- [EP-tech] Re: Eprints error Language code unknown
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Eprints error Language code unknown
- References:
- [EP-tech] Re: Eprints error Language code unknown
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Eprints error Language code unknown
- From: Ігор Ростиславович <admin@oa.edu.ua>
- [EP-tech] Re: Eprints error Language code unknown
- From: Ігор Ростиславович <admin@oa.edu.ua>
- [EP-tech] Re: Eprints error Language code unknown
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Eprints error Language code unknown
- From: Ігор Ростиславович <admin@oa.edu.ua>
- [EP-tech] Re: Eprints error Language code unknown
- Prev by Date: [EP-tech] bugreport 3.3.9
- Next by Date: [EP-tech] Re: Eprints error Language code unknown
- Previous by thread: [EP-tech] Re: Eprints error Language code unknown
- Next by thread: [EP-tech] Re: Eprints error Language code unknown
- Index(es):