unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'children'

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
User avatar
sander
Release Testers
Release Testers
Posts: 7715
Joined: January 22nd, 2008, 2:22 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by sander »

OK, cool, but what did "locate regex.py" yield? That info is needed to tell which package provides that.

blakeo
Newbie
Newbie
Posts: 4
Joined: September 24th, 2021, 3:16 am

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by blakeo »

pip should have removed regex.py:

--------

Found existing installation: regex 2021.9.24
Uninstalling regex-2021.9.24:
Would remove:
/home/chris/.local/lib/python3.8/site-packages/regex-2021.9.24.dist-info/*
/home/chris/.local/lib/python3.8/site-packages/regex/*
Proceed (y/n)? y
Successfully uninstalled regex-2021.9.24

---------

but it obviously didn't because locate regex.py after that yielded

/home/chris/.local/lib/python3.8/site-packages/regex/regex.py
/home/chris/.local/lib/python3.8/site-packages/regex/test_regex.py

----

So the pip3 uninstall didn't help but everything worked again after I manually deleted the whole regex folder. locate regex.-py yields nothing anymore.

oggie
Newbie
Newbie
Posts: 11
Joined: August 26th, 2010, 3:04 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by oggie »

that's not what I'm seeing. I get nothing with `locate regex.py` , yet I'm still seeing the errors.

User avatar
sander
Release Testers
Release Testers
Posts: 7715
Joined: January 22nd, 2008, 2:22 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by sander »

oggie wrote:
September 27th, 2021, 6:37 am
that's not what I'm seeing. I get nothing with `locate regex.py` , yet I'm still seeing the errors.
What is your output from

Code: Select all

sudo find / -name regex.py

oggie
Newbie
Newbie
Posts: 11
Joined: August 26th, 2010, 3:04 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by oggie »

nothing. It doesn't find any regex.py

User avatar
sander
Release Testers
Release Testers
Posts: 7715
Joined: January 22nd, 2008, 2:22 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by sander »

oggie wrote:
September 27th, 2021, 9:55 am
nothing. It doesn't find any regex.py
And what do you get when you run the 5-line python program from viewtopic.php?p=125833#p125833

oggie
Newbie
Newbie
Posts: 11
Joined: August 26th, 2010, 3:04 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by oggie »

I already did post it. It's here : viewtopic.php?p=125835#p125835

oggie
Newbie
Newbie
Posts: 11
Joined: August 26th, 2010, 3:04 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by oggie »

setting this: "export REGEX_DISABLED=1" seems to fix it when running that python script. What's the best way to set env vars for sab?

oggie
Newbie
Newbie
Posts: 11
Joined: August 26th, 2010, 3:04 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by oggie »

I added the export "export REGEX_DISABLED=1" to the file /etc/init.d/sabnzbdplus, restarted sab, and now it works.

User avatar
sander
Release Testers
Release Testers
Posts: 7715
Joined: January 22nd, 2008, 2:22 pm

Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre

Post by sander »

oggie wrote:
September 27th, 2021, 11:56 am
I added the export "export REGEX_DISABLED=1" to the file /etc/init.d/sabnzbdplus, restarted sab, and now it works.
Nice.

I suppose that that means this should work do:

Code: Select all

env REGEX_DISABLED=1 sabnzbdplus

Code: Select all

env REGEX_DISABLED=1 python3 /path/to/SABnzbd.py

Post Reply