<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&#39;t decode the special character. This particular script kicks in before the item is fully deposited. Embarrassingly, this isn&#39;t the first time I&#39;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 &lt;<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>&gt; 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&#39;re all well and handling the weirdness in suitable ways.</div><div><br></div><div>I&#39;ve got a problem with an item being uploaded to EPrints from Elements via RT1.</div><div><br></div><div>It fails. It&#39;s specifically related to the Elements record, not the file, user, server etc.</div><div><br></div><div>I THINK it&#39;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&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=GjNwqTgCZ1V0fdzI8xl24iIk%2FTADN4%2FVRQJiDjRHu7Q%3D&amp;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&#39;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&#39;s this &quot;–&quot; on the first line between&quot;Share Link&quot; and &quot;a personalized&quot;. 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&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=qY4Rckq%2FxtSmUdyrTI1b%2Be0q3aFvNoVKB5vZWztAqDI%3D&amp;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&#39;t escape \\x{2013}, try uri_escape_utf8() instead at /opt/eprints3/perl_lib/URI/Escape.pm line 178.\n\tURI::Escape::_fail_hi(&#39;\xe2\x80\x93&#39;) called at /opt/eprints3/perl_lib/URI/Escape.pm line 171\n\tURI::Escape::uri_escape(&#39;To help you and the other authors access and share this work,...&#39;)</b> called at (eval 176) line 81\n\tEPrints::Config::uolrepo::__ANON__(&#39;changed&#39;, &#39;HASH(0x7f78200a4da0)&#39;, &#39;repository&#39;, &#39;Symplectic::Wrappers::EPrintsSession=HASH(0x7f78184983d0)&#39;, &#39;dataobj&#39;, &#39;EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)&#39;, &#39;dataset&#39;, &#39;EPrints::DataSet=HASH(0x7f7818810388)&#39;) called at /opt/eprints3/perl_lib/EPrints/DataSet.pm line 1517\n\tEPrints::DataSet::run_trigger(&#39;EPrints::DataSet=HASH(0x7f7818810388)&#39;, 105, &#39;dataobj&#39;, &#39;EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)&#39;, &#39;changed&#39;, &#39;HASH(0x7f78200a4da0)&#39;) called at /opt/eprints3/perl_lib/EPrints/DataObj.pm line 669\n\tEPrints::DataObj::commit(&#39;EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)&#39;, undef) called at /opt/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 1011\n\tEPrints::DataObj::EPrint::commit(&#39;EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)&#39;) called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/MetadataManager.pm line 355\n\tSymplectic::RepoProcess::MetadataManager::add_preferred_bibliographic(&#39;Symplectic::RepoProcess::MetadataManager=HASH(0x7f7819599098)&#39;, &#39;eprint&#39;, &#39;EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)&#39;, &#39;raw_record&#39;, &#39;XML::LibXML::Document=SCALAR(0x7f781f9e8428)&#39;, &#39;types&#39;, &#39;ARRAY(0x7f7816b18f28)&#39;, &#39;limit_to&#39;, &#39;ARRAY(0x7f78197d7540)&#39;, ...) called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/MetadataManager.pm line 240\n\tSymplectic::RepoProcess::MetadataManager::add_bibliographic(&#39;Symplectic::RepoProcess::MetadataManager=HASH(0x7f7819599098)&#39;, &#39;eprint&#39;, &#39;EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)&#39;, &#39;publication&#39;, &#39;Symplectic::PubsModel::Publication=HASH(0x7f781eed8c58)&#39;) called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/IngestWorkflow.pm line 203\n\tSymplectic::RepoProcess::IngestWorkflow::update_metadata(&#39;Symplectic::RepoProcess::IngestWorkflow=HASH(0x7f78190f0d70)&#39;, &#39;eprint&#39;, &#39;EPrints::DataObj::EPrint=HASH(0x7f781ef5cf60)&#39;, &#39;publication&#39;, &#39;Symplectic::PubsModel::Publication=HASH(0x7f781eed8c58)&#39;, &#39;auth_details&#39;, &#39;Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)&#39;, &#39;record&#39;, &#39;Symplectic::RepoModel::PublicationsRecord=HASH(0x7f78203b7e00)&#39;, ...) called at /opt/eprints3/perl_lib/Symplectic/RepoProcess/PublicationManager.pm line 65\n\tSymplectic::RepoProcess::PublicationManager::get_deposit_representation(&#39;Symplectic::RepoProcess::PublicationManager=HASH(0x7f781ef580c0)&#39;, &#39;publication&#39;, &#39;Symplectic::PubsModel::Publication=HASH(0x7f781eed8c58)&#39;, &#39;auth_details&#39;, &#39;Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)&#39;) called at /opt/eprints3/perl_lib/Symplectic/Process/FileDepositProcessor.pm line 148\n\tSymplectic::Process::FileDepositProcessor::handle(&#39;Symplectic::Process::FileDepositProcessor=HASH(0x7f781f8d8da8)&#39;, &#39;pid&#39;, 399719, &#39;auth_details&#39;, &#39;Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)&#39;, &#39;deposit_props&#39;, &#39;Symplectic::PubsModel::DepositProperties=HASH(0x7f781f9d31b0)&#39;, &#39;atom&#39;, &#39;CGI::File::Temp=GLOB(0x7f781ee18a08)&#39;, ...) called at /opt/eprints3/perl_lib/Symplectic/Handlers/RepositoryHandler.pm line 235\n\tSymplectic::Handlers::RepositoryHandler::post_handler(&#39;session&#39;, &#39;Symplectic::Wrappers::EPrintsSession=HASH(0x7f78184983d0)&#39;, &#39;request&#39;, &#39;Apache2::RequestRec=SCALAR(0x7f7820161f00)&#39;, &#39;auth_details&#39;, &#39;Symplectic::PubsModel::AuthDetails=HASH(0x7f782001cb68)&#39;) called at /opt/eprints3/perl_lib/Symplectic/Handlers/RepositoryHandler.pm line 109\n\tSymplectic::Handlers::RepositoryHandler::handler_multi(&#39;Apache2::RequestRec=SCALAR(0x7f7820161f00)&#39;, undef) called at /opt/eprints3/perl_lib/Symplectic/Apache/Rewrite.pm line 98\n\tSymplectic::Apache::Rewrite::__ANON__(&#39;Apache2::RequestRec=SCALAR(0x7f7820161f00)&#39;) 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&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=llRm0qSRTSMqQ4OVgxYTv%2Fv38483d%2FP3T3YlYI8ot5c%3D&amp;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&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Caf023dda9cda44ba3b7d08d8482b91b6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=RKHBEo47DqBruSXlYlpE0DnnnyKg8unYXjylrblgyd8%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="ccln43rN77lri3LZw2WSA7AAcvplSANZWAXoirJF422r4S8lRji0lGAip7vVuF90XmeaXMZLnlWYRZRK65OulIiYgywIY/I8gb9r2lj/2yLNm+KFFJMyCraNAl3j+vduLNXa7zTpfc8JaiA2jkc9Kt8YTpfpDzLi3uFWYSkG8cg=" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a></blockquote></div>