Modify

Opened 2 months ago

Last modified 3 days ago

#13611 accepted defect

Plugin fails on Trac 1.4

Reported by: boris.brudnoy@… Owned by: Ryan J Ollos
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: alex Trac Release: 1.4

Description

When installed and enabled, the current trunk version of the plugin breaks Trac 1.4 with a message:

 Trac detected an internal error:
  AttributeError: 'Environment' object has no attribute 'systeminfo'

Uninstalling the plugin restores Trac to working order:

$ pip uninstall TracXMLRPC
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Uninstalling TracXMLRPC-1.1.7:
  Would remove:
    /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/TracXMLRPC-1.1.7.dist-info/*
    /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tracrpc/*
Proceed (y/n)? y
  Successfully uninstalled TracXMLRPC-1.1.7

Attachments (0)

Change History (8)

comment:1 Changed 2 months ago by anonymous

Since t:comment:34:ticket:11901 Plugins need to implement the ISystemInfoProvider interface instead of using systeminfo.

comment:2 Changed 2 months ago by Ryan J Ollos

Owner: changed from osimons to Ryan J Ollos
Status: newaccepted

comment:3 Changed 2 months ago by Ryan J Ollos

In 17498:

TracXMLRPC 1.1.8dev: Adapt to exception removed in Trac 1.3.1

Refs #13611.

comment:4 Changed 2 months ago by Ryan J Ollos

In 17499:

TracXMLRPC 1.1.8dev: Adapt to removal of systeminfo attribute

Refs #13611.

comment:5 Changed 2 months ago by Ryan J Ollos

There are a few more issues to fix. I will let you know when it's ready to test.

comment:6 Changed 2 months ago by Ryan J Ollos

It's too much to keep the plugin compatible all the way back to Trac 0.11. I'm going to make a branch and drop support for Trac < 1.4.

comment:7 Changed 5 weeks ago by anonymous

Any updates on this Ryan? Where can I check the new branch to try it out? Thanks

comment:8 Changed 3 days ago by alex

Cc: alex added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as accepted The owner will remain Ryan J Ollos.

Add Comment


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

 
Note: See TracTickets for help on using tickets.