Ticket #13 (closed defect: fixed)

Opened 12 months ago

Last modified 11 months ago

ImportError: No module named genshi.template

Reported by: guest Owned by: nicoe
Priority: major Component: Relatorio Core
Keywords: Cc: guest

Description

Forwarded from https://bugs.tryton.org/roundup/issue898 and
http://tryton.origo.ethz.ch/node/121#comment-193

Installation of trytond on an OpenSuse?11.1

z60m:/home/axel #easy_install --prefix=/usr trytond
Searching for trytond
Reading http://pypi.python.org/simple/trytond/
Reading http://www.tryton.org/
Reading http://downloads.tryton.org/1.0/
Best match: trytond 1.0.3
Downloading http://downloads.tryton.org/1.0/trytond-1.0.3.tar.gz
.....

File "/usr/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 29, in <lambda>

File "setup.py", line 2, in <module>

#This file is part of Tryton. The COPYRIGHT file at the top level of

File "/tmp/easy_install-eh_4EG/relatorio-0.5.0/relatorio/init.py", line 12, in <module>
File "/tmp/easy_install-eh_4EG/relatorio-0.5.0/relatorio/reporting.py", line 26, in <module>

ImportError?: No module named genshi.template

Change History

Changed 12 months ago by nicoe

  • status changed from new to closed
  • resolution set to invalid

Seems to me it is a bug in easy_install since it works when easy installing (sic) only relatorio.

% easy_install -d ~/python relatorio
Creating /home/nicoe/python/site.py
Searching for relatorio
Reading http://pypi.python.org/simple/relatorio/
Reading http://relatorio.openhex.org
Best match: relatorio 0.5.0
Downloading http://pypi.python.org/packages/2.5/r/relatorio/relatorio-0.5.0-py2.5.egg#md5=51e2bb1b76f67d24a0837b962d75eb60
Processing relatorio-0.5.0-py2.5.egg
creating /home/nicoe/python/relatorio-0.5.0-py2.5.egg
Extracting relatorio-0.5.0-py2.5.egg to /home/nicoe/python
Adding relatorio 0.5.0 to easy-install.pth file

Installed /home/nicoe/python/relatorio-0.5.0-py2.5.egg
Processing dependencies for relatorio
Searching for Genshi>=0.5
Reading http://pypi.python.org/simple/Genshi/
Reading http://genshi.edgewall.org/
Reading http://genshi.edgewall.org/wiki/Download
Best match: Genshi 0.5.1
Downloading http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1-py2.5-linux-i686.egg
Processing Genshi-0.5.1-py2.5-linux-i686.egg
Moving Genshi-0.5.1-py2.5-linux-i686.egg to /home/nicoe/python
Adding Genshi 0.5.1 to easy-install.pth file

Installed /home/nicoe/python/Genshi-0.5.1-py2.5-linux-i686.egg
Finished processing dependencies for relatorio

Changed 12 months ago by guest

  • cc guest added
  • status changed from closed to reopened
  • resolution deleted

It seems to be linked to openSUSE setuptools.
But I think it is better to not use dependency modules in the setup.py

Changed 11 months ago by nicoe

Fixed in [5a66f1d61a0c]

Changed 11 months ago by nicoe

  • status changed from reopened to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.