NoneType' object has no attribute 'commit'

Bug #293363 reported by Julien Funk
2
Affects Status Importance Assigned to Milestone
pyax
New
Undecided
Unassigned

Bug Description

Kevin Shuk and I spent some time on the phone looking for the cause of this defect and could not discern a cause. We decided we would add some more logging to the code where the following error message originated from. It is our goal to catch the transient error y adding more effective logging to the area where the error occurred.

From: Cron Daemon <email address hidden>
To: <email address hidden>
Subject: Cron <sfi-prod@niobium> /srv/salesforce/production/production/sfi-salesforce/bin/selfservcontacts 7
Date: Thu, 30 Oct 2008 11:00:09 +0000 (GMT) (04:00 PDT)

Traceback (most recent call last):
  File "/srv/salesforce/production/production/sfi-salesforce/bin/../canonical/salesforce/sfi_crons/selfservcontacts.py", line 119, in ?
    main()
  File "/srv/salesforce/production/production/sfi-salesforce/bin/../canonical/salesforce/sfi_crons/selfservcontacts.py", line 112, in main
    process_selfserv_users(args.get('days'))
  File "/srv/salesforce/production/production/sfi-salesforce/bin/../canonical/salesforce/sfi_crons/selfservcontacts.py", line 64, in process_selfserv_users
    changed_contact_batch.update()
  File "/srv/salesforce/production/production/sfi-pyax/pyax/sobject/batch.py", line 193, in update
    self[save_result['id']].commit()
AttributeError: 'NoneType' object has no attribute 'commit'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.