Opened 12 months ago

Last modified 12 months ago

#14222 closed defect

not woking on python 3.11 — at Version 1

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

Description (last modified by Jun Omae)

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 (1)

comment:1 Changed 12 months ago by Jun Omae

Description: modified (diff)
Summary: not woking on trac 1.5.4 python 3.11not woking on python 3.11
Note: See TracTickets for help on using tickets.