Coder Social home page Coder Social logo

Comments (6)

josswright avatar josswright commented on May 27, 2024

I found a bug report that seems relevant here: themoken/canto-next#10 that suggests that it's something to do with drv_libxml2 in feedparser not supporting Python3 very well. (I have no idea why this would have worked until yesterday, given how old the issue seems to be.)

In any case, the suggested solution on that page is to add:
feedparser.PREFERRED_XML_PARSERS.remove('drv_libxml2')
after the import feedparser

(In fact, they remove that parser on a TypeError: themoken/canto-next@5e6449d )

I've tried this in my local copy, and it seems to work here. Again, I have no idea what caused it to stop working suddenly.

from greg.

FilipBB avatar FilipBB commented on May 27, 2024

I'm having this same issue, josswright's suggested fix works for me as well.

from greg.

Narrat avatar Narrat commented on May 27, 2024

But the main issue is with the packaging of the current (2.9.3-2) libxml2 package on Arch Linux.
A new approach to provide py3 bindings and it is currently broken.
I noticed it with canto, and the fix doesn't help there. Downgrading does. So it left me kinda wondering why it's working for greg.

But downgrading to libxml2-2.9.3-1 should solve those problems
https://bugs.archlinux.org/task/48878

from greg.

manolomartinez avatar manolomartinez commented on May 27, 2024

Yeah, I've been bitten by the same libxml2 bug; downgrading sems to help, as @Narrat points out. I'm reluctant for now to remove drv_libxml2, but if the situation persists I will look into it. Thanks, @josswright for reporting and researching a workaround.

So, I suggest we Archers sit tight/downgrade libxml2 and wait for the next release. I assume greg users in other distros have not had any problems with this.

from greg.

Narrat avatar Narrat commented on May 27, 2024

A new package for Arch is in [testing].

from greg.

josswright avatar josswright commented on May 27, 2024

Just ran an update, and rebuilt greg-git. Seems to work!

from greg.

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.