Diaoul / subliminal

Subtitles, faster than your thoughts
http://subliminal.readthedocs.org
MIT License
2.4k stars 311 forks source link

Unhandled error in plugin subliminal #415

Closed shoole closed 9 years ago

shoole commented 9 years ago

Hi, I get the following error only on subliminal (in FlexGet). Other modules are working fine.

2014-10-23 13:22 ERROR task subtitles BUG: Unhandled error in plugin subliminal: (22, 'Invalid argument -- architecture lacks fast m utexes: applications cannot be threaded') Traceback (most recent call last): File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2-py2.7.egg/flexget/task.py", line 435, in run_plugin return method(_args, *_kwargs) File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2-py2.7.egg/flexget/event.py", line 22, in __call* return self.func(_args, _kwargs) File "/opt/local/lib/python2.7/site-packages/FlexGet-1.2-py2.7.egg/flexget/plugins/output/subtitles_subliminal.py", line 75, in on_task_output 'lock_factory': subliminal.MutexLock}) File "/opt/local/lib/python2.7/site-packages/dogpile.cache-0.5.4-py2.7.egg/dogpile/cache/region.py", line 237, in configure self.backend = backend_cls(arguments or {}) File "/opt/local/lib/python2.7/site-packages/dogpile.cache-0.5.4-py2.7.egg/dogpile/cache/backends/file.py", line 158, in init** self._init_dbm_file() File "/opt/local/lib/python2.7/site-packages/dogpile.cache-0.5.4-py2.7.egg/dogpile/cache/backends/file.py", line 182, in _init_dbm_file fh = self.dbmmodule.open(self.filename, 'c') File "/opt/lib/python2.7/anydbm.py", line 85, in open return mod.open(file, flag, mode) File "/opt/lib/python2.7/dbhash.py", line 18, in open return bsddb.hashopen(file, flag, mode) File "/opt/lib/python2.7/bsddb/init.py", line 357, in hashopen e = _openDBEnv(cachesize) File "/opt/lib/python2.7/bsddb/init.py", line 414, in _openDBEnv e.open('.', db.DB_PRIVATE | db.DB_CREATE | db.DB_THREAD | db.DB_INIT_LOCK | db.DB_INIT_MPOOL) DBInvalidArgError: (22, 'Invalid argument -- architecture lacks fast mutexes: applications cannot be threaded') 2014-10-23 13:22 WARNING task subtitles Aborting task (plugin: subliminal)

Diaoul commented 9 years ago

Use the -c option with a file not a folder