Opened 12 months ago

Last modified 12 months ago

#14222 closed defect

not woking on trac 1.5.4 python 3.11 — at Initial Version

Reported by: oldguan@… Owned by: Jun Omae
Priority: normal Component: TracDragDropPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

Traceback (most recent call last):

File "C:\Python3\Lib\site-packages\trac\loader.py", line 80, in _load_eggs

entry.load(require=True)

File "C:\Python3\Lib\site-packages\pkg_resources\init.py", line 2471, in load

return self.resolve()

File "C:\Python3\Lib\site-packages\pkg_resources\init.py", line 2477, in resolve

module = import(self.module_name, fromlist=__name__?, level=0)

File "C:\Python3\Lib\site-packages\tracdragdrop\web_ui.py", line 88, in <module>

class TracDragDropModule(Component):

File "C:\Python3\Lib\site-packages\tracdragdrop\web_ui.py", line 327, in TracDragDropModule

if 'db' in inspect.getargspec(Attachment.select)[0]:

AttributeError: module 'inspect' has no attribute 'getargspec'

'getargspec' method may be removed https://docs.python.org/zh-cn/3/library/inspect.html

Change History (0)

Note: See TracTickets for help on using tickets.