Opened 5 years ago

Closed 5 years ago

#9202 closed defect (worksforme)

easy_install error with wysiwig

Reported by: anadi.msr@… Owned by: jun66j5
Priority: normal Component: TracWysiwygPlugin
Severity: normal Keywords: setuptools
Cc: Trac Release: 0.12


I get the following error while installing the plugin:

[root@bangda trac]# easy_install
error: Unexpected HTML page found at

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by jun66j5

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

I think it's installation issue. Please check the URL is accessable with your browser. Or you can do the following step.

  1. $ svn co /var/tmp/tracwysiwyg
  2. $ easy_install /var/tmp/tracwysiwyg
  3. $ rm -rf /var/tmp/tracwysiwyg

I can install under my environment.

install_dir /usr/lib/python2.4/site-packages/
Doing subversion checkout from to /tmp/easy_install-rRuHEl/0.12
Processing 0.12
Running -q bdist_egg --dist-dir /tmp/easy_install-rRuHEl/0.12/egg-dist-tmp-0lplSd
zip_safe flag not set; analyzing archive contents...
Adding TracWysiwyg to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/TracWysiwyg-
Processing dependencies for TracWysiwyg==
Finished processing dependencies for TracWysiwyg==

comment:2 Changed 5 years ago by anadi.msr@…

  • Resolution worksforme deleted
  • Status changed from closed to 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 -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 ?
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 1670, in main
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 1659, in with_ei_usage
    return f()
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 1674, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "/usr/lib64/python2.4/distutils/", line 149, in setup
  File "/usr/lib64/python2.4/distutils/", line 946, in run_commands
  File "/usr/lib64/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 211, in run
    self.easy_install(spec, not self.no_deps)
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 427, in easy_install
    return self.install_item(None, spec, tmpdir, deps, True)
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 471, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 655, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 930, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 919, in run_setup
    run_setup(setup_script, args)
  File "/usr/lib/python2.4/site-packages/setuptools/", line 26, in run_setup
  File "/usr/lib/python2.4/site-packages/setuptools/", line 63, in run
    return func()
  File "/usr/lib/python2.4/site-packages/setuptools/", line 29, in <lambda>
    {'__file__':setup_script, '__name__':'__main__'}
  File "", line 18, in ?
  File "/usr/lib64/python2.4/distutils/", line 149, in setup
  File "/usr/lib64/python2.4/distutils/", line 946, in run_commands
  File "/usr/lib64/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 167, in run
  File "/usr/lib64/python2.4/distutils/", line 333, in run_command
  File "/usr/lib64/python2.4/distutils/", line 966, in run_command
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 171, in run
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 252, in find_sources
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 306, in run
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 333, in add_defaults
    rcfiles = list(walk_revctrl())
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 45, in walk_revctrl
    for item in ep.load()(dirname):
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 52, in _default_revctrl
    for path in finder(dirname,path):
  File "/usr/lib/python2.4/site-packages/setuptools/command/", line 98, in entries_finder
    log.warn("unrecognized .svn/entries format in %s", dirname)
NameError: global name 'log' is not defined

comment:3 Changed 5 years ago by jun66j5

  • Keywords setuptools added; tracwysiwygplugin easy_install removed
  • Resolution set to worksforme
  • Status changed from reopened to 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 ....

Add Comment

Modify Ticket

as closed The owner will remain jun66j5.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.