Getting error get "'connection' is not defined" - week3 workshop..
Added
SECURE_CONNECT_BUNDLE = '/workspace/cassandra-workshop-series/week3-AppDev-crud/crud-python/secure-connect-killrvideocluster.zip'
Getting error get "'connection' is not defined" - week3 workshop..
Added
SECURE_CONNECT_BUNDLE = '/workspace/cassandra-workshop-series/week3-AppDev-crud/crud-python/secure-connect-killrvideocluster.zip'
Bettina's explained why this issue is occurring in question #6499. There's a good chance that you've got the wrong path which is why you can't connect to your Astra database.
If you followed step 3c of the workshop instructions correctly, your secure bundle should have been uploaded to the week3-AppDev-crud/
directory.
On Gitpod, you need to check that the bundle exists in the directory. For example:
$ pwd /workspace/cassandra-workshop-series/week3-AppDev-crud
$ ls crud-java crud-python materials README_JAVA.MD README.MD secure-connect-killrvideocluster.zip
If you uploaded your secure bundle to the correct location, the correct path would look like:
SECURE_CONNECT_BUNDLE = '/workspace/cassandra-workshop-series/week3-AppDev-crud/secure-connect-killrvideocluster.zip'
Cheers!
7 People are following this question.
Unable to login to a pod with SSH from a Git bash console for the week 5 exercises
Still getting authentication errors after verifying credentials in the workshop exercise
Feedback on week 2 workshop notebook
Is there a participation certificate for attending the workshops?
Why can't I access the Astra UI and backend UI in the week 6 exercise?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use