Debug Python 2.7 script

IN PROGRESS
Bids
21
Avg Bid (GBP)
£133
Project Budget (GBP)
£20 - £250

Project Description:
I have a small server-side script that is wroking fine when a single user is logged in, but when multiple users access the system I m getting exceptions from the MySQL connection as shown below:

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
self.run()
File "aiopi.py", line 73, in run
process_message(self.node, self.skts, self.cfg, self.enc, data_in)
File "aiopi.py", line 149, in process_message
rc = process_decrypted(node, skts, cfg, enc, message)
File "aiopi.py", line 279, in process_decrypted
return reply
File "/usr/local/lib/python2.6/dist-packages/pony/orm/core.py", line 354, in __exit__
if exc_type is None: commit() # exc_value can be None in Python 2.6 even if exc_type is not None
File "<string>", line 2, in commit
File "/usr/local/lib/python2.6/dist-packages/pony/utils.py", line 96, in cut_traceback
return func(*args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/pony/orm/core.py", line 269, in commit
reraise(CommitException, exceptions)
File "/usr/local/lib/python2.6/dist-packages/pony/orm/core.py", line 263, in commit
try: primary_cache.commit()
File "/usr/local/lib/python2.6/dist-packages/pony/orm/core.py", line 3657, in commit
cache.save()
File "/usr/local/lib/python2.6/dist-packages/pony/orm/core.py", line 3720, in save
obj._save_()
File "/usr/local/lib/python2.6/dist-packages/pony/orm/core.py", line 3591, in _save_
elif status == 'updated': obj._save_updated_()
File "/usr/local/lib/python2.6/dist-packages/pony/orm/core.py", line 3522, in _save_updated_
throw(UnrepeatableReadError, 'Object %s was updated outside of current transaction' % safe_repr(obj))
File "/usr/local/lib/python2.6/dist-packages/pony/utils.py", line 123, in throw
raise exc
CommitException: Object node[2] was updated outside of current transaction


I am looking for someone who can help debug this. Debugging would need to occur "in-situ" and login details to the server will be provided.

Additional Project Description:
03/05/2014 at 7:44 AKST
The MySQL connections are handled by PonyORM but I am happy for this to change to a pure MySQL connection if desired.

The code is currently less than 350 lines so should be considered an easy project by any Python professionals.


03/06/2014 at 4:58 AKST
I am happy to move the Django if this is helpful in ensuring a reliable solution.

Skills required:
Django, MySQL, Python
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


£ 170
in 1 days
Hire ebson
£ 178
in 3 days
£ 309
in 5 days
£ 250
in 4 days
Hire liuyu81
£ 100
in 3 days
Hire denep
£ 40
in 3 days
Hire GeorgeKazi
£ 150
in 3 days
Hire brucevdkooij
£ 35
in 0 days
Hire Venky117
£ 100
in 3 days
£ 150
in 5 days