Modify

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#14222 closed defect (fixed)

not woking on python 3.11

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/3/library/inspect.html

Attachments (0)

Change History (4)

comment:1 Changed 20 months ago by Jun Omae

Description: modified (diff)
Summary: not woking on trac 1.5.4 python 3.11not woking on python 3.11

comment:2 Changed 20 months ago by Jun Omae

Resolution: fixed
Status: newclosed

In 18544:

TracDragDrop: adapt to removed inspect.getargspec since Python 3.11 (closes #14222)

comment:3 Changed 20 months ago by Jun Omae

Description: modified (diff)

Documentation page should be en rather than zh.

comment:4 in reply to:  3 Changed 20 months ago by anonymous

Replying to Jun Omae:

Documentation page should be en rather than zh.

I will pay attention to it next time. good job,thanks

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
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.