Transwhat doesn't launch. It looks like a yowsup issue but I'm not 100% sure and maybe transwhat can work around it:
$ /usr/bin/transwhat --debug --host 127.0.0.1 --port 33760 --service.backend_id=1 "-j" "whatsapp.example.com" "/etc/spectrum2/transports/transwhat-whatsapp.cfg"
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.9/transwhat", line 33, in <module>
sys.exit(load_entry_point('transwhat==0.2.2', 'console_scripts', 'transwhat')())
File "/usr/lib/python-exec/python3.9/transwhat", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.9/importlib/metadata.py", line 86, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
File "/usr/lib/python3.9/site-packages/transWhat/transwhat.py", line 12, in <module>
from yowsup.stacks import YowStack
File "/usr/lib/python3.9/site-packages/yowsup/stacks/__init__.py", line 1, in <module>
from .yowstack import YowStack, YowStackBuilder
File "/usr/lib/python3.9/site-packages/yowsup/stacks/yowstack.py", line 10, in <module>
from yowsup.layers.protocol_messages import YowMessagesProtocolLayer
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/__init__.py", line 1, in <module>
from .layer import YowMessagesProtocolLayer
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/layer.py", line 2, in <module>
from .protocolentities import TextMessageProtocolEntity
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/protocolentities/__init__.py", line 1, in <module>
from .message_text import TextMessageProtocolEntity
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/protocolentities/message_text.py", line 1, in <module>
from .protomessage import ProtomessageProtocolEntity
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/protocolentities/protomessage.py", line 3, in <module>
from yowsup.layers.protocol_messages.protocolentities.attributes.converter import AttributesConverter
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/protocolentities/attributes/converter.py", line 1, in <module>
from yowsup.layers.protocol_messages.proto.e2e_pb2 import Message
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/proto/e2e_pb2.py", line 15, in <module>
from . import protocol_pb2 as protocol__pb2
File "/usr/lib/python3.9/site-packages/yowsup/layers/protocol_messages/proto/protocol_pb2.py", line 17, in <module>
DESCRIPTOR = _descriptor.FileDescriptor(
File "/usr/lib/python3.9/site-packages/google/protobuf/descriptor.py", line 982, in __new__
return _message.default_pool.AddSerializedFile(serialized_pb)
TypeError: Couldn't build proto file into descriptor pool!
Invalid proto descriptor for file "protocol.proto":
protocol.proto: A file with this name is already in the pool.
Transwhat doesn't launch. It looks like a yowsup issue but I'm not 100% sure and maybe transwhat can work around it:
Versions: