need help with some error that popped up suddenly , all was working perfectly for months .
tried reinstall problem persist
unpacking constantly failing for some reason.
cant upload log since i am a new user
unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
Forum rules
Help us help you:
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.
Re: unpacking constantly failing - ValueError: unused keyword argument 'abbreviations'
Post on pastebin, and URL here with spaces around dots
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
Ah, it's a traceback in guessit, which we introduced in SABnzbd recently for sorting (AFAIK) ... yes: https://github.com/sabnzbd/sabnzbd/comm ... c5c41919d0
I guess (pun intended) that jcfp should have a look at it.
You use 3.4.0Beta1 ... Go back to a stable version if this bug is blocking for you.
I guess (pun intended) that jcfp should have a look at it.
You use 3.4.0Beta1 ... Go back to a stable version if this bug is blocking for you.
Code: Select all
2021-08-06 15:47:19,424::INFO::[filesystem:319] Checking if any resulting filenames need to be sanitized
2021-08-06 15:47:19,431::INFO::[notifier:122] Sending notification: Error - Post Processing Failed for test_download_1000MB (see logfile) (type=error, job_cat=None)
2021-08-06 15:47:19,431::ERROR::[postproc:608] Post Processing Failed for test_download_1000MB (see logfile)
2021-08-06 15:47:19,431::INFO::[postproc:609] Traceback:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/guessit/api.py", line 192, in guessit
config = self.configure(options, sanitize_options=False)
File "/usr/lib/python3/dist-packages/guessit/api.py", line 163, in configure
self.rebulk = rules_builder(advanced_config)
File "/usr/lib/python3/dist-packages/guessit/rules/__init__.py", line 56, in rebulk_builder
rebulk.rebulk(episodes(_config('episodes')))
File "/usr/lib/python3/dist-packages/guessit/rules/properties/episodes.py", line 168, in episodes
rebulk.chain(
File "/usr/lib/python3/dist-packages/rebulk/builder.py", line 179, in regex
return self.pattern(self.build_re(*pattern, **kwargs))
File "/usr/lib/python3/dist-packages/rebulk/builder.py", line 107, in build_re
return RePattern(*pattern, **kwargs)
File "/usr/lib/python3/dist-packages/rebulk/pattern.py", line 441, in __init__
pattern = call(re.compile, pattern, **self._kwargs)
File "/usr/lib/python3/dist-packages/rebulk/loose.py", line 60, in call
return function(*call_args, **call_kwargs)
File "/usr/local/lib/python3.8/dist-packages/regex/regex.py", line 351, in compile
return _compile(pattern, flags, ignore_unused, kwargs, _cache_all)
File "/usr/local/lib/python3.8/dist-packages/regex/regex.py", line 602, in _compile
raise ValueError('unused keyword argument {!a}'.format(any_one))
ValueError: unused keyword argument 'abbreviations'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 418, in process_job
tmp_workdir_complete, workdir_complete, file_sorter, one_folder, marker_file = prepare_extraction_path(
File "/usr/share/sabnzbdplus/sabnzbd/postproc.py", line 695, in prepare_extraction_path
complete_dir = file_sorter.detect(nzo.final_name, complete_dir)
File "/usr/share/sabnzbdplus/sabnzbd/sorting.py", line 319, in detect
guess = guess_what(job_name)
File "/usr/share/sabnzbdplus/sabnzbd/sorting.py", line 597, in guess_what
guess = guessit.api.guessit(digit_fix + name, options=guessit_options)
File "/usr/lib/python3/dist-packages/guessit/api.py", line 71, in guessit
return default_api.guessit(string, options)
File "/usr/lib/python3/dist-packages/guessit/api.py", line 222, in guessit
raise GuessitException(string, options)
guessit.api.GuessitException: An internal error has occured in guessit.
===================== Guessit Exception Report =====================
version=3.1.0
string=test_download_1000MB
options={'expected_title': [], 'excludes': ['part']}
--------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/guessit/api.py", line 192, in guessit
config = self.configure(options, sanitize_options=False)
File "/usr/lib/python3/dist-packages/guessit/api.py", line 163, in configure
self.rebulk = rules_builder(advanced_config)
File "/usr/lib/python3/dist-packages/guessit/rules/__init__.py", line 56, in rebulk_builder
rebulk.rebulk(episodes(_config('episodes')))
File "/usr/lib/python3/dist-packages/guessit/rules/properties/episodes.py", line 168, in episodes
rebulk.chain(
File "/usr/lib/python3/dist-packages/rebulk/builder.py", line 179, in regex
return self.pattern(self.build_re(*pattern, **kwargs))
File "/usr/lib/python3/dist-packages/rebulk/builder.py", line 107, in build_re
return RePattern(*pattern, **kwargs)
File "/usr/lib/python3/dist-packages/rebulk/pattern.py", line 441, in __init__
pattern = call(re.compile, pattern, **self._kwargs)
File "/usr/lib/python3/dist-packages/rebulk/loose.py", line 60, in call
return function(*call_args, **call_kwargs)
File "/usr/local/lib/python3.8/dist-packages/regex/regex.py", line 351, in compile
return _compile(pattern, flags, ignore_unused, kwargs, _cache_all)
File "/usr/local/lib/python3.8/dist-packages/regex/regex.py", line 602, in _compile
raise ValueError('unused keyword argument {!a}'.format(any_one))
ValueError: unused keyword argument 'abbreviations'
--------------------------------------------------------------------
Please report at https://github.com/guessit-io/guessit/issues.
====================================================================
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
cant get external access to work, and im going insane
downgraded however now I'm blocked from external access , changed "inet_exposure = 0" fail to start
"inet_exposure = 0" set to 5
nothing happens ERR_CONNECTION_REFUSED
tried everything, any advise ?
downgraded however now I'm blocked from external access , changed "inet_exposure = 0" fail to start
"inet_exposure = 0" set to 5
nothing happens ERR_CONNECTION_REFUSED
tried everything, any advise ?
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
The original problem may be related to an issue in the regex package.
https://github.com/morpheus65535/bazarr/issues/771
https://github.com/morpheus65535/bazarr/issues/771
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
I changed it in the INI configuration file , I’ll try running it with this
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
Hostname verification was the issue in the end, thanks anyway for the help
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
Just as an FYI, sabnzbdplus 3.4.2-0ubuntu1~jcfp2~20.04 from jcfp's PPA still exhibits the original error on Ubuntu 20.04LTS. I tried upgrading python3-guessit, python3-rebulk and python3-babelfish to their respective versions from Ubuntu 21.10 and this got rid of the exceptions in the log (I think the packages from hirsute would have resolved the exception as well). I needed to clear my "incomplete" folder to fully clear the error.
For the PPA, vendoring the guessit and rebulk python modules may be a good idea.
For the PPA, vendoring the guessit and rebulk python modules may be a good idea.
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
I run SAB 3.4.2 and 3.5.0 Beta1 from jcfp's PPA without problems on my Ubuntu 20.04. ... But, it might be I have modules installed via python3's pip.bertd2 wrote: ↑November 27th, 2021, 4:25 pm Just as an FYI, sabnzbdplus 3.4.2-0ubuntu1~jcfp2~20.04 from jcfp's PPA still exhibits the original error on Ubuntu 20.04LTS. I tried upgrading python3-guessit, python3-rebulk and python3-babelfish to their respective versions from Ubuntu 21.10 and this got rid of the exceptions in the log (I think the packages from hirsute would have resolved the exception as well). I needed to clear my "incomplete" folder to fully clear the error.
For the PPA, vendoring the guessit and rebulk python modules may be a good idea.
What version of guessit do you have?
Re: unpacking constantly failing - guessit - ValueError: unused keyword argument 'abbreviations'
Tracebacks would be useful. The ones posted by the OP pointed to /usr/local/lib/python3.8/dist-packages/regex/regex.py (i.e. a non-packaged / pip install of the "regex" module) as the root of the issue.
On 20.04 the guessit/rebulk/babelfish module all come from their standard packages. Adding more recent versions of anything to the ppa is not a step I take lightly and only really an option if sabnzbd has a hard requirement that cannot be satisfied or the standard distribution-supplied package is somehow badly broken.
On 20.04 the guessit/rebulk/babelfish module all come from their standard packages. Adding more recent versions of anything to the ppa is not a step I take lightly and only really an option if sabnzbd has a hard requirement that cannot be satisfied or the standard distribution-supplied package is somehow badly broken.