[svn r6853] Revised script to give more informative error reporting

This commit is contained in:
dave 2005-05-28 10:47:25 +02:00
parent 565248b3b3
commit 51d8d64a3d
2 changed files with 11 additions and 7 deletions

View File

@ -20,7 +20,7 @@ h3 {text-align: center}
<p>This page lists the lengths, depths and horizontal extents of those caves on
the plateau for which we have survey centerline data. At present, that's only
74 out of 250 or so, but the missing ones are mostly very small and obscure;
75 out of 250 or so, but the missing ones are mostly very small and obscure;
the notable exceptions are some caves explored by other groups (35, LA25,
BS17), and CUCC caves 71, 76, 92, 96 and 97. Of the latter 76 (by far the most
significant of these) is in the process of being re-explored, and the figures
@ -88,10 +88,11 @@ caves</a></p>
<tr><td>207</td><td class="name"><a href="plateau/207.htm">Plumpskloh&ouml;hle</a></td><td>8.3</td><td>1.2</td><td>7.0</td></tr>
<tr><td>208</td><td class="name"><a href="plateau/208.htm">Quallenh&ouml;hle</a></td><td>15.6</td><td>9.7</td><td>6.4</td></tr>
<tr><td>209</td><td class="name"><a href="smkridge/209.htm">Schistock-Absturzschacht</a></td><td>16.5</td><td>16.0</td><td>3.8</td></tr>
<tr><td>215</td><td class="name"><a href="smkridge/215.html">Rufverbindungsh&ouml;hle</a></td><td>48.7</td><td>10.8</td><td>21.9</td></tr>
<tr><td>215</td><td class="name"><a href="smkridge/215/215.html">Rufverbindungsh&ouml;hle</a></td><td>48.7</td><td>10.8</td><td>21.9</td></tr>
<tr><td>216</td><td class="name"><a href="smkridge/216.html">Nichts 50</a></td><td>104.9</td><td>27.0</td><td>59.1</td></tr>
<tr><td>228</td><td class="name"><a href="noinfo/egglgrub/228.html">?</a></td><td>29.7</td><td>9.7</td><td>18.4</td></tr>
<tr><td>229</td><td class="name"><a href="noinfo/smkridge/229.html">?</a></td><td>55.5</td><td>15.6</td><td>30.7</td></tr>
<tr><td>220</td><td class="name"><a href="smkridge/220.html">Kennedy Alternative</a></td><td>8.3</td><td>5.5</td><td>6.3</td></tr>
<tr><td>228</td><td class="name"><a href="noinfo/egglgrub/228.html">Kleine Schnellzugh&ouml;hle</a></td><td>29.7</td><td>9.7</td><td>18.4</td></tr>
<tr><td>229</td><td class="name"><a href="noinfo/smkridge/229.html">Wei&szlig;e H&ouml;hle</a></td><td>55.5</td><td>15.6</td><td>30.7</td></tr>
<tr><td>231</td><td class="name"><a href="smkridge/231/231.html">Traungoldh&ouml;hle</a></td><td>226.7</td><td>26.1</td><td>51.2</td></tr>
<tr><td>234</td><td class="name"><a href="smkridge/234/234.html">Hauchh&ouml;hle</a></td><td>618.7</td><td>61.1</td><td>126.6</td></tr>
<tr><td>239</td><td class="name"><a href="smkridge/239/239.html">Rock'n'Roll H&ouml;hle</a></td><td>503.2</td><td>40.4</td><td>172.4</td></tr>

View File

@ -73,9 +73,12 @@ def parse_csvfile():
#if(cave["Depth"]): print number, "depth:", cave["Depth"]
#if(cave["Extent"]): print number, "extent:", cave["Extent"]
else:
l,d,w = map(float, chomp(stats).split("\t"))
caveslist.append([number,l,d,w,cave])
try:
l,d,w = map(float, chomp(stats).split("\t"))
caveslist.append([number,l,d,w,cave])
except:
print "Error on", number
raise
print "|\nWriting output file"
return caveslist