[ https://issues.apache.org/jira/browse/AVRO-3100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17311854#comment-17311854 ]
Subhash Bhushan commented on AVRO-3100: --------------------------------------- [~rskraba] I can take this up. Can you point me to documentation that can help me set up locally and run these interop tests? > Python tool fails during RPC interop tests > ------------------------------------------ > > Key: AVRO-3100 > URL: https://issues.apache.org/jira/browse/AVRO-3100 > Project: Apache Avro > Issue Type: Bug > Components: python > Affects Versions: 1.11.0 > Reporter: Ryan Skraba > Priority: Major > Fix For: 1.11.0 > > > The `avro.tool` module fails during RPC interop tests. > When py_tool is set to {{python3 -m avro.tool}}: > {code} > + py_tool rpcsend http://127.0.0.1:45815 share/test/schemas/simple.avpr add > -file share/test/interop/rpc/add/onePlusOne/request.avro > + PYTHONPATH=lang/py > + python3 -m avro.tool rpcsend http://127.0.0.1:45815 > share/test/schemas/simple.avpr add -file > share/test/interop/rpc/add/onePlusOne/request.avro > Traceback (most recent call last): > File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main > "__main__", mod_spec) > File "/usr/lib/python3.7/runpy.py", line 85, in _run_code > exec(code, run_globals) > File "/home/rskraba/avro/lang/py/avro/tool.py", line 166, in <module> > sys.exit(main(sys.argv)) > File "/home/rskraba/avro/lang/py/avro/tool.py", line 157, in main > send_message(uri, proto, msg, datum) > File "/home/rskraba/avro/lang/py/avro/tool.py", line 91, in send_message > url_obj = urllib.parse(uri) > TypeError: 'module' object is not callable > {code} > (See https://github.com/apache/avro/pull/1165) -- This message was sent by Atlassian Jira (v8.3.4#803005)