Page 1 of 2

Unable to start sabnzbd: feedparser issue

Posted: September 1st, 2020, 12:22 pm
by dma
I'm on Ubuntu running the latest SABnzbd (I just removed and reinstalled) 3.0.2 from the tarball.

I can't start it, seeing the error:
AttributeError: module 'feedparser' has no attribute '_FeedParserMixin'
i have made sure that feedparser is installed and i also don't see the attribute in the python3 repl.

could this be an issue with my version of feedparser?
$ pip3 list | ag feedparser
feedparser 6.0.0b3

Re: Unable to start sabnzbd: feedparser issue

Posted: September 1st, 2020, 12:32 pm
by dma
I managed to uninstall that version and force install version 5.2.1 of feedparser. that seemed to fix it.

Re: Unable to start sabnzbd: feedparser issue

Posted: September 1st, 2020, 2:53 pm
by safihre
Indeed we only support 5 in sabnzbd 3.0.2. In 3.1.0 we will also support 6.0.0. It's still in beta, so there was no rush.

Re: Unable to start sabnzbd: feedparser issue

Posted: October 7th, 2020, 6:45 am
by elurin
Had a similar issue as version 6 was pushed in Opensuse Tumbleweed. Opted to use 3.1.0 and it works fine.

Re: Unable to start sabnzbd: feedparser issue

Posted: April 26th, 2021, 6:49 am
by oldozguy
dma - please provide instructions on how to force feedparser-5.2.1 install.

I am on FreeNAS 11.3 U5, and between a rock and a hard place. Hit problems on upgrading to sabnzbd 3.0.2... which pulled in freeparser, and now I cannot recover.

pkg install sabnzbdplus wants to install the latest freeparser... which obviously is incompatible with something and triggers this error.

Any help appreciated.

Re: Unable to start sabnzbd: feedparser issue

Posted: April 26th, 2021, 11:07 am
by rdr_than_urdad
I’m also having this issue on freeNAS 11.3-U5, sabnzbd isn’t starting, sockstat doesn’t show anything on port 8080, and this was all brought on by an update.

I would also appreciate any help on how to force feedparser-5.2.1 install on FreeBSD/freeNAS

Re: Unable to start sabnzbd: feedparser issue

Posted: April 27th, 2021, 9:04 pm
by oldozguy
safihre/admin... isn't this (I mean, retrofixing feedparser) the wrong approach? Seems to me that the package is just out of date... I don't really know who/how that gets updated, but there is clearly a need for something other than the 3.0.2 version that introduced this issue. Latest sabnzbd download version looks like 3.2.1... well past 3.0.2.

Or do we mere mortals really need to try to patch things ourselves? Not quite so easy on a NAS...

Thanks for any help... we need it!

Re: Unable to start sabnzbd: feedparser issue

Posted: April 29th, 2021, 11:15 am
by safihre
We have switched to the latest feedparser. I don't fully understand why this is suddenly a problem?
Also, why isn't the sabnzbd package just updated to the latest version? Because 3.0.2 is really old..

Re: Unable to start sabnzbd: feedparser issue

Posted: April 29th, 2021, 11:31 am
by sander
safihre wrote:
April 29th, 2021, 11:15 am
We have switched to the latest feedparser. I don't fully understand why this is suddenly a problem?
Also, why isn't the sabnzbd package just updated to the latest version? Because 3.0.2 is really old..
The users are saying they are using FreeNAS. Maybe FreeNAS itself is old? https://en.wikipedia.org/wiki/TrueNAS#History tells "In March 2020, iXsystems announced that the 12.0 release will merge the FreeNAS code base with that of their commercial TrueNAS offering. FreeNAS will become TrueNAS CORE while TrueNAS will be renamed TrueNAS Enterprise.[20] This change was made official with the release of TrueNAS 12.0 on October 20, 2020"

So maybe there are no updates anymore on FreeNAS, as all updates are on TrueNAS?

Re: Unable to start sabnzbd: feedparser issue

Posted: April 30th, 2021, 12:53 am
by oldozguy
FreeNAS 11.3-U5 is the current non-beta release... I doubt that is the issue, as FreeNAS (I think) tracks TrueNAS pretty closely.

When I tried to track down stuff under the Downloads button, then selected Linux/FreeBSD, it appears to me that the freeBSD package for sabnzbd has not been updated correctly... or the pkg manager in freeNAS is not recognising that the update adamw made 6 months ago (refers to incompatible feedburner (not feedparser)). I'm not very cluey about this... but it looks to me like that might be where/why we are now having issues, as I believe FreeNAS is just pulling in the pkg info from the freeBSD ...er... thing!

See this link: https://svnweb.freebsd.org/ports/head/news/sabnzbdplus/

I hope this is not a red herring... as I said... I am pretty ignorant about this stuff. But happy to learn more ... and will be even happier if this resolves the problem for the many users of freeNAS ;-)

Hope it helps someone who actually knows what they are doing to figure it out !!

Cheers,

Re: Unable to start sabnzbd: feedparser issue

Posted: May 2nd, 2021, 5:28 pm
by hertzsae
This is a FreeBSD issue, which makes it a FreeNAS/TrueNAS issue. The package needs updating. From the bug report it looks like the fix is ready and just needs to have a pull request done to get us to the latest version.

As a newish forum member, I can't post links.
If you want to watch the package, you can see it by going to freshports dot org /news/sabnzbdplus/
The bug report is at bugs dot freebsd dot org /bugzilla/show_bug.cgi?id=250411

Looks like we're waiting on someone doing a pull request, but I'm not sure where we can watch that more closely or request someone does it.

Re: Unable to start sabnzbd: feedparser issue

Posted: May 4th, 2021, 2:20 am
by oldozguy
Thanks hertzsae.. it does look like james or adamw need to give this a prod.

Meanwhile... I still can't download anything ;-( I tried reverting to v3.0.1, but that was successful. Maybe I screwed up...

While we wait for the freeBSD package to be updated, if anyone can advise how to reinstate the earlier version that worked... that would be nice.

Regards,

Re: Unable to start sabnzbd: feedparser issue

Posted: May 4th, 2021, 7:49 am
by oldozguy
Hi... I found (I think) a way to contact the adamw referred to in the bugzilla report... have sent an email asking for assistance to get this sorted.

Will advise if/when something gets fixed.

Re: Unable to start sabnzbd: feedparser issue

Posted: May 5th, 2021, 2:40 pm
by hertzsae
They've committed the fix, I think it takes a day or two to compile. I'm guessing that you're using the 'latest' pkg distro. Based on a comment I saw, I'm guessing that if you switched back to quarterly things should work for now until the fix gets through. I found this in a new test jail that I was building and am lucky that I haven't updated my regular jail yet.

Re: Unable to start sabnzbd: feedparser issue

Posted: May 8th, 2021, 8:50 am
by oldozguy
All good... pkg upgrade now installs 3.2.1 and no problems. Woohoo...