Distribution: Fedora Core 11 x86_64 Linux csrc.tamu-commerce.edu
2.6.29.5-191.fc11.x86_64 #1 SMP Tue Jun 16 23:23:21 EDT 2009 x86_64
x86_64 x86_64 GNU/Linux
Trac: 0.11.3-4.fc11
Python: Python 2.6 (r26:66714, Jun 8 2009, 16:07:29)
setuptools: 0.6c9-3.fc11
Postgres SQL: 8.3.7-1.fc11
Genshi: 0.5.1-4.fc11
mod_python: 3.3.1-10
I was trying out Agilo on the above configuration. Tried installing
all of these versions:
agilo-0.7.4.1-r1624-20090611
agilo-0.8.0-RC1-r1707-20090712
agilo-0.8.0-RC2-r1719-20090719
Had the same problem in all cases:
* After installing and enabling agilo from source (pythons setup.py
install), upgrade was not doing anything
trac-admin /var/srv/trac/scrumtst/ upgrade
Database is up to date, no upgrade necessary.
* This causes lots of errors, of course, because tables like
agilo_sprint and others are missing.
Enabled logging and see this:
2009-07-20 15:01:58,361 Trac[loader] DEBUG: Loading agilo.init from /
usr/lib/python2.6/site-packages/agilo-0.8.0_RC2_r1719_20090719-
py2.6.egg
2009-07-20 15:01:58,362 Trac[loader] ERROR: Skipping "agilo.init =
agilo.init": (can't import "ImportError: No module named
test")
* So tried importing agilo.init by hand, and sure enough there is an
ImportError:
[r...@csrc agilo-0.8.0-RC2-r1719-20090719]# python
Python 2.6 (r26:66714, Jun 8 2009, 16:07:29)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import agilo.init
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "agilo/init.py", line 26, in <module>
from agilo.db import db_default, PluginEnvironmentSetup
File "agilo/db/db_default.py", line 24, in <module>
from trac.test import EnvironmentStub
ImportError: No module named test
* The problem, in my version of trac there is not trac.test module,
which is being imported in agilo/db/db_default.py on line 24 as sown
in the stack trace above.
* My fix, the EnvironmentStub which is imported in this file is only
used to print out an error message later in the file. If I remove
this import and comment out the lines using the EnvironmentStub,
environment upgrade now works and agilo seems to be working.
* I do not know why others may not have seen this problem. Perhaps
you don't have the trac.test modules unless you install some other
trac packages, for example trac developers or something like that?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH
http://www.agile42.com and is focused in supporting Agilo for Scrum users.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo?hl=en
-~----------~----~----~----~------~----~------~--~---