Modify ↓
Opened 15 years ago
Closed 15 years ago
#7361 closed defect (worksforme)
Which revision for Trac 0.12 and Python 2.4?
| Reported by: | Owned by: | osimons | |
|---|---|---|---|
| Priority: | low | Component: | XmlRpcPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Olemis Lang | Trac Release: | 0.12 |
Description
I am trying to install this plugin for a RHEL 5 machine using Trac 0.12 and Python 2.4. I am not allowed to upgrade Python on the machine. What revision should I check out to be able to work with Python 2.4?
Currently, I check out the latest version,
> svn co http://trac-hacks.org/svn/xmlrpcplugin/trunk/ xmlrpcplugin
and try to build, but I get the following error:
> cd xmlrpcplugin
> python setup.py bdist_egg
running bdist_egg
unrecognized .svn/entries format; skipping .
running egg_info
creating TracXMLRPC.egg-info
writing TracXMLRPC.egg-info/PKG-INFO
writing top-level names to TracXMLRPC.egg-info/top_level.txt
writing dependency_links to TracXMLRPC.egg-info/dependency_links.txt
writing entry points to TracXMLRPC.egg-info/entry_points.txt
writing manifest file 'TracXMLRPC.egg-info/SOURCES.txt'
Traceback (most recent call last):
File "setup.py", line 37, in ?
entry_points={
File "/usr/lib64/python2.4/distutils/core.py", line 149, in setup
dist.run_commands()
File "/usr/lib64/python2.4/distutils/dist.py", line 946, in run_commands
self.run_command(cmd)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/bdist_egg.py", line 167, in run
self.run_command("egg_info")
File "/usr/lib64/python2.4/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib64/python2.4/distutils/dist.py", line 966, in run_command
cmd_obj.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 171, in run
self.find_sources()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 252, in find_sources
mm.run()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 306, in run
self.add_defaults()
File "/usr/lib/python2.4/site-packages/setuptools/command/egg_info.py", line 333, in add_defaults
rcfiles = list(walk_revctrl())
File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 45, in walk_revctrl
for item in ep.load()(dirname):
File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 52, in _default_revctrl
for path in finder(dirname,path):
File "/usr/lib/python2.4/site-packages/setuptools/command/sdist.py", line 98, in entries_finder
log.warn("unrecognized .svn/entries format in %s", dirname)
NameError: global name 'log' is not defined
Attachments (0)
Note: See
TracTickets for help on using
tickets.



NEVERMIND. I'm an idiot. I forgot to delete the .svn directory. Everything builds fine now. SORRY.