--> --> -->
 
 
<type 'exceptions.ValueError'>
Python 2.7.1: /usr/bin/python
Mon May 20 15:52:05 2013

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/tim1357/public_html/cgi-bin/wikiproject_watchlist.py in ()
    414         output.done()
    415 
    416         
    417 if __name__=='__main__':        
=>  418         newMain()
newMain = <function newMain>
 /home/tim1357/public_html/cgi-bin/wikiproject_watchlist.py in newMain()
    356         
    357         output.add('<title>Wikiproject Watchlist - %s</title>'%escape(form['template'].replace('_',' ')))
=>  358         output.add('<div id="header"><center><span class="no">Bugs/Feedback Appreciated %s | Hitcount: %s</center></span></div>'%(linkify('http://en.wikipedia.org/wiki/user_talk:Tim1357','here'),commafy(hit())))
    359         output.add('<h2>Tim1357\'s Wikiproject Watchlist</h2><div id="content">')
    360         output.add('''<center><form name =lol method=GET action = 'http://toolserver.org/~tim1357/cgi-bin/ww2.py'>''')
output = <__main__.Output instance>, output.add = <bound method Output.add of <__main__.Output instance>>, global linkify = <function <lambda>>, global commafy = <function commafy>, global hit = <function hit>
 /home/tim1357/public_html/cgi-bin/wikiproject_watchlist.py in hit(p=False)
    150 def hit(p=False):
    151         l = int(
=>  152         file('log','r').read()
    153         )
    154         if p: return l
builtin file = <type 'file'>, ).read = <method 'read' of 'file' objects>

<type 'exceptions.ValueError'>: invalid literal for int() with base 10: ''
      args = ("invalid literal for int() with base 10: ''",)
      message = "invalid literal for int() with base 10: ''"