advaithm Posted May 16, 2023 Posted May 16, 2023 Note: This is specific to HelioHost. There was a NameError in some code on line 87. Line 87 of my code was: return MySQLdb.connect(**kwargs) I modified it to: return mysql.connector.connect(**kwargs) mysql.connector has been imported in the file. Hence, no NameError should show up. Yet, the error still shows up in the logs. In the wiki it is mentioned that it takes several hours to purge the cache. However, in my case, the log files show the updated code but still have the same error. For example: return mysql.connector.connect(**kwargs) NameError: 'MySQLdb' is not defined What is happening here? Is it a caching issue, or something which I should do on my side? (I can share the code if required)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now