Subliminal is not launching, "ValueError: insecure string pickle"
See original GitHub issueWhen I updated to macOS Sierra, Subliminal continued to work perfectly. But recently it is not working at all, I have this text when I execute it:
Traceback (most recent call last):
File "/usr/local/bin/subliminal", line 11, in <module>
load_entry_point('subliminal==2.0.5', 'console_scripts', 'subliminal')()
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 567, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2604, in load_entry_point
return ep.load()
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2264, in load
return self.resolve()
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2270, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/subliminal/__init__.py", line 11, in <module>
from .core import (AsyncProviderPool, ProviderPool, check_video, download_best_subtitles, download_subtitles,
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/subliminal/core.py", line 14, in <module>
from rarfile import NotRarFile, RarCannotExec, RarFile
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/rarfile.py", line 1989, in <module>
custom_check([UNRAR_TOOL], True)
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/rarfile.py", line 1917, in custom_check
p = custom_popen(cmd)
File "/usr/local/Cellar/subliminal/2.0.5/libexec/lib/python2.7/site-packages/rarfile.py", line 1908, in custom_popen
creationflags = creationflags)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1334, in _execute_child
child_exception = pickle.loads(data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 1382, in loads
return Unpickler(file).load()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 858, in load
dispatch[key](self)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pickle.py", line 966, in load_string
raise ValueError, "insecure string pickle"
ValueError: insecure string pickle
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
ValueError: insecure string pickle - python - Stack Overflow
A corrupted pickle. The error is raised if a string in the dump does not both start and end with " or '....
Read more >ValueError: insecure string pickle · Issue #5314 - GitHub
I tried running the above command from python command line. It wasn't a virtual environment, but I still get the insecure string pickle...
Read more >pickle.load failing with ValueError: insecure string pickle
I'm a relatively new Python user, using Pickle for the first time. pickle.load is dying with "ValueError: insecure string pickle"
Read more >the of and to a in for is on s that by this with i you it not
the of and to a in for is on s that by this with i you it not or be are from ......
Read more >Click here to download - Computer Science
the of and to a in for is on that by this with i you it not or be are from at ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same problem. Although I didn’t understand why or how, the following trick solved it for me:
And it works again. It takes 30seconds to try, so worth a shot if you experience the same issue…
Tested in a Python 3.6 virtualenv on macOS. Works.