Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Fix for crash in up2date

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Back to topic list

Fix for crash in up2date

Reply

Author Frank Sweetser <fs at wpi dot edu>
Full name Frank Sweetser <fs at wpi dot edu>
Date 2003-06-26 07:27:35 PDT
Message I'm not really sure if this would be considered a bug in current or in up2date,
but here's the up2date side fix.

In up2date/packageList.py, function __findObsoletingPackages, near the end of
the function it does a test

  if op & int(obsSense)

but current is returning an empty string '' for obsSense, causing the int() to
throw an exception. The patch will make sure that current never returns an
empty string, but 0 instead.

--
Frank Sweetser fs at wpi.edu
WPI Network Engineer
Attachments

« Previous message in topic | 1 of 5 | Next message in topic »

Messages

Show all messages in topic

Fix for crash in up2date Frank Sweetser <fs at wpi dot edu> Frank Sweetser <fs at wpi dot edu> 2003-06-26 07:27:35 PDT
     Re: Fix for crash in up2date bleve Tuomo Soini 2003-06-27 01:27:51 PDT
     Re: Fix for crash in up2date bleve Tuomo Soini 2003-06-27 06:25:54 PDT
         Re: Fix for crash in up2date Frank Sweetser <fs at wpi dot edu> Frank Sweetser <fs at wpi dot edu> 2003-06-27 06:31:40 PDT
             Re: Fix for crash in up2date Hunter Matthews <thm at duke dot edu> Hunter Matthews <thm at duke dot edu> 2003-06-27 09:44:25 PDT
Messages per page: