Completed

Debug Python 2.7 script

This project was successfully completed by malashkevich for £20 GBP in a day.

Get free quotes for a project like this
Employer working
Project Budget
£20 - £250 GBP
Completed In
1 day
Total Bids
21
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/[url removed, login to view]", line 532, in __bootstrap_inner

[url removed, login to view]()

File "[url removed, login to view]", line 73, in run

process_message([url removed, login to view], [url removed, login to view], [url removed, login to view], [url removed, login to view], data_in)

File "[url removed, login to view]", line 149, in process_message

rc = process_decrypted(node, skts, cfg, enc, message)

File "[url removed, login to view]", line 279, in process_decrypted

return reply

File "/usr/local/lib/python2.6/dist-packages/pony/orm/[url removed, login to view]", 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/[url removed, login to view]", line 96, in cut_traceback

return func(*args, **kwargs)

File "/usr/local/lib/python2.6/dist-packages/pony/orm/[url removed, login to view]", line 269, in commit

reraise(CommitException, exceptions)

File "/usr/local/lib/python2.6/dist-packages/pony/orm/[url removed, login to view]", line 263, in commit

try: [url removed, login to view]()

File "/usr/local/lib/python2.6/dist-packages/pony/orm/[url removed, login to view]", line 3657, in commit

[url removed, login to view]()

File "/usr/local/lib/python2.6/dist-packages/pony/orm/[url removed, login to view]", line 3720, in save

obj._save_()

File "/usr/local/lib/python2.6/dist-packages/pony/orm/[url removed, login to view]", line 3591, in _save_

elif status == 'updated': obj._save_updated_()

File "/usr/local/lib/python2.6/dist-packages/pony/orm/[url removed, login to view]", 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/[url removed, login to view]", 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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online