<div dir="ltr">Hi Sergio,<div><br></div><div>I am not sure they are related but I had a similar problem and the solution was to remove some entries in the earthquake table that had null values for tabsol and tzone. It happened to me because I ran a scenario and the directory name for the input/event.xml file did not match the earthquake id in the event.xml file and shake created 2 entries in the earthquake table, one of which had the null values I described above.</div><div><br></div><div>So please take a look at your earthquake table for records with null values for the 2 fields mentioned, and hopefully that is the issue.</div><div><br></div><div>Tim</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 11:43 AM, Sergio Arregui <span dir="ltr"><<a href="mailto:sarregui@cicese.mx" target="_blank">sarregui@cicese.mx</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
we are having problems in genex since last december, before this worked ok. Here is a sample of the output and the error, has anybody experienced something similar, does someone knows how to fix this?<br>
<br>
{shake@postproc:bin} ./shake -event 60029286 -verbose<br>
shake started event 60029286 at Thu Jan 22 18:26:25 2015<br>
2015-01-22 18:26:25 : shake: Running: '/home/shake/sfw/shakemap/src/<u></u>bin/../bin/retrieve -event 60029286'<br>
2015-01-22 18:26:26 : db2xml: No amps available for event 60029286 in database rtdb2<br>
2015-01-22 18:26:26 : db2xml: db2xml child 3: returned 1<br>
2015-01-22 18:26:26 : db2xml: At least 23 stations available for event 60029286<br>
2015-01-22 18:26:26 : shake: Running: '/home/shake/sfw/shakemap/src/<u></u>bin/../bin/grind -event 60029286 -qtm -xml -boundcheck -gmpesc -lonspan 3.0'<br>
Uncertainty computation skipped (no Intensity > 6.0)<br>
2015-01-22 18:26:34 : shake: Done with 'grind'<br>
2015-01-22 18:26:34 : shake: Running: '/home/shake/sfw/shakemap/src/<u></u>bin/../bin/tag -event 60029286'<br>
2015-01-22 18:26:34 : shake: Done with 'tag'<br>
2015-01-22 18:26:34 : shake: Running: '/home/shake/sfw/shakemap/src/<u></u>bin/../bin/mapping -event 60029286 -timestamp -itopo'<br>
Printing grade - (-0.000)<br>
2015-01-22 18:27:17 : shake: Done with 'mapping'<br>
2015-01-22 18:27:17 : shake: Running: '/home/shake/sfw/shakemap/src/<u></u>bin/../bin/genex -event 60029286 -zip -metadata -shape shape'<br>
The 'hour' parameter (undef) to DateTime::new was an 'undef', which is not one of the allowed types: scalar<br>
at /usr/local/lib/perl/5.14.2/<u></u>DateTime.pm line 195<br>
DateTime::new(undef, 'year', undef, 'month', undef, 'day', undef, 'hour', undef, ...) called at /home/shake/sfw/shakemap/src/<u></u>bin/../perl/lib/Genex/Html.pm line 741<br>
Genex::Html::tabsol2dt(undef, undef) called at /home/shake/sfw/shakemap/src/<u></u>bin/../perl/lib/Genex/<u></u>ArchivePages.pm line 364<br>
Genex::ArchivePages::set_<u></u>params('Genex::ArchivePages=<u></u>HASH(0x31a0e28)', 'HASH(0x2f8d908)') called at /home/shake/sfw/shakemap/src/<u></u>bin/../perl/lib/Genex/Html.pm line 273<br>
Genex::Html::fill_templates('<u></u>HASH(0x2f8d908)') called at /home/shake/sfw/shakemap/src/<u></u>bin/../bin/genex line 525<br>
main::main() called at /home/shake/sfw/shakemap/src/<u></u>bin/../bin/genex line 243<br>
Error in genex: 65280<br>
<br>
Thank you<br>
<br>
Cheers!<span class="HOEnZb"><font color="#888888"><br>
<br>
Sergio Arregui<br>
CICESE<br>
Mexico<br>
______________________________<u></u>_________________<br>
Shake-dev mailing list<br>
<a href="mailto:Shake-dev@geohazards.usgs.gov" target="_blank">Shake-dev@geohazards.usgs.gov</a><br>
<a href="https://geohazards.usgs.gov/mailman/listinfo/shake-dev" target="_blank">https://geohazards.usgs.gov/<u></u>mailman/listinfo/shake-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Tim MacDonald<div><div>IT Specialist</div><div><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">Earthquake Science Center<br>U.S. Geological Survey<br></div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)">345 Middlefield Rd., MS-977</span><br style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><div><span style="background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px">Menlo Park, CA 94025</span></div><div>(650) 329-5141</div><div><br></div></div></div>
</div>