Bugs item #905532, was opened at 2004-02-26 20:33 Message generated for change (Comment added) made by bwarsaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=905532&group_id=103 Category: configuring/installing Group: 2.1 (stable)
Status: Closed Resolution: Fixed Priority: 5 Submitted By: Tokio Kikuchi (tkikuchi) Assigned to: Nobody/Anonymous (nobody) Summary: bin/update fail 2.1.5
Initial Comment: pending.pck was moved from data directory to per list directories. bin/update script succesfully cares this when 2.1.4 to 2.1.5 version up but ends in error if you want updat from 2.1.5 to 2.1.5 (alpha version up from CVS). here is the error message. Traceback (most recent call last): File "bin/update", line 774, in ? errors = main() File "bin/update", line 698, in main update_pending() File "bin/update", line 563, in update_pending for key, val in db.items(): AttributeError: 'NoneType' object has no attribute 'items' I hope the attached patch may be useful. ----------------------------------------------------------------------
Comment By: Barry A. Warsaw (bwarsaw) Date: 2004-02-28 23:41
Message: Logged In: YES user_id=12800 I found the same bug today before I saw report! I think the fix is actually to just return when db is still None (because it's already been updated, or otherwise doesn't exist). That's what I checked into cvs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100103&aid=905532&group_id=103