chembl / GLaDOS

Web Interface for ChEMBL @ EMBL-EBI
https://www.ebi.ac.uk/chembl/
Other
44 stars 5 forks source link

database disk image is malformed #1279

Open gcolmenarejo opened 3 years ago

gcolmenarejo commented 3 years ago

Hi

I'm trying to get a molecule from its name by using the python chembl web resources client:

from chembl_webresource_client.new_client import new_client as nc ... nc.molecule.filter(pref_name = nams[i])

I get and error message that says:

DatabaseError: database disk image is malformed

Is there any issue with the services in Chembl? Thanks

wolfwarrior02 commented 1 month ago

Hi, i found a solution for this error, is a cache problem, you can reset your cache for the chembl API or you can simply do: Settings.Instance().CACHING=False