openphacts / GLOBAL

Global project issues [private for now. owner lee harland]
3 stars 0 forks source link

Exact structure search returns 500 error #360

Closed danidi closed 8 years ago

danidi commented 8 years ago

On 2.0 and develop, the default query for the exact structure search returns a 500 server error with the following message: Unexpected response returned from ChemSpider: GetSearchStatus error: The type initializer for 'MoleculeObjects.Molecule' threw an exception.

Similarity search and Smiles to URL work fine.

nicklynch commented 8 years ago

Tried also against http://ops2.rsc.org/ops/JSON.ashx and you get this error when you return Result Value cannot be null. Parameter name: source

http://ops2.rsc.org/ops/JSON.ashx?op=ExactStructureSearch&searchOptions.Molecule=CNC(=O)c1cc(ccn1)Oc2ccc(cc2)NC(=O)Nc3ccc(c(c3)C(F)(F)F)Cl

http://ops2.rsc.org/ops/JSON.ashx?op=GetSearchResult&rid=075c52cd-1294-49b6-839b-0c6335b7ec56