[EP-tech] Re: Import Items errors - please help
Tim Brody
tdb2 at ecs.soton.ac.uk
Fri Mar 16 14:04:55 GMT 2012
On Fri, 2012-03-16 at 14:05 +0100, Ulf Laube wrote:
> Hi Tim,
>
> Am Freitag 16 März 2012 12:46:00 schrieb Tim Brody:
> > Hi,
> >
> > Is this pasting the bibtex content in?
> > Does it work if you upload a file instead?
>
> In both cases same error occurs :(
>
> >
> > This may be related to this issue:
> > http://trac.eprints.org/eprints/ticket/4035
>
> May be not, I'm testing with r7487 yet - same error, but PubMed-ID import
> works fine.
This should fix the issue:
http://trac.eprints.org/eprints/changeset/7508
It seems in Perl 5.10 'uc' doesn't emit a warning but does in 5.12+.
> BTW: Import from pubmed xml fails too. I'll post an extra report.
> How I can write "ep_msg_warning_content" content into a log file like
> apache_log?
Set a parameter in cfg.d/plugins.pl:
$c->{plugins}->{"Screen::Import"}->{params}->{show_stderr} = 0;
/Tim.
> ---
> settings
> eprints r7487
> opensuse 12.1 x86
> kernel 3.2.9
> apache2-prefork-2.2.21
> apache2-mod_perl-2.0.5
> mysql-community-server-5.5.16
> perl-5.14.2
> libxml2 2.7.8
> perl-XML-LibXML 1.95
> perl-libxml-perl 0.08
>
>
> > All the best,
> > Tim.
> >
> > On Thu, 2012-03-15 at 15:32 +0100, Ulf Laube wrote:
> > > Hi,
> > >
> > > Import Items from BibTeX :
> > >
> > > Unhandled warning in Import::BibTeX: Use of uninitialized value $type in
> > > uc at /opt/eprints3/perl_lib/BibTeX/Parser/Entry.pm line 17,
> > > <fh00002mybib2.bib> line 3.
> > >
> > > nl -ba mybib2.bib
> > > 1
> > > 2 @article{bla,
> > > 3 author = {Arno Nyhm},
> > > 4 title = {a revolutionary discovery},
> > > 5 journal = {The journal of Madrapour},
> > > 6 year = 1997,
> > > 7 volume = {21}
> > > 8 }
> > > 9
> > >
> > > import works well in livecd_v3.1
> > >
> > > settings:
> > > eprints-3.3.8
> > > opensuse 12.1 x86
> > > kernel 3.2.9
> > > apache2-prefork-2.2.21
> > > apache2-mod_perl-2.0.5
> > > mysql-community-server-5.5.16
> > > perl-5.14.2
> > >
> > > Thanks for help
> > > regards
> > > Ulf
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120316/b7e05453/attachment.bin
More information about the Eprints-tech
mailing list