scorelab / Bassa

Automated Download Queue for Communities to take the best use of Internet bandwidth
GNU General Public License v3.0
168 stars 493 forks source link

MySQLdb has no 'Error' member #902

Open BLasan opened 4 years ago

BLasan commented 4 years ago

Describe the bug MySQLdb module imported in DownloadManager.py and UserManager.py file gives an error call 'Module MySQLdb has no 'Error' member' in exception handelling.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'components/core/DownloadManager.py' and 'components/core/UserManager.py'
  2. Replace 'MySQLdb.Error' with 'MySQLdb._mysql.Error'

Expected behavior There should not be any error called 'Module 'MySQLdb' has no 'Error' member'

Screenshots Screenshot from 2020-03-24 17-40-42

Desktop (please complete the following information):

Additional context For installations and running the web app this error will not affect. I'll work on this issue