Menu

#42 When saving after modifying an existing compound

Accepted
nobody
None
Medium
Defect
2013-04-29
2013-04-29
Anonymous
No

Originally created by: danielwe...@gmail.com
Originally owned by: jlin...@gmail.com

When saving after modifying an existing compound:

[Mon Apr 29 11:30:05 2013] [error] [client 10.98.0.27] Traceback (most recent call last):, referer: http://metabolomics.uni.lux/metabobase/
[Mon Apr 29 11:30:05 2013] [error] [client 10.98.0.27]   File "/usr/lib/cgi-bin/update_librarycompounds.cgi", line 88, in <module>, referer: http://metabolomics.uni.lux/metabobase/
[Mon Apr 29 11:30:05 2013] [error] [client 10.98.0.27]     post_compound_synonym(cur, compound_id, synonyms, insert_flag) , referer: http://metabolomics.uni.lux/metabobase/
[Mon Apr 29 11:30:05 2013] [error] [client 10.98.0.27]   File "/usr/lib/cgi-bin/update_librarycompounds.cgi", line 26, in post_compound_synonym, referer: http://metabolomics.uni.lux/metabobase/
[Mon Apr 29 11:30:05 2013] [error] [client 10.98.0.27]     synonyms = synonyms.split("\\n"), referer: http://metabolomics.uni.lux/metabobase/
[Mon Apr 29 11:30:05 2013] [error] [client 10.98.0.27] AttributeError: 'NoneType' object has no attribute 'split', referer: http://metabolomics.uni.lux/metabobase/
[Mon Apr 29 11:30:05 2013] [error] [client 10.98.0.27] Premature end of script headers: update_librarycompounds.cgi, referer: http://metabolomics.uni.lux/metabobase/

Discussion

  • Anonymous

    Anonymous - 2013-04-29

    Originally posted by: jlin...@gmail.com

    I am having reproduce this, from the error stack, it is complaining about trying to save compound synonyms when it is not there or not changed, it shouldn't call that function. i will double check

     
  • Anonymous

    Anonymous - 2013-04-29

    Originally posted by: danielwe...@gmail.com

    Happens only for some compounds. It just worked... Will record where it doesn't work.

     
  • Anonymous

    Anonymous - 2013-04-29

    Originally posted by: jlin...@gmail.com

    There is a flag that gets set when there is a change to the compound synonym field, I hope it is not browser session related...

     

Log in to post a comment.

MongoDB Logo MongoDB