--> -->
 
 
ValueError
Python 2.2.3: /usr/bin/python
Sat Jul 5 01:16:15 2008

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/fhlinux180/o/ossiemanners.co.uk/user/htdocs/cgi-bin/counter.py
    9 CounterFile.close()
   10 CounterFile = open( Path, "w" )
   11 CurrentHits = str(int(CurrentHits)+1)
   12 CounterFile.write(str(CurrentHits))
   13 CounterFile.close()
CurrentHits = '', str undefined, int undefined

ValueError: invalid literal for int():
      __doc__ = 'Inappropriate argument value (of correct type).'
      __getitem__ = <bound method ValueError.__getitem__ of <exceptions.ValueError instance>>
      __init__ = <bound method ValueError.__init__ of <exceptions.ValueError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method ValueError.__str__ of <exceptions.ValueError instance>>
      args = ('invalid literal for int(): ',)

Ossie's Web Page

Welcome; from here you can download any of my great freeware games and give me any comments about them by signing the guest book at the top of this page. To play them just download, unzip them and run the executable. If you are running Windows 95 You may need the VB runtime files.

See Pictures of my friends here

My Guestbook

View old guestbook

Dots and Boxes: Just like the original pen and paper game but this time you pit your wits against an intelligent computer opponent: Download 2.6
Ossisnake: Inspired by the mobile phone version of this classic game I have brought it to the PC Download 1.15
3D - Tictactoe It is also called Qubic and 3-D Naughts and crosses play against a friend or against your CP Download 2.41
Log Sailing: uses directX 7 to display not so awsome graphics. Its a simple fun game with a good story line : Download 1.2
Spit: the great card game we all used to and still do play. Now you can play against the computer: Download 0.82
Ossiracing: the simple but addictive direct X racing game, check out the stero sound: Download 1.1
n in a row: Play is on a square board the first person to get n in a row wins. You can set the rules to play connect 4, go-moku and tic-tac-toe.The game isn't quite finished. Download 0.61
Beans: A collection of various games involving beans. Rules of the games can be found on my friend Andrew Snowden's bean page. Only Bean2 implemented.. Download
Chomp: You take it in turns to eat chomps out of a chocolate bar but the person who finishes it first loses. A mathematically rich and interesting game you can play against a friend or the computer. Download 1.46
Su Doku Solver: Ever played Su Doku, that silly game in the Times? This solves it for you. Download 1.4
Alarm: A lightweight alarm clock/egg timer for cooking and making sure you don't miss TV programmes etc. Download 1.0

Picture of me

Links Mark Chesterman
Henry Segerman
Andrew Snowden
Will Donovon
Francis Bacon
Chris Manners
Sam S-G
Last modified: Sunday, 20 May 2007.