You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/09/18 22:04:13 UTC

[GitHub] [pulsar] pouledodue commented on issue #5217: Python pulsar-client==2.4.0 segfaults on macOS Catalina beta 8 (19A558d)

pouledodue commented on issue #5217: Python pulsar-client==2.4.0 segfaults on macOS Catalina beta 8 (19A558d)
URL: https://github.com/apache/pulsar/issues/5217#issuecomment-532885099
 
 
   @aahmed-se is it the correct way to build the wheel on my mac: 
   ```
   git checkout <the 2.4 branch>
   cd pulsar-client-cpp
   cmake .
   make
   cd python
   python3 setup.py bdist_wheel
   pip uninstall pulsar-client
   pip install ./dist/pulsar_client-2.4.1-cp37-cp37m-macosx_10_9_x86_64.whl
   ```
   
   because it gives me err when importing pulsar so my procedure is probably not correct to build wheel :
   
   ```
   ➜ ~ python -c "import pulsar"
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pulsar/__init__.py", line 274, in <module>
       class Client:
     File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pulsar/__init__.py", line 372, in Client
       schema=schema.BytesSchema(),
     File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pulsar/schema/schema.py", line 53, in __init__
       super(BytesSchema, self).__init__(bytes, _pulsar.SchemaType.BYTES, None, 'BYTES')
     File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pulsar/schema/schema.py", line 32, in __init__
       json.dumps(schema_definition, indent=True))
   TypeError: __init__() should return None, not 'NoneType'
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services