Hi there. Today i've tried to upgrade the Koha but before installing i've run the command "make test" and obtained the following error: t/Record.t .......................... 1/10 Use of uninitialized value in substr at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 498. substr outside of string at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 498. Use of uninitialized value $enc in string eq at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 500. Use of uninitialized value $enc in string eq at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 500. Use of uninitialized value $enc in string eq at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 502. Use of uninitialized value $enc in concatenation (.) or string at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 505. Use of uninitialized value in concatenation (.) or string at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 505. Use of uninitialized value $MARC::File::ERROR in concatenation (.) or string at /home/vfernandes/kohasources/koha-3.02.03/blib/PERL_MODULE_DIR/C4/Record.pm line 132. Can't locate object method "warnings" via package "Unsupported UNIMARC character encoding [] for XML output for UNIMARC; 100$a -> at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 505. " (perhaps you forgot to load "Unsupported UNIMARC character encoding [] for XML output for UNIMARC; 100$a -> at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 505. "?) at /home/vfernandes/kohasources/koha-3.02.03/blib/PERL_MODULE_DIR/C4/Record.pm line 134. # Looks like you planned 10 tests but ran 2. # Looks like your test exited with 255 just after 2. t/Record.t .......................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 8/10 subtests After that I've updated by Cpan the package MARC::Record but the error remains the same. There is a bug with the new version installer/update? Regards. Vitor Fernandes
Hi Vitor, On Mon, Jan 24, 2011 at 5:39 AM, Vitor Fernandes <vitorfernandes87@gmail.com
wrote:
Hi there.
Today i've tried to upgrade the Koha but before installing i've run the command "make test" and obtained the following error:
<snip>
After that I've updated by Cpan the package MARC::Record but the error remains the same. There is a bug with the new version installer/update?
There don't appear to be any problems with tests failing in the 3.2.x branch from which the latest 3.2.3 release was made: http://bugs.koha-community.org:8080/job/Koha_3.2.x/ I have also run them on my staging server: cnighs@li24-93:~/koha.3.2.test (3.2.x)$ perl t/Record.t 1..10 ok 1 - use C4::Record; ok 2 - error works ok 3 - testing marc2xml ok 4 - testing marc2xml ok 5 - testing xml2marc ok 6 - testing marc2dcxml ok 7 - testing marcQualified ok 8 - testing marc2mosxml ok 9 - testing bibtex ok 10 - Html umlauts cnighs@li24-93:~/koha.3.2.test (3.2.x)$ Kind Regards, Chris
There don't appear to be any problems with tests failing in the 3.2.x branch from which the latest 3.2.3 release was made:
http://bugs.koha-community.org:8080/job/Koha_3.2.x/
I have also run them on my staging server:
cnighs@li24-93:~/koha.3.2.test (3.2.x)$ perl t/Record.t 1..10 ok 1 - use C4::Record; ok 2 - error works ok 3 - testing marc2xml ok 4 - testing marc2xml ok 5 - testing xml2marc ok 6 - testing marc2dcxml ok 7 - testing marcQualified ok 8 - testing marc2mosxml ok 9 - testing bibtex ok 10 - Html umlauts cnighs@li24-93:~/koha.3.2.test (3.2.x)$
The same for the master branch http://hudson.koha-community.org/job/Koha_Master/ rorohiko:[git/kcmaster-]:~/git/koha% perl t/Record.t 1..10 ok 1 - use C4::Record; ok 2 - error works ok 3 - testing marc2xml ok 4 - testing marc2xml ok 5 - testing xml2marc ok 6 - testing marc2dcxml ok 7 - testing marcQualified ok 8 - testing marc2mosxml ok 9 - testing bibtex ok 10 - Html umlauts Chris
Hi Vitor, On Jan 24, 2011, at 5:39 AM, Vitor Fernandes wrote:
Today i've tried to upgrade the Koha but before installing i've run the command "make test" and obtained the following error:
t/Record.t .......................... 1/10 Use of uninitialized value in substr at /usr/local/share/perl/5.10.1/MARC/File/XML.pm line 498. [snip]
What version of the MARC::File::XML module do you have installed? And are you a UNIMARC or MARC21 user? Regards, Galen -- Galen Charlton VP, Data Services Equinox Software, Inc. / Your Library's Guide to Open Source email: gmc@esilibrary.com direct: +1 352-215-7548 skype: gmcharlt web: http://www.esilibrary.com/
participants (4)
-
Chris Cormack -
Chris Nighswonger -
Galen Charlton -
Vitor Fernandes