Modify ↓
Opened 14 years ago
Closed 14 years ago
#9202 closed defect (worksforme)
easy_install error with wysiwig
| Reported by: | Owned by: | Jun Omae | |
|---|---|---|---|
| Priority: | normal | Component: | TracWysiwygPlugin |
| Severity: | normal | Keywords: | setuptools |
| Cc: | Trac Release: | 0.12 |
Description
I get the following error while installing the plugin:
[root@bangda trac]# easy_install http://trac-hacks.org/svn/tracwysiwygplugin/0.12
Downloading http://trac-hacks.org/svn/tracwysiwygplugin/0.12
error: Unexpected HTML page found at http://trac-hacks.org/svn/tracwysiwygplugin/0.12
Attachments (0)
Change History (3)
comment:1 Changed 14 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 Changed 14 years ago by
| Resolution: | worksforme |
|---|---|
| Status: | closed → reopened |
Do you mean an installation error with easy_install or trac itself? I tried the svn checkout method with no luck
[root@bangda ~]# easy_install /var/tmp/tracwysiwyg
Processing tracwysiwyg
Running setup.py -q bdist_egg --dist-dir /var/tmp/tracwysiwyg/egg-dist-tmp-yI8Mhl
unrecognized .svn/entries format; skipping .
Traceback (most recent call last):
File "/usr/bin/easy_install", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 1670, in main
with_ei_usage(lambda:
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 1659, in with_ei_usage
return f()
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 1674, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
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/easy_install.py", line 211, in run
self.easy_install(spec, not self.no_deps)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 427, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 471, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 655, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 930, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/usr/lib/python2.4/site-packages/setuptools/command/easy_install.py", line 919, in run_setup
run_setup(setup_script, args)
File "/usr/lib/python2.4/site-packages/setuptools/sandbox.py", line 26, in run_setup
DirectorySandbox(setup_dir).run(
File "/usr/lib/python2.4/site-packages/setuptools/sandbox.py", line 63, in run
return func()
File "/usr/lib/python2.4/site-packages/setuptools/sandbox.py", line 29, in <lambda>
{'__file__':setup_script, '__name__':'__main__'}
File "setup.py", line 18, in ?
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
comment:3 Changed 14 years ago by
| Keywords: | setuptools added; tracwysiwygplugin easy_install removed |
|---|---|
| Resolution: | → worksforme |
| Status: | reopened → closed |
This is setuptools issue. Not trac issue. The old setuptools cannot understand subversion 1.6 working directory.
Use the latest setuptools or distribute instead.
If you don't want to upgrade, you can use svn export ... instead of svn co ....
Note: See
TracTickets for help on using
tickets.



I think it's installation issue. Please check the URL is accessable with your browser. Or you can do the following step.
$ svn co http://trac-hacks.org/svn/tracwysiwygplugin/0.12 /var/tmp/tracwysiwyg$ easy_install /var/tmp/tracwysiwyg$ rm -rf /var/tmp/tracwysiwygI can install under my environment.