pymedusa / Medusa

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic.
https://pymedusa.com
GNU General Public License v3.0
1.8k stars 276 forks source link

[APP SUBMITTED]: dbm.error: db type is dbm.gnu, but the module is not available #9219

Closed Volodesi closed 3 years ago

Volodesi commented 3 years ago

INFO

Python Version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] Operating System: Windows-10-10.0.19041-SP0 Locale: cp1252 Branch: master Database: 44.17 Commit: pymedusa/Medusa@b21beeb3be5c7e1dec8cbe4bfc13b565b1e1a0b9 Link to Log: No Log available

ERROR

2021-02-13 19:53:38 ERROR    Thread_1 :: [b21beeb] Exception generated: db type is dbm.gnu, but the module is not available
Traceback (most recent call last):
  File "C:\Medusa\Medusa\medusa\server\web\core\base.py", line 252, in async_call
    result = function(**kwargs)
  File "C:\Medusa\Medusa\medusa\server\web\home\handler.py", line 1511, in fetch_releasegroups
    groups = get_release_groups_for_anime(series_name)
  File "", line 2, in get_release_groups_for_anime
  File "C:\Medusa\Medusa\ext\dogpile\cache\region.py", line 1578, in get_or_create_for_user_func
    key, user_func, timeout, should_cache_fn, (arg, kw)
  File "C:\Medusa\Medusa\ext\dogpile\cache\region.py", line 1047, in get_or_create
    async_creator,
  File "C:\Medusa\Medusa\ext\dogpile\lock.py", line 185, in __enter__
    return self._enter()
  File "C:\Medusa\Medusa\ext\dogpile\lock.py", line 87, in _enter
    value = value_fn()
  File "C:\Medusa\Medusa\ext\dogpile\cache\region.py", line 977, in get_value
    value = self._get_from_backend(key)
  File "C:\Medusa\Medusa\ext\dogpile\cache\region.py", line 1265, in _get_from_backend
    self.backend.get_serialized(key)
  File "C:\Medusa\Medusa\ext\dogpile\cache\backends\file.py", line 217, in get_serialized
    with self._dbm_file(False) as dbm_obj:
  File "C:\Medusa\Python\lib\contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "C:\Medusa\Medusa\ext\dogpile\cache\backends\file.py", line 213, in _dbm_file
    with dbm.open(self.filename, "w" if write else "r") as dbm_obj:
  File "C:\Medusa\Python\lib\dbm\__init__.py", line 91, in open
    "available".format(result))
dbm.error: db type is dbm.gnu, but the module is not available

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

medariox commented 3 years ago

Same fix as https://github.com/pymedusa/Medusa/issues/9070#issuecomment-764062860