SuLab / WikiGenomesBase

A configurable codebase for launching organism specific WikiGenomes spinoff applications (e.g. ChlamBase.org) This is a web application framework for creating a model organism database leveraging the taxonomic, genetic and functional data that has been loaded to Wikidata.org by the Gene Wiki Project.
https://chlambase.org/
MIT License
7 stars 4 forks source link

Crash on adding Host Pathogen Annotation #96

Closed djow2019 closed 6 years ago

djow2019 commented 6 years ago

I first removed all the "authorized" parameters in the path because that was not specified in urls.py. Now that the requests were receieved, this is the output I get from the console image.png

Success is true, errors is empty....but then it times out. Will do more digging....

djow2019 commented 6 years ago

Found the exact line causing the crash. image.png

Output with print statements: image.png

djow2019 commented 6 years ago

Specifically, passing the parameter "wd_item_id=..." causes it to become unresponsive. Tried setting a hard value like so:

wd_item_protein = wdi_core.WDItemEngine(wd_item_id='Q21168345')

But it also crashed the server

@putmantime @andrewsu Thoughts?

djow2019 commented 6 years ago

Problem with outdated wdi. Going to update it now.

djow2019 commented 6 years ago

HP now works, going to check with other annotations.

djow2019 commented 6 years ago

@khybiske when you get a chance, can you try resubmitting the annotation in the host pathogen interactions module? I believe it is fixed...

khybiske commented 6 years ago

@djow2019 I just submitted one for CTL0260 and it said I was successful. Let's see if it updates.