bioperl / bioperl-live-redmine

Legacy tickets migrated from the OBF Redmine issue tracker: http://redmine.open-bio.org
0 stars 0 forks source link

Bio::DB::WebDBSeqI::get_Stream_by_id #120

Open cjfields opened 8 years ago

cjfields commented 8 years ago

Author Name: Pawel Trajdos (Pawel Trajdos) Original Redmine Issue: 3280, https://redmine.open-bio.org/issues/3280 Original Date: 2011-08-22 Original Assignee: Bioperl Guts


Error occurs when you pass non existing id to Bio::DB::WebDBSeqI::get_Stream_by_id.(details see attached file ). I fixed it by adding try,catch,finnaly block in WebDBSeqI.pm file. Finnaly block executes POSIX::_exit(0) and close forked process. POSIX::_exit(0) was not executed when _stream_request($request,$stream) throws exception. (WebDBSeqI.pm:467) System: Slackware linux 12.1. 2.6.24.5-smp Latest bioperl from Git repository.