<div dir="ltr">To answer my question regarding weird Elements behaviour...<div><br></div><div>It was a <b>custom</b> script on the EPrints side. It couldn't decode the special character. This particular script kicks in before the item is fully deposited. Embarrassingly, this isn't the first time I've been caught out by this, but there we are!</div><div><br></div><div>Thanks,</div><div>James</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 4, 2020 at 4:47 PM James Kerwin via Eprints-tech <<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Afternoon fellow EPrints enthusiasts,<br><div><br></div><div>I hope we're all well and handling the weirdness in suitable ways.</div><div><br></div><div>I've got a problem with an item being uploaded to EPrints from Elements via RT1.</div><div><br></div><div>It fails. It's specifically related to the Elements record, not the file, user, server etc.</div><div><br></div><div>I THINK it's an encoding problem with an EN DASH (<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.fileformat.info%2Finfo%2Funicode%2Fchar%2F2013%2Findex.htm&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=GjNwqTgCZ1V0fdzI8xl24iIk%2FTADN4%2FVRQJiDjRHu7Q%3D&reserved=0" originalSrc="https://www.fileformat.info/info/unicode/char/2013/index.htm" shash="wOUNBrq7cm6vvYWREMzdIkqjOHmRTG19B+hodxLOrV7QVF8c7n4dH8Sch/C2R3UfzzwC/w5QD6H4HyTC2IU3F4GJij19sDj27NfpeqZI4R1WHPMlGeqculKyeFpK2A0O4o9K4nfK2kQJ3/dpHnMnAqZsY1TX/zU8aX2xbAI+flo=" target="_blank">https://www.fileformat.info/info/unicode/char/2013/index.htm</a>). I'll attach the error log details at the bottom of this email.</div><div><br></div><div>In elements the record has this message:</div><div><br></div><div><div><img src="cid:ii_kdg3ztag0" alt="image.png" width="472" height="133"><br></div></div><div><br></div><div>I think it's this "–" on the first line between"Share Link" and "a personalized". Has anybody experienced something similar and am I likely on the right track? I know I SHOULD raise a ticket with Symplectic, but a more timely solution might involve me trying to fix it on the EPrints side.</div><div><br></div><div>Thanks,</div><div>James</div><div><br></div><div>Apache Log Error (specifically the bits in <b>bold</b>):</div><div><br></div><div>[Tue Aug 04 14:47:05.676639 2020] [perl:error] [pid 1624] [client <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2F138.253.242.19%3A52591%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=qY4Rckq%2FxtSmUdyrTI1b%2Be0q3aFvNoVKB5vZWztAqDI%3D&reserved=0" originalSrc="http://138.253.242.19:52591/" shash="OWNXed97w3Lf6/KqcZu6Q5oZXONKZSo7QTSfgu7v2Sy+dPiz62Pr6mjUk+QFnjA8iXuDZe+yLQ6qzVBug+/CJODeAlViL30ITMgiwOVxlNLjXXPuXNB7D8ogNYl5ewZAnK1eoRsHHXDSh+ZZ26MGEjZhLD+0HVmdoa7Ki9D1NdU=" target="_blank">138.253.242.19:52591</a>] <b>Can't escape \\x{2013}, try uri_escape_utf8() instead at /opt/eprints3/perl_lib/URI/Escape.pm line 178.\n\tURI::Escape::_fail_hi('\xe2\x80\x93') called at /opt/eprints3/perl_lib/URI/Escape.pm line 171\n\tURI::Escape::uri_escape('To help you and the other authors access and share this work,...')</b> called at (eval 176) line 81\n\tEPrints::Config::uolrepo::__ANON__('changed', 'HASH(0x7f78200a4da0)', 'repository', 'Symplectic::Wrappers::EPrintsSession=HASH(0x7f78184983d0)', 'dataobj', 'EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)', 'dataset', 'EPrints::DataSet=HASH(0x7f7818810388)') called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 1517\n\tEPrints::DataSet::run_trigger('EPrints::DataSet=HASH(0x7f7818810388)', 105, 'dataobj', 'EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)', 'changed', 'HASH(0x7f78200a4da0)') called at /opt/eprints3/perl_lib/EPrints/DataObj.pm line 669\n\tEPrints::DataObj::commit('EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)', undef) called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 1011\n\tEPrints::DataObj::EPrint::commit('EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)') called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/MetadataManager.pm line 355\n\tSymplectic::RepoProcess::MetadataManager::add_preferred_bibliographic('Symplectic::RepoProcess::MetadataManager=HASH(0x7f7819599098)', 'eprint', 'EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)', 'raw_record', 'XML::LibXML::Document=SCALAR(0x7f781f9e8428)', 'types', 'ARRAY(0x7f7816b18f28)', 'limit_to', 'ARRAY(0x7f78197d7540)', ...) called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/MetadataManager.pm line 240\n\tSymplectic::RepoProcess::MetadataManager::add_bibliographic('Symplectic::RepoProcess::MetadataManager=HASH(0x7f7819599098)', 'eprint', 'EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)', 'publication', 'Symplectic::PubsModel::Publication=HASH(0x7f781eed8c58)') called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/IngestWorkflow.pm line 203\n\tSymplectic::RepoProcess::IngestWorkflow::update_metadata('Symplectic::RepoProcess::IngestWorkflow=HASH(0x7f78190f0d70)', 'eprint', 'EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)', 'publication', 'Symplectic::PubsModel::Publication=HASH(0x7f781eed8c58)', 'auth_details', 'Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)', 'record', 'Symplectic::RepoModel::PublicationsRecord=HASH(0x7f78203b7e00)', ...) called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/PublicationManager.pm line 65\n\tSymplectic::RepoProcess::PublicationManager::get_deposit_representation('Symplectic::RepoProcess::PublicationManager=HASH(0x7f781ef580c0)', 'publication', 'Symplectic::PubsModel::Publication=HASH(0x7f781eed8c58)', 'auth_details', 'Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)') called at /opt/eprints3/perl_lib/Symplectic/Process/FileDepositProcessor.pm line 148\n\tSymplectic::Process::FileDepositProcessor::handle('Symplectic::Process::FileDepositProcessor=HASH(0x7f781f8d8da8)', 'pid', 399719, 'auth_details', 'Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)', 'deposit_props', 'Symplectic::PubsModel::DepositProperties=HASH(0x7f781f9d31b0)', 'atom', 'CGI::File::Temp=GLOB(0x7f781ee18a08)', ...) called at /opt/eprints3/perl_lib/Symplectic/Handlers/RepositoryHandler.pm line 235\n\tSymplectic::Handlers::RepositoryHandler::post_handler('session', 'Symplectic::Wrappers::EPrintsSession=HASH(0x7f78184983d0)', 'request', 'Apache2::RequestRec=SCALAR(0x7f7820161f00)', 'auth_details', 'Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)') called at /opt/eprints3/perl_lib/Symplectic/Handlers/RepositoryHandler.pm line 109\n\tSymplectic::Handlers::RepositoryHandler::handler_multi('Apache2::RequestRec=SCALAR(0x7f7820161f00)', undef) called at /opt/eprints3/perl_lib/Symplectic/Apache/Rewrite.pm line 98\n\tSymplectic::Apache::Rewrite::__ANON__('Apache2::RequestRec=SCALAR(0x7f7820161f00)') called at -e line 0\n\teval {...} called at -e line 0\n<br></div><div><br></div></div>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=llRm0qSRTSMqQ4OVgxYTv%2Fv38483d%2FP3T3YlYI8ot5c%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="fF6LZs+tz2uEnR3vmTJwazSARcH74VUthhRnyODp9/JDgEjd6yYKjYGxJMCyWNO9L1LKq/TtttWVXEvgboY2LnYfS/gW6ft8pEUFN5FqbX8uvp0F8qCkToVl6W+7rllNGL12k+c1z83i7R/9HSD/WC7CXrdCrlRgKXu1ZKpLfMY=" rel="noreferrer" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=RKHBEo47DqBruSXlYlpE0DnnnyKg8unYXjylrblgyd8%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="ccln43rN77lri3LZw2WSA7AAcvplSANZWAXoirJF422r4S8lRji0lGAip7vVuF90XmeaXMZLnlWYRZRK65OulIiYgywIY/I8gb9r2lj/2yLNm+KFFJMyCraNAl3j+vduLNXa7zTpfc8JaiA2jkc9Kt8YTpfpDzLi3uFWYSkG8cg=" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a></blockquote></div>