{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1702","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1702/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1702/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1702/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/1702","id":78696319,"number":1702,"title":"Missing bsddb3 dependence for Subliminal 0.7.5-12 Beta","user":{"login":"grosenbaum","id":239434,"avatar_url":"https://avatars.githubusercontent.com/u/239434?v=3","gravatar_id":"","url":"https://api.github.com/users/grosenbaum","html_url":"https://github.com/grosenbaum","followers_url":"https://api.github.com/users/grosenbaum/followers","following_url":"https://api.github.com/users/grosenbaum/following{/other_user}","gists_url":"https://api.github.com/users/grosenbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/grosenbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosenbaum/subscriptions","organizations_url":"https://api.github.com/users/grosenbaum/orgs","repos_url":"https://api.github.com/users/grosenbaum/repos","events_url":"https://api.github.com/users/grosenbaum/events{/privacy}","received_events_url":"https://api.github.com/users/grosenbaum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-20T21:03:20Z","updated_at":"2015-05-21T20:43:19Z","closed_at":"2015-05-21T20:43:19Z","body":"Hi all,\r\n\r\nOn my DS 413 with DSM 5.2, I'm using SynoCommunity packages:\r\n* `Subliminal 0.7.5-12`\r\n* `Python 2.7.9-13`\r\n\r\nRunning Subliminal CLI works until it rises this error:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/api.py\", line 256, in download_best_subtitles\r\n    provider_subtitles = provider.list_subtitles(video, provider_video_languages)\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/providers/tvsubtitles.py\", line 178, in list_subtitles\r\n    return [s for s in self.query(video.series, video.season, video.episode) if s.language in languages]\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/subliminal/providers/tvsubtitles.py\", line 162, in query\r\n    show_id = self.find_show_id(series)\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/dogpile/cache/region.py\", line 1040, in decorate\r\n    should_cache_fn)\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/dogpile/cache/region.py\", line 651, in get_or_create\r\n    async_creator) as value:\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/dogpile/core/dogpile.py\", line 158, in __enter__\r\n    return self._enter()\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/dogpile/core/dogpile.py\", line 91, in _enter\r\n    value = value_fn()\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/dogpile/cache/region.py\", line 604, in get_value\r\n    value = self.backend.get(key)\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/dogpile/cache/backends/file.py\", line 220, in get\r\n    with self._dbm_file(False) as dbm:\r\n  File \"/usr/local/python/lib/python2.7/contextlib.py\", line 17, in __enter__\r\n    return self.gen.next()\r\n  File \"/usr/local/subliminal/env/lib/python2.7/site-packages/dogpile/cache/backends/file.py\", line 215, in _dbm_file\r\n    \"w\" if write else \"r\")\r\n  File \"/usr/local/python/lib/python2.7/anydbm.py\", line 84, in open\r\n    mod = __import__(result)\r\n  File \"/usr/local/python/lib/python2.7/dbhash.py\", line 7, in <module>\r\n    import bsddb\r\n  File \"/usr/local/python/lib/python2.7/bsddb/__init__.py\", line 67, in <module>\r\n    import _bsddb\r\nImportError: No module named _bsddb\r\n```\r\n\r\nI try then to install the missing package but it doesn't work:\r\n\r\n```\r\n# /volume1/@appstore/python/bin/pip install bsddb3\r\nCollecting bsddb3\r\n  Using cached bsddb3-6.1.0.tar.gz\r\n    Complete output from command python setup.py egg_info:\r\n    Can't find a local Berkeley DB installation.\r\n    (suggestion: try the --berkeley-db=/path/to/bsddb option)\r\n\r\n    ----------------------------------------\r\n    Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-V3e4mj/bsddb3\r\n```\r\nAny ideas ?\r\nThanks\r\nGilles"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/104415198","html_url":"https://github.com/SynoCommunity/spksrc/issues/1702#issuecomment-104415198","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1702","id":104415198,"user":{"login":"grosenbaum","id":239434,"avatar_url":"https://avatars.githubusercontent.com/u/239434?v=3","gravatar_id":"","url":"https://api.github.com/users/grosenbaum","html_url":"https://github.com/grosenbaum","followers_url":"https://api.github.com/users/grosenbaum/followers","following_url":"https://api.github.com/users/grosenbaum/following{/other_user}","gists_url":"https://api.github.com/users/grosenbaum/gists{/gist_id}","starred_url":"https://api.github.com/users/grosenbaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosenbaum/subscriptions","organizations_url":"https://api.github.com/users/grosenbaum/orgs","repos_url":"https://api.github.com/users/grosenbaum/repos","events_url":"https://api.github.com/users/grosenbaum/events{/privacy}","received_events_url":"https://api.github.com/users/grosenbaum/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T20:43:19Z","updated_at":"2015-05-21T20:43:19Z","body":"Works great, thx.\r\nGilles"}}