advaithm Posted May 16, 2023 Share 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) Quote Link to comment Share on other sites More sharing options...
advaithm Posted May 17, 2023 Author Share Posted May 17, 2023 Solved it, guess it was a cache issue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.