EPrints Technical Mailing List Archive

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

Message: #07573


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

Re: [EP-tech] Eprints-Elements and the "ę"


You should post the traceback error in the log.

Il 13/11/18 15:16, James Kerwin via Eprints-tech ha scritto:
They're in the Author field. When this author has been included for other articles in the past those letters have been omitted.

On Tue, Nov 13, 2018 at 2:04 PM John Salter <J.Salter@leeds.ac.uk <mailto:J.Salter@leeds.ac.uk>> wrote:

    Are these characters in the filename, or in the author field for
    the record to which the document is being uploaded?

    *From:*James Kerwin [mailto:jkerwin2101@gmail.com
    <mailto:jkerwin2101@gmail.com>]
    *Sent:* 13 November 2018 13:59
    *To:* John Salter <J.Salter@leeds.ac.uk <mailto:J.Salter@leeds.ac.uk>>
    *Cc:* eprints-tech@ecs.soton.ac.uk
    <mailto:eprints-tech@ecs.soton.ac.uk>
    *Subject:* Re: [EP-tech] Eprints-Elements and the "ę"

    Hi John,

    It was mostly trial and error using the pointers you gave me the
    first time I had upload trouble (upload a plain text file with a
    simple filename etc). It let me upload it with me as the author
    which is when I looked towards the "special" characters.

    I've just done another upload on Test straight to EPrints (going
    around Elements and RT1/Crosswalks) including the author with
    special characters. It turns out there's both an "ę" and a "ł" (I
    thought it was an L, but it has a wiggle through the middle). Both
    letters by themselves cause the error (e.g. remove the ę it still
    happens, remove the ł it still happens, remove both and it's fine).

    The upload straight to EPrints didn't work. When I clicked next it
    gave me the error below (not sure how this mailing list handles
    images). When I exchanged the characters for their more typical
    counterparts it went on without issue.

    image.png

    I'm not an expert, but I suspect now that this may be more a
    server issue than specifically EPrints as I would expect EPrints
    to refuse to save it or give me an EPrints-style warning.

    Thanks,

    James

    On Tue, Nov 13, 2018 at 12:55 PM John Salter <J.Salter@leeds.ac.uk
    <mailto:J.Salter@leeds.ac.uk>> wrote:

        Hi James,

        If you add a record directly to EPrints, and use the character
        ę in a name (or other field), does it save OK?

        I've just tried on a 3.3.10 install, and it seems to handle
        this without any issues - which might point to the issue being
        elsewhere.

        Is there anything in the error logs regarding this - or was it
        a trial-and-error approach to find the cause of the problems?

        Cheers,

        John

        *From:*eprints-tech-bounces@ecs.soton.ac.uk
        <mailto:eprints-tech-bounces@ecs.soton.ac.uk>
        [mailto:eprints-tech-bounces@ecs.soton.ac.uk
        <mailto:eprints-tech-bounces@ecs.soton.ac.uk>] *On Behalf Of
        *James Kerwin via Eprints-tech
        *Sent:* 13 November 2018 12:16
        *To:* eprints-tech@ecs.soton.ac.uk
        <mailto:eprints-tech@ecs.soton.ac.uk>
        *Subject:* [EP-tech] Eprints-Elements and the "ę"

        Hi all,

        We have Elements and EPrints. Recently an article couldn't be
        uploaded to EPrints from Elements. After a fair bit of messing
        around, I've worked out the letter "/ę" /is preventing the
        file upload (I removed the author with this letter and the
        file went on without a problem).

        Unfortunately, this means the problem is with EPrints. Does
        anybody know of a straight-forward way of getting this to work
        without necessarily changing the spelling of the author's name?

        I found this which I think might be my answer, but we're using
        3.3.14 so maybe there is another solution?

        https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FFix_for_better_UTF8_support&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfcbd50573e24678fdbc08d64974720d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=7DXkOmU2jmbAWciAsLa74TLeDYeCP3ygpJWZ8%2BLXu5k%3D&amp;reserved=0
        <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FFix_for_better_UTF8_support&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfcbd50573e24678fdbc08d64974720d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=7DXkOmU2jmbAWciAsLa74TLeDYeCP3ygpJWZ8%2BLXu5k%3D&amp;reserved=0>

        All advice and guidance greatly appreciated as ever!

        Thanks,

        James


*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfcbd50573e24678fdbc08d64974720d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=ou62EfuNexoX2RMxqkGbfwLIiAzsQk%2FJweMQHOA80Fc%3D&amp;reserved=0
*** EPrints community wiki: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfcbd50573e24678fdbc08d64974720d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=e6167QNG4M65dg7%2B37XF5uDIRxLkJncKYPCmEPzMp%2FQ%3D&amp;reserved=0
*** EPrints developers Forum: https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfcbd50573e24678fdbc08d64974720d%7C4a5378f929f44d3ebe89669d03ada9d8%7C1&amp;sdata=C60FzYZxY62g%2FiN6ke%2BnP5nqQquNGwquXWoLq%2BEVboo%3D&amp;reserved=0