← Back to team overview

pyax team mailing list archive

[Bug 293363] [NEW] NoneType' object has no attribute 'commit'

 

Public bug reported:

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 <root@xxxxxxxxxxxxxxxxxxxxx>
To: 	sfi-team@xxxxxxxxxxxxxxxxxxx
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'

** Affects: pyax
     Importance: Undecided
         Status: New

-- 
NoneType' object has no attribute 'commit'
https://bugs.launchpad.net/bugs/293363
You received this bug notification because you are a member of pyax
Developers, which is the registrant for pyax.



Follow ups

References