#3181 closed defect (worksforme)
[0.11] ImportError: No module named posixpath
Reported by: | Owned by: | Alec Thomas | |
---|---|---|---|
Priority: | high | Component: | XmlRpcPlugin |
Severity: | critical | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
Hello,
i have installed
eclipse 3.3.2
trac11-stable (Trac 0.11dev-r7200)
xmlrpc 0.1
when i activate the xmlrpc with
[components]
tracrpc.* = enabled
OR
tracrpc.web_ui.xmlrpcweb = enabled
then come the errortext ->
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r7200-py2.4.egg/trac/web/api.py", line 339, in send_error 'text/html') File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r7200-py2.4.egg/trac/web/chrome.py", line 683, in render_template template = self.load_template(filename, method=method) File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r7200-py2.4.egg/trac/web/chrome.py", line 659, in load_template self.templates = TemplateLoader(self.get_all_templates_dirs(), File "/usr/lib/python2.4/site-packages/Trac-0.11dev_r7200-py2.4.egg/trac/web/chrome.py", line 406, in get_all_templates_dirs dirs += provider.get_templates_dirs() File "build/bdist.linux-i686/egg/tracrpc/web_ui.py", line 76, in get_templates_dirs File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 16, in ? import sys, os, zipimport, time, re, imp, new File "os.py", line 48, in ? import posixpath as path ImportError: No module named posixpath
also i cant send a new task from eclipse to trac.
i become error message
"unable to submite at this time"
i use the xml-rpc plugin(rev 1950)
what can i do for better help ?
thx
marian
Attachments (0)
Change History (9)
comment:1 Changed 16 years ago by
Priority: | normal → high |
---|---|
Severity: | normal → critical |
Trac Release: | 0.10 → 0.11 |
comment:2 follow-up: 3 Changed 16 years ago by
Description: | modified (diff) |
---|
From the error log above it appears that your installation of Python is incomplete:
ImportError: No module named posixpath
comment:3 Changed 16 years ago by
Replying to stp:
From the error log above it appears that your installation of Python is incomplete:
ImportError: No module named posixpath
So how do you fix this problem?
comment:4 Changed 16 years ago by
Owner: | changed from Alec Thomas to Glenn |
---|---|
Status: | new → assigned |
can you reinstall python without affecting the current trac installation? Can i find this one library and install it; if so where would i find it (i've looked can't find)?
comment:5 Changed 16 years ago by
Owner: | changed from Glenn to Alec Thomas |
---|---|
Status: | assigned → new |
oops
comment:6 Changed 16 years ago by
I was using the 0.10 version which has this issue. At this time trunk does not have this issue on trac 0.11.2.
comment:7 Changed 16 years ago by
I'm running on Gentoo and I didn't have mod_python installed. Before this plugin was installed everything was working fine with Trac. I ended up with the same error with this plugin and found that when I installed mod_python it fixed the problem with no code changes. This was of course with the trunk version of the plugin.
My Enviroment:
apache: 2.2.9-r1
python: 2.5.2-r7
trac: 0.11.2.1
setuptools: 0.6c9
mod_python: 3.3.1-r1 [After The Fix]
Here's what I did on Gentoo (this will very greatly depending on your distro):
emerge mod_python
added "-D PYTHON" to /etc/conf.d/apache2 [Make sure Apache starts with mod_python support]
/etc/init.d/apache2 restart [Restart Apache]
I hope this helps someone :)
comment:8 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Please reopen if you are still experiencing the error with the latest from trunk.
comment:9 Changed 15 years ago by
Summary: | xmlrpc eclipse 3.3.2 (trac 11-stable) → [0.11] ImportError: No module named posixpath |
---|
I have same problem with same version of eclipse 3.3.2 and trac 0.11 stable.
What am I do?