Modify

Opened 11 years ago

Closed 11 years ago

#11093 closed defect (worksforme)

Problems installing VisualizationPlugin

Reported by: alexa@… Owned by: Rob Guttman
Priority: normal Component: VisualizationPlugin
Severity: normal Keywords: setuptools
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

I tried to install this plugin by both using the method suggested in the description page and easy_install. Both are erroring out

Using easy_install https://trac-hacks.org/svn/visualizationplugin/0.12 I get:

Downloading https://trac-hacks.org/svn/visualizationplugin/0.12
error: Unexpected HTML page found at https://trac-hacks.org/svn/visualizationplugin/0.12

Using sudo python setup.py bdist_egg I get:

Traceback (most recent call last):
  File "setup.py", line 16, in ?
    entry_points = {'trac.plugins':['viz.web_ui = viz.web_ui']}
  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)

Change History (5)

comment:1 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)

comment:2 Changed 11 years ago by Ryan J Ollos

The easy_install method works for me,

$ easy_install https://trac-hacks.org/svn/visualizationplugin/0.12
Downloading https://trac-hacks.org/svn/visualizationplugin/0.12
Doing subversion checkout from https://trac-hacks.org/svn/visualizationplugin/0.12 to /tmp/easy_install-r_Aigc/0.12
Processing 0.12
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-r_Aigc/0.12/egg-dist-tmp-LJX6Jt
zip_safe flag not set; analyzing archive contents...
Adding TracVisualization 0.0.1 to easy-install.pth file

Installed /home/user/Workspace/th6904/lib/python2.7/site-packages/TracVisualization-0.0.1-py2.7.egg
Processing dependencies for TracVisualization==0.0.1
Finished processing dependencies for TracVisualization==0.0.1

I'm running on Ubuntu 12.10 with Python,

$ easy_install --version
distribute 0.6.24

Which version do you have installed, and what is your OS?

What error do you see when following the steps at VisualizationPlugin#Configuration?

comment:3 Changed 11 years ago by Ryan J Ollos

Keywords: setuptools added
Resolution: worksforme
Status: newclosed

Issue has been reported previously, see:

See comment:3:ticket:9202 for a concise proposed solution and also a workaround, or read all the aforementioned tickets if you want to see some additional suggestions.

Please follow-up and let us know if any of the solutions worked for you.

comment:4 Changed 11 years ago by alexa@…

Resolution: worksforme
Status: closedreopened

I am running CentOS 5.3, Python 2.4.3

# easy_install --version
usage: easy_install [options] requirement_or_url ...
   or: easy_install --help

error: option --version not recognized

I am still getting the unexpected page error:

# easy_install https://trac-hacks.org/svn/visualizationplugin/0.12
Downloading https://trac-hacks.org/svn/visualizationplugin/0.12
error: Unexpected HTML page found at https://trac-hacks.org/svn/visualizationplugin/0.12

comment:5 Changed 11 years ago by anonymous

Resolution: worksforme
Status: reopenedclosed

Upgraded easy_install to distribute 0.6.40 and was able to install.

Modify Ticket

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