Page 2 of 2
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 4:50 am
by sander
OK, cool, but what did "locate regex.py" yield? That info is needed to tell which package provides that.
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 4:58 am
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.
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 6:37 am
by oggie
that's not what I'm seeing. I get nothing with `locate regex.py` , yet I'm still seeing the errors.
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 7:00 am
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
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 9:55 am
by oggie
nothing. It doesn't find any regex.py
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 10:04 am
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
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 11:22 am
by oggie
I already did post it. It's here :
viewtopic.php?p=125835#p125835
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 11:46 am
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?
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 11:56 am
by oggie
I added the export "export REGEX_DISABLED=1" to the file /etc/init.d/sabnzbdplus, restarted sab, and now it works.
Re: unpack failing, leading to postprocessing error and restart - guessit - ValueError: unused keyword argument 'childre
Posted: September 27th, 2021, 12:15 pm
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 python3 /path/to/SABnzbd.py