GithubHelp home page GithubHelp logo

Harvest hangs on UTF-8 errors about metha HOT 6 CLOSED

miku avatar miku commented on May 23, 2024
Harvest hangs on UTF-8 errors

from metha.

Comments (6)

miku avatar miku commented on May 23, 2024

Thank for the bug report!

is it intentional that harvesting hangs when invalid UTF-8 is encountered

No, not intentional.

If it is possible, it would be nice if harvesting could continue even in the case of UTF-8 errors

Yes, this might be a good idea. Do you have an example endpoint URL, where this problem occurs?

from metha.

miku avatar miku commented on May 23, 2024

@mjlassila, I actually found one example endpoint myself:

$ metha-sync http://firstmonday.org/ojs/index.php/fm/oai
....
2016/11/24 17:29:40 http://firstmonday.org/ojs/index.php/fm/oai?from=2...
2016/11/24 17:29:41 XML syntax error on line 273: invalid UTF-8

Firefox doesn't like it either, XML Parsing Error: not well-formed.

	<dc:creator>Lugano, Giuseppe; University of Jyv�skyl�</dc:creator>
-------------------------------------------------------^

from metha.

mjlassila avatar mjlassila commented on May 23, 2024

Unfortunately the endpoint I'm using is in access restricted network but I'm glad that you found a suitable open endpoint for testing.

from metha.

miku avatar miku commented on May 23, 2024

I cannot reproduce this error on my previous example http://firstmonday.org/ojs/index.php/fm/oai. In case of not well formed XML, it might be OK to reject it. If you do not object, I would close this issue for now.

from metha.

mjlassila avatar mjlassila commented on May 23, 2024

from metha.

miku avatar miku commented on May 23, 2024

Thanks!

from metha.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.