Ticket #337 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

Umit doesn't save scans in database

Reported by: luis Owned by: luis
Priority: medium Milestone: Umit 1.0RC
Component: Umit Version: current svn
Keywords: Cc:

Description

Just make a simple scan, and close the tab. Go to search and try find it.

The problem occurs because md5 is deprecated in python2.5 or greater.

Attachments

337.patch (1.7 kB) - added by luis 15 months ago.

Change History

Changed 15 months ago by luis

Changed 15 months ago by luis

"from hashlib import md5" - it is a solution but it have a different API.

I'm keeping compatibility with python2.4.

Tested with:
Linux: Python 2.4 and Python 2.5
Windows: Python 2.5 with py2exe

Changed 15 months ago by cassiano

Before this patch, data not being stored on DB with Python 2.5.

I tested with:
Python 2.5.4 on Linux
Python 2.5.4 on MacOS

And both worked well.

Changed 15 months ago by luis

  • status changed from new to closed
  • resolution set to fixed

Fixed r4942.

Thanks Daniel for report and review.

Add/Change #337 (Umit doesn't save scans in database)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.