Modify

Opened 2 years ago

Last modified 2 years ago

#14088 new defect

TypeError: Dot.__init__() got an unexpected keyword argument 'log'

Reported by: v.jean.vittor@… Owned by:
Priority: normal Component: MasterTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.4

Description

How to Reproduce

While doing a GET operation on /depgraph/ticket/10, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'id': '10', 'realm': 'ticket'}

User agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0

System Information

Trac 1.5.3
Babel 2.9.1
Jinja2 N/A
pysqlite 2.6.0
Python 3.10.0 (default, Oct 4 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat 11.2.1-1)]
pytz 2021.3
setuptools 57.4.0
SQLite 3.36.0
jQuery 1.12.4
jQuery UI 1.12.1
jQuery Timepicker 1.6.3

Enabled Plugins

TraceableMacro 0.0.1.dev0
TracMasterTickets 4.0.5.dev0

Interface Customization

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python3.10/site-packages/trac/web/main.py", line 610, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python3.10/site-packages/trac/web/main.py", line 302, in dispatch
    raise e
  File "/usr/lib/python3.10/site-packages/trac/web/main.py", line 248, in dispatch
    resp = chosen_handler.process_request(req)
  File "/home/jean/work/quintech/trac/plugins/TracMasterTickets-4.0.5.dev0-py3.10.egg/mastertickets/web_ui.py", line 244, in process_request
    g = self._build_graph(req, tkt_ids, label_summary=label_summary)
  File "/home/jean/work/quintech/trac/plugins/TracMasterTickets-4.0.5.dev0-py3.10.egg/mastertickets/web_ui.py", line 311, in _build_graph
    g = graphviz.Graph(log=self.log)
TypeError: Dot.__init__() got an unexpected keyword argument 'log'

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

The plugin isn't compatible with Python3. It will need to be migrated.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.