[EP-tech] Elemnets Message - Encoding - EN Dash

James Kerwin jkerwin2101 at gmail.com
Tue Aug 4 16:47:18 BST 2020


Afternoon fellow EPrints enthusiasts,

I hope we're all well and handling the weirdness in suitable ways.

I've got a problem with an item being uploaded to EPrints from Elements via
RT1.

It fails. It's specifically related to the Elements record, not the file,
user, server etc.

I THINK it's an encoding problem with an EN DASH (
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%7C28d884d1f0424c52826908d8388db349%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=vraw5Iqpdm0%2BqtNNo8fFhNIGqZLbvLrULlF44O0y94E%3D&reserved=0). I'll attach
the error log details at the bottom of this email.

In elements the record has this message:

[image: image.png]

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.

Thanks,
James

Apache Log Error (specifically the bits in *bold*):

[Tue Aug 04 14:47:05.676639 2020] [perl:error] [pid 1624] [client
138.253.242.19:52591] *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,...')* 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200804/3f9de52e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 51768 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200804/3f9de52e/attachment-0001.png 


More information about the Eprints-tech mailing list