Modify

Opened 7 years ago

Closed 5 years ago

#2818 closed defect (fixed)

Trac crashes after installing the XMLRPC plugin

Reported by: pqajjv Owned by: osimons
Priority: normal Component: XmlRpcPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

After installing the XMLPRC plugin, trac crashes with the following the error below.

This issue was reported by other users on the main Trac site: Ticket 4280 at the Edgewall Trac system.

Error:

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/api.py", line 339, in send_error

'text/html')

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py", line 672, in render_template

template = self.load_template(filename, method=method)

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py", line 648, in load_template

self.templates = TemplateLoader(self.get_all_templates_dirs(),

File "/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py", line 402, in get_all_templates_dirs

dirs += provider.get_templates_dirs()

File "build/bdist.linux-x86_64/egg/tracrpc/web_ui.py", line 76, in get_templates_dirs File "/usr/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py", line 16, in ?

import sys, os, zipimport, time, re, imp, new

File "/usr/lib64/python2.4/os.py", line 48, in ?

import posixpath as path

ImportError: No module named posixpath

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by osimons

  • Owner changed from athomas to osimons

I'll fix this. Next on the list.

comment:2 Changed 5 years ago by osimons

  • Resolution set to fixed
  • Status changed from new to closed

(In [6106]) XmlRpcPlugin: Removing use of posixpath and replacing with os.path. Also added tests for wiki attachments where this code was used.

Closes #2818.

Add Comment

Modify Ticket

Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.