Import of SnowflakeOCSPAsn1Crypto crashes Python
See original GitHub issuePlease answer these questions before submitting your issue. Thanks!
- What version of Python are you using (
python --version
)?
Python 3.7.5
- What operating system and processor architecture are you using (
python -c 'import platform; print(platform.platform())'
)?
Darwin-19.0.0-x86_64-i386-64bit
- What are the component versions in the environment (
pip list
)?
see attached log file
- What did you do? If possible, provide a recipe for reproducing the error. A complete runnable program is good.
from snowflake.connector.ocsp_asn1crypto import SnowflakeOCSPAsn1Crypto as SFOCSP
see attached log file for the complete process
-
What did you expect to see?
-
What did you see instead?
Python process crashes
- Can you set logging to DEBUG and collect the logs? log.txt
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Import crashes Python in script but works in jupyter console ...
I have installed fbprophet with the latest version of Anaconda (conda 4.5.2, python 3.6.5) on Windows 10. Everything works when used in ...
Read more >snowflake-connector-python - PyPI
Fix default ssl_context options; Pin more dependencies for Python Connector; Fix import of SnowflakeOCSPAsn1Crypto crashes Python on MacOS Catalina ...
Read more >FAQ: Why does Python crash when importing arcpy from the ...
Answer. After upgrading from ArcGIS Pro 2.3 to 2.4, an issue has been reported where Python crashes when importing arcpy into the Command...
Read more >Issue 46070: [subinterpreters] crash when importing _sre in ...
On Python 3.10, the re module is no longer imported by "import importlib.util". The crash is random. Sometimes, I need 3 or 4...
Read more >Cannot import name 'SnowflakeOCSPAsn1Crypto' from ...
I was just trying a small dbt sample project with dbt 0.20.1 against my Snowflake db to test a bug that exists in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@smtakeda this issue surfaced again with Big Sur beta
Stack is the following
cffi==1.13.2
snowflake-connector-python==2.2.9
Same means of reproducibility as @ms32035 experienced
Also results in
This fails locally
But will work in
Sounds like cmake’s
find_library
is on the loose on Big SurSome talk on it in oscrypto
Okay I fixed it using oscryto’s master. I recommend bumpiog the dependency to oscrypto once it’s shipped to pypi
ok, the warning was just covering up the actual problem. Traced the issue to be caused by this https://forums.developer.apple.com/thread/119429