Modify

Opened 7 years ago

Closed 7 years ago

#7321 closed defect (duplicate)

Python 2.6 & import sha depreciated

Reported by: xarkam Owned by: Peter Kropf
Priority: normal Component: GraphvizPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

graphviz make an error message in apache error.log

/usr/local/lib/python2.6/dist-packages/graphviz-0.7.6dev-py2.6.egg/graphviz/graphviz.py:23: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha

But, if i replace import sha by import haslib, graphviz plugin not anymore loaded by trac on apache reloading.

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by anonymous

See patch attached to #7702

comment:2 Changed 7 years ago by anonymous

Resolution: duplicate
Status: newclosed

...and #5747 as well.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Peter Kropf.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.