IPCConnectedFactoryExchange / CFX

Apache License 2.0
72 stars 67 forks source link

CFX For Python and an issue encountered in running CFX Recorder #209

Open r2sprohi opened 1 month ago

r2sprohi commented 1 month ago

Hi , I was wondering about the CFX python implementation and what is the progress on it? Is it possible if I could be added to contribute towards it. and also while trying to run the CFX recorder (python) I kind of faced an issue when I passed the rabbitmq (aqmp) server url as it displayed the following error:
cfx-recorder -b 'amqp://wsa:password@localhost:5672' -c -vvvvv --binding 'DESIRED_BINDING_KEY' --queue 'TRANSIENT_QUEUE_NAME' archive ERROR: Uncaught exception Traceback (most recent call last): File "/Users/tusharbhatia/Downloads/CFXRecorder-feat-initial-commit/cfx_recorder/scripts/cfx_recorder.py", line 131, in main tunnel_man, amqp_conn = build_tunnel_and_connection( File "/Users/tusharbhatia/Downloads/CFXRecorder-feat-initial-commit/cfx_recorder/standard.py", line 27, in build_tunnel_and_connection conn_info = parse_broker_connection(broker_url) File "/Users/tusharbhatia/Downloads/CFXRecorder-feat-initial-commit/cfx_recorder/amqp/factory.py", line 37, in parse_broker_connection parsed = parse_connection_url(url, valid_params=_SUPPORTED_PARAMS, default_port=_DEFAULT_PORTS) File "/Users/tusharbhatia/Downloads/CFXRecorder-feat-initial-commit/cfx_recorder/utils.py", line 53, in parse_connection_url parts = urlparse(url, scheme=default_scheme) # type: ParseResult File "/Users/tusharbhatia/opt/anaconda3/lib/python3.9/urllib/parse.py", line 393, in urlparse splitresult = urlsplit(url, scheme, allow_fragments) File "/Users/tusharbhatia/opt/anaconda3/lib/python3.9/urllib/parse.py", line 462, in urlsplit scheme = scheme.replace(b, "") AttributeError: 'NoneType' object has no attribute 'replace' .

I was wondering if you could help me with this