<div>Hi there<br clear="all"></div><div>I've found some strange issue with tv while using stumpwm. tv was crashing while I was trying to load some table, so I got such output to my console:</div><div>### log begins here ###</div>
<div>=ERROR REPORT==== 22-Oct-2009::16:31:05 ===<br>Error in process <0.571.0> with exit value: {function_clause,[{lists,nthtail,[6,[]]},{tv_pg_gridfcns,resize_grid,3},{tv_pg,loop,1}]}<br><br>Internal error... restarting. <br>
10> <br>=ERROR REPORT==== 22-Oct-2009::16:31:06 ===<br>Error in process <0.578.0> with exit value: {function_clause,[{lists,nthtail,[6,[]]},{tv_pg_gridfcns,resize_grid,3},{tv_pg,loop,1}]}<br>
<br>Internal error... restarting. </div><div></div><div>### log ends here ###<br><br></div><div>So it continued restarting over and over again. The problem was with call to lists:nthtail(6,[]) which raised exception:</div>
<div>** exception error: no function clause matching lists:nthtail(6,[])</div><div>So I've made small changes to tv_pg_gridfcns.erl file. Patch attached.</div><br>-- <br>wbr, dym<br>