Modify

Opened 13 years ago

Closed 13 years ago

#9202 closed defect (worksforme)

easy_install error with wysiwig

Reported by: anadi.msr@… 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 13 years ago by Jun Omae

Resolution: worksforme
Status: newclosed

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 http://trac-hacks.org/svn/tracwysiwygplugin/0.12 /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/
Downloading http://trac-hacks.org/svn/tracwysiwygplugin/0.12
Doing subversion checkout from http://trac-hacks.org/svn/tracwysiwygplugin/0.12 to /tmp/easy_install-rRuHEl/0.12
Processing 0.12
Running setup.py -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 0.12.0.3-r9676 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/TracWysiwyg-0.12.0.3_r9676-py2.4.egg
Processing dependencies for TracWysiwyg==0.12.0.3-r9676
Finished processing dependencies for TracWysiwyg==0.12.0.3-r9676

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

Resolution: worksforme
Status: closedreopened

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 13 years ago by Jun Omae

Keywords: setuptools added; tracwysiwygplugin easy_install removed
Resolution: worksforme
Status: reopenedclosed

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

Modify Ticket

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