Modify

Opened 16 years ago

Closed 15 years ago

Last modified 12 years ago

#4688 closed defect (fixed)

Wrong 'TracWebAdmin' dependancy when installing on 0.11.3

Reported by: Alexis de BRUYN Owned by: Sergei Luchko
Priority: normal Component: TicketChangePlugin
Severity: blocker Keywords:
Cc: Daniel Atallah Trac Release: 0.11

Description

I am trying to install Ticket Comments Change Plugin on Trac 0.11.3 with Python 2.5.

easy_install http://trac-hacks.org/svn/ticketchangeplugin/0.11/

But i have this error message:

Downloading http://trac-hacks.org/svn/ticketchangeplugin/0.11/
Doing subversion checkout from http://trac-hacks.org/svn/ticketchangeplugin/0.11/ to /tmp/easy_install-2Q9LZN/0.11
Processing 0.11
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-2Q9LZN/0.11/egg-dist-tmp-LPnXxt
zip_safe flag not set; analyzing archive contents...
Adding TracTicketChange 0.0.4 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/TracTicketChange-0.0.4-py2.5.egg
Processing dependencies for TracTicketChange==0.0.4
Searching for TracWebAdmin
Reading http://pypi.python.org/simple/TracWebAdmin/
Couldn't find index page for 'TracWebAdmin' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for TracWebAdmin
error: Could not find suitable distribution for Requirement.parse('TracWebAdmin')

TracWebAdmin is not needed in 0.11, and the 0.11/setup.py file only require the TracTicketDelete:

    install_requires = ['TracTicketDelete'],

What is wrong?

For the record, i had installed it on a 0.11.2.1 (~ october 08) and i had not problem. Perhaps TracWebAdmin was still existing on pypi.python.org.

Attachments (0)

Change History (4)

comment:1 Changed 16 years ago by Daniel Atallah

The problem may be with TracTicketDelete.

Since TicketChangePlugin doesn't require a specific version, what may be happening is that it is pulling in an old version of the TicketDeletePlugin that requires TracWebAdmin.

If you install TicketDeletePlugin manually (you have to do so anyway for it to work with TicketChangePlugin (see #3418 for more info)), does it then work?

comment:2 in reply to:  1 Changed 16 years ago by Alexis de BRUYN

Resolution: fixed
Status: newclosed

Replying to datallah:

If you install TicketDeletePlugin manually (you have to do so anyway for it to work with TicketChangePlugin (see #3418 for more info)), does it then work?

Yes, it is working.

Previously manually installing TicketDeletePlugin:

easy_install http://trac-hacks.org/svn/ticketdeleteplugin/0.11/

And then TicketChangePlugin:

easy_install http://trac-hacks.org/svn/ticketchangeplugin/0.11/
Downloading http://trac-hacks.org/svn/ticketchangeplugin/0.11/
Doing subversion checkout from http://trac-hacks.org/svn/ticketchangeplugin/0.11/ to /tmp/easy_install-KdzVlm/0.11
Processing 0.11
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-KdzVlm/0.11/egg-dist-tmp-3TxSX_
zip_safe flag not set; analyzing archive contents...
TracTicketChange 0.0.4 is already the active version in easy-install.pth

Installed /usr/lib/python2.5/site-packages/TracTicketChange-0.0.4-py2.5.egg
Processing dependencies for TracTicketChange==0.0.4
Finished processing dependencies for TracTicketChange==0.0.4

is solving my problem. Thanks for your help datallah!

comment:3 Changed 16 years ago by anonymous

Resolution: fixed
Status: closedreopened

comment:4 Changed 15 years ago by Alexis de BRUYN

Resolution: fixed
Status: reopenedclosed

Modify Ticket

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