EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #09582


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Error on BibTeX importer


CAUTION: This e-mail originated outside the University of Southampton.

Hi Alan,

On Tue, 30 Jan 2024 at 21:22, Alan.Stiles [He/Him/They]
<alan.stiles@open.ac.uk> wrote:
> Looking at a new 3.4.5 install on RHEL 9 and the BibTeX importer is throwing an error at me for
> Unhandled exception in Import::BibTeX: Unknown encoding 'bibtex' at /opt/eprints/flavours/pub_lib/plugins/EPrints/Plugin/Import/BibTeX.pm line 573, <$fh> line 10.
>
> Which is  https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints3.4%2Fblob%2Fcd95f5c21af9dcdfcd2efa6df88a1fc35a20597c%2Fflavours%2Fpub_lib%2Fplugins%2FEPrints%2FPlugin%2FImport%2FBibTeX.pm%23L573&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C43d88fe8bd644a72533908dc2186c6ff%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638422110576939617%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=7OXC6UYTst5WYY3sNVF9OfLDKrmYlv1AtI%2BW7nNXEkQ%3D&reserved=0
>
> $epdata = decode('bibtex', $epdata);
>
> and presumably is using the decode function in the Encode module.
>
> Anybody else seen & solved this already?
>
> Thanks,
>
> Alan
>

My first instinct is to ensure you have TeX::Encode::BibTeX
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmetacpan.org%2Fpod%2FTeX%3A%3AEncode%3A%3ABibTeX&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C43d88fe8bd644a72533908dc2186c6ff%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638422110576939617%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=8iDSxqMexV1iXVCajvPo%2FK9SyLFNGmCXN9dD%2FTCy1xc%3D&reserved=0> installed and linked.

Cheers
--
  Matthew Kerwin
  https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmatthew.kerwin.net.au%2F&data=05%7C02%7Ceprints-tech%40ecs.soton.ac.uk%7C43d88fe8bd644a72533908dc2186c6ff%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638422110576939617%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C60000%7C%7C%7C&sdata=7FJEKnblFrxz3CGQrq7%2FR4tab0eyi2G%2BkkaaqCO8bVw%3D&reserved=0