Thread: [Taskforest-discuss] failure after rerun in taskforestd
Brought to you by:
enoor
From: Teresia A. <Ter...@sa...> - 2009-05-22 14:30:16
|
>From the web interface after I selected 'rerun' of one job from the status page, I no longer can view the status page. I stopped and restarted both taskforest and taskforestd but the error persists. Here is the error I'm getting in taskforestd: /tst/tools/taskForest/bin/taskforestd --config_file=/tst/tools/taskForest/cfg/taskforestdDev.cfg ******************************************************************************** Welcome to taskforestd ******************************************************************************** Log file: /tst/tools/defects/dev/logs/taskforestd.stdout Error file: /tst/tools/defects/dev/logs/taskforestd.stderr ******************************************************************************** ctalnx01.unx.sas.com[284]$ Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string comparison (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. Use of uninitialized value in string eq at /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/DateTime.pm line 1839. <h1>**** CANNOT EXECUTE TaskForest::REST::Status *****</h1><pre>The 'name' parameter (undef) to DateTime::TimeZone::new was an 'undef', which is not one of the allowed types: scalar at /usr/lib/perl5/site_perl/5.8.5/DateTime/TimeZone.pm line 34 DateTime::TimeZone::new('undef', 'name', 'undef') called at /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/DateTime.pm line 1843 DateTime::set_time_zone('DateTime=HASH(0x16536a0)', 'undef') called at /usr/lib/perl5/site_perl/5.8.5/TaskForest.pm line 266 TaskForest::status('TaskForest=HASH(0x1578000)', 1) called at /usr/lib/perl5/site_perl/5.8.5/TaskForest/REST/Status.pm line 62 TaskForest::REST::Status::GET('CGI=HASH(0x1058550)', 'HASH(0x108d0d0)', 'HASH(0x10872b0)', 'HASH(0x1577f10)') called at /usr/lib/perl5/site_perl/5.8.5/TaskForest/REST/Status.pm line 18 TaskForest::REST::Status::handle('CGI=HASH(0x1058550)', 'HASH(0x108d0d0)', 'HASH(0x10872b0)') called at (eval 817) line 1 eval 'TaskForest::REST::Status::handle($q, $hash, $h) ;' called at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Template.pm line 49 TaskForest::Template::doFile('CGI=HASH(0x1058550)', 'HASH(0x108d0d0)', 'HASH(0x10872b0)', 'TaskForest::REST::Status', '/status2.html') called at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Template.pm line 38 TaskForest::Template::explode('CGI=HASH(0x1058550)', '<include TaskForest::REST::Status /status2.html />\x{d}\x{a}\x{d}\x{a}', 'HASH(0x108d0d0)', 'HASH(0x10872b0)') called at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Template.pm line 21 TaskForest::Template::readFile('CGI=HASH(0x1058550)', '/tst/tools/taskForest/htdocsDev/status.html', 'HASH(0x108d0d0)', 'HASH(0x10872b0)') called at /tst/tools/taskForest/bin/taskforestd line 374 main::handle_one_connection('HTTP::Daemon::ClientConn=GLOB(0x1000840)') called at /tst/tools/taskForest/bin/taskforestd line 224 main::child_does('HTTP::Daemon=GLOB(0xff5650)') called at /tst/tools/taskForest/bin/taskforestd line 189 main::fork_a_child('HTTP::Daemon=GLOB(0xff5650)') called at /tst/tools/taskForest/bin/taskforestd line 144 main::main() called at /tst/tools/taskForest/bin/taskforestd line 129 </pre> Teresia Arthur Software Developer 5 Software Quality Tools and Infrastructure Planning, Operations and Strategy SAS Institute |
From: Aijaz A. <en...@us...> - 2009-05-22 15:08:22
|
Teresia: What version of TaskForest are you using? Typing in 'perldoc taskforest' should show you the version. It appears that the timezone in one of your family files is not one that DateTime::TimeZone accepts. Could you please send me the header lines from your Family files? These are the lines that look like this: start => '00:00', tz => 'GMT', days => 'Mon,Tue,Wed,Thu,Fri,Sat,Sun' If you have many family files, you could type something like the following from the command line (after you're in the Family directory): grep start * and then send me the output. If you want, you can check with the following URL for a list of valid timezones: http://search.cpan.org/dist/DateTime-TimeZone/lib/DateTime/TimeZone/Catalog.pm You can also find this link on the FAQ page: http://www.taskforest.com/docs/faq.html#tz Hope this helps (if not, let me know :) Aijaz On Fri, May 22, 2009 at 9:30 AM, Teresia Arthur <Ter...@sa...>wrote: > >From the web interface after I selected 'rerun' of one job from the status > page, I no longer can view the status page. I stopped and restarted both > taskforest and taskforestd but the error persists. Here is the error I'm > getting in taskforestd: > > /tst/tools/taskForest/bin/taskforestd > --config_file=/tst/tools/taskForest/cfg/taskforestdDev.cfg > > ******************************************************************************** > Welcome to taskforestd > > ******************************************************************************** > Log file: /tst/tools/defects/dev/logs/taskforestd.stdout > Error file: /tst/tools/defects/dev/logs/taskforestd.stderr > > ******************************************************************************** > ctalnx01.unx.sas.com[284]$ Use of uninitialized value in string comparison > (cmp) at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string comparison (cmp) at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Family.pm line 258. > Use of uninitialized value in string eq at > /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/DateTime.pm line > 1839. > > > <h1>**** CANNOT EXECUTE TaskForest::REST::Status *****</h1><pre>The 'name' > parameter (undef) to DateTime::TimeZone::new was an 'undef', which is not > one of the allowed types: scalar > at /usr/lib/perl5/site_perl/5.8.5/DateTime/TimeZone.pm line 34 > DateTime::TimeZone::new('undef', 'name', 'undef') called at > /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/DateTime.pm line > 1843 > DateTime::set_time_zone('DateTime=HASH(0x16536a0)', 'undef') called > at /usr/lib/perl5/site_perl/5.8.5/TaskForest.pm line 266 > TaskForest::status('TaskForest=HASH(0x1578000)', 1) called at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/REST/Status.pm line 62 > TaskForest::REST::Status::GET('CGI=HASH(0x1058550)', > 'HASH(0x108d0d0)', 'HASH(0x10872b0)', 'HASH(0x1577f10)') called at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/REST/Status.pm line 18 > TaskForest::REST::Status::handle('CGI=HASH(0x1058550)', > 'HASH(0x108d0d0)', 'HASH(0x10872b0)') called at (eval 817) line 1 > eval 'TaskForest::REST::Status::handle($q, $hash, $h) > ;' called at /usr/lib/perl5/site_perl/5.8.5/TaskForest/Template.pm line 49 > TaskForest::Template::doFile('CGI=HASH(0x1058550)', > 'HASH(0x108d0d0)', 'HASH(0x10872b0)', 'TaskForest::REST::Status', > '/status2.html') called at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Template.pm line 38 > TaskForest::Template::explode('CGI=HASH(0x1058550)', '<include > TaskForest::REST::Status /status2.html />\x{d}\x{a}\x{d}\x{a}', > 'HASH(0x108d0d0)', 'HASH(0x10872b0)') called at > /usr/lib/perl5/site_perl/5.8.5/TaskForest/Template.pm line 21 > TaskForest::Template::readFile('CGI=HASH(0x1058550)', > '/tst/tools/taskForest/htdocsDev/status.html', 'HASH(0x108d0d0)', > 'HASH(0x10872b0)') called at /tst/tools/taskForest/bin/taskforestd line 374 > > main::handle_one_connection('HTTP::Daemon::ClientConn=GLOB(0x1000840)') > called at /tst/tools/taskForest/bin/taskforestd line 224 > main::child_does('HTTP::Daemon=GLOB(0xff5650)') called at > /tst/tools/taskForest/bin/taskforestd line 189 > main::fork_a_child('HTTP::Daemon=GLOB(0xff5650)') called at > /tst/tools/taskForest/bin/taskforestd line 144 > main::main() called at /tst/tools/taskForest/bin/taskforestd line > 129 > </pre> > > > Teresia Arthur > Software Developer 5 > Software Quality Tools and Infrastructure > Planning, Operations and Strategy > SAS Institute > > > > > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. > Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://www.creativitycat.com > _______________________________________________ > Taskforest-discuss mailing list > Tas...@li... > https://lists.sourceforge.net/lists/listinfo/taskforest-discuss > |
From: Aijaz A. <en...@us...> - 2009-05-25 23:35:27
|
Yes, that would do it. When you request a job be rerun and then delete the job from the Family before the job can be rerun, the status command (which is what the website is invoking) tries to access the missing record and that causes the error that you see. The system should handle this condition more gracefully. I'll fix this in the next release. The next version is 1.30, which is already out for testing, so I'll schedule this fix for the next release after that (it should be only a couple of lines of code). Thanks, Aijaz. ---------- Forwarded message ---------- From: Teresia Arthur Date: Fri, May 22, 2009 at 11:24 AM Subject: RE: [Taskforest-discuss] failure after rerun in taskforestd To: Aijaz Ansari <en...@us...> Ahhh….I found it. I was testing and clicked ‘rerun’ on a job then I stopped both taskforest and taskforestd. I replaced the family file with a much shorter one and restarted both taskforest and taskforestd. After doing that it seemed to get lost and I could never get the status page to show. I only got the errors which I sent you. Just now, I replaced the family file with the original and the status page is working again. Very interesting. |