Modify

Opened 4 years ago

Closed 4 years ago

#7321 closed defect (duplicate)

Python 2.6 & import sha depreciated

Reported by: xarkam Owned by: pkropf
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 4 years ago by anonymous

See patch attached to #7702

comment:2 Changed 4 years ago by anonymous

  • Resolution set to duplicate
  • Status changed from new to closed

...and #5747 as well.

Add Comment

Modify Ticket

Action
as closed The owner will remain pkropf.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.