-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Description
- OS: Apple M1, macOS 12.7.4
- streamparse==5.0.1
python3.6 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install streamparse==5.0.1sparse throws an error when running (regardless of the parameters):
./venv/bin/sparse --version
Traceback (most recent call last):
File "./venv/bin/sparse", line 5, in <module>
from streamparse.cli.sparse import main
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/streamparse/__init__.py", line 9, in <module>
from . import bolt, cli, component, dsl, spout, storm
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/streamparse/bolt.py", line 5, in <module>
from .storm.bolt import *
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/streamparse/storm/__init__.py", line 7, in <module>
from .bolt import BatchingBolt, Bolt, JavaBolt, ShellBolt, TicklessBatchingBolt
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/streamparse/storm/bolt.py", line 7, in <module>
from ..dsl.bolt import JavaBoltSpec, ShellBoltSpec
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/streamparse/dsl/__init__.py", line 5, in <module>
from .stream import Grouping, Stream
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/streamparse/dsl/stream.py", line 4, in <module>
from ..thrift import JavaObject, NullStruct, storm_thrift, StreamInfo
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/streamparse/thrift.py", line 785, in <module>
storm_thrift = thriftpy2.load_fp(io.StringIO(_THRIFT_STR), module_name="storm_thrift")
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/thriftpy2/parser/__init__.py", line 171, in load_fp
thrift = parse_fp(source, module_name)
File "/opt/storm-python-learn/venv/lib/python3.6/site-packages/thriftpy2/parser/parser.py", line 628, in parse_fp
if enable_cache and module_name in threadlocal.thrift_cache:
AttributeError: '_thread._local' object has no attribute 'thrift_cache'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels