Modify

Opened 16 years ago

Closed 12 years ago

Last modified 11 years ago

#2636 closed defect (fixed)

Installation problems on Ubuntu

Reported by: izzy Owned by: Petr Škoda
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

On Ubuntu (here: 6.06 Dapper Drake, the latest LTS) there are some installation problems due to dependencies: Python (setup.py) looks for "PIL>=1.1.5" and then yields an error:

No local packages or download links found for PIL>=1.1.5 error: Could not find suitable distribution for Requirement.parse('PIL>=1.1.5')

so installation fails. PIL 1.1.5 is installed on the system using apt-get - but the package is called "python-imaging" here (maybe that's the reason). I simply removed the dependency from the setup.py and succeeded with the install (not sure yet if everything works - but I guess it will, since I've got some other plugins installed which also depend on PIL and they work fine so far).

Just in case it is important: Trac 0.10.3, Python 2.4

Attachments (0)

Change History (4)

comment:1 in reply to:  description Changed 16 years ago by Petr Škoda

Resolution: fixed
Status: newclosed

Thank you for notice. I've decided to remove automatic dependencies from setup.py, so now there is better description of installation of needed depenedencies in Downloaders Wiki.

Thank you!

Replying to izzy:

On Ubuntu (here: 6.06 Dapper Drake, the latest LTS) there are some installation

problems due to dependencies: Python (setup.py) looks for "PIL>=1.1.5" and then yields an error:

No local packages or download links found for PIL>=1.1.5 error: Could not find suitable distribution for Requirement.parse('PIL>=1.1.5')

so installation fails. PIL 1.1.5 is installed on the system using apt-get - but the package is called "python-imaging" here (maybe that's the reason). I simply removed the dependency from the setup.py and succeeded with the install (not sure yet if everything works - but I guess it will, since I've got some other plugins installed which also depend on PIL and they work fine so far).

Just in case it is important: Trac 0.10.3, Python 2.4

comment:2 Changed 16 years ago by izzy

Thank you! I updated my installation description (http://www.izzysoft.de/?topic=software;page=ifaqmaker.php;id=1) accordingly that here no more "manual adjustment" is necessary.

comment:3 Changed 16 years ago by anonymous

Resolution: fixed
Status: closedreopened

Humm - despite of your comment, dependencies are still there in setup.py - so installation again failed on Ubuntu Hardy Heron (8.04.01) using Python 2.5! It however succeeded after I removed the lines

  """install_requires = ['PyCAPTCHA >= 0.4',
                         'PIL >= 1.1.5'],"""

from setup.py. I'm still using trac 0.10 (0.10.4 to be more precise), but I guess this will also affect the 0.11 branch since the setup.py looks similar.

By the way: With the latest version, it did not fail because of dependency, but it crashed backtracing to syntax.

comment:4 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: reopenedclosed

This should be fixed on the latest 0.10.

Modify Ticket

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