Modify

Opened 9 years ago

Closed 8 years ago

#2818 closed defect (fixed)

Trac crashes after installing the XMLRPC plugin

Reported by: pqajjv Owned by: Odd Simon Simonsen
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 8 years ago by Odd Simon Simonsen

Owner: changed from Alec Thomas to Odd Simon Simonsen

I'll fix this. Next on the list.

comment:2 Changed 8 years ago by Odd Simon Simonsen

Resolution: fixed
Status: newclosed

(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.

Modify Ticket

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