Hi all,
I have been testing the water with TG since you guys had a release (0.7
I think), and I tested again with 0.8. I am now moving to svn to get
the latest.
I am about to start some _serious_ (tong in cheek) web development
(yes, I know this is all still alpha, but I like the quick pace of
development, and I figure we will have 1.0 before I ship anything).
I have been looking at python web dev for a while, and my personal
favorites were CP, SQLObject and cheetah. Then I followed TG, and I
must admit that Kevin's aproach to BDFL got me to believe that this is
where the best people will end up.
I have been trying to nosetests my svn co, and I keep getting problems
(never ran OK). I uninstalled (read - deleted) all previous versions of
TG and co, including setuptools, and while it got better (I got
further) I still get blocked at test 70.
Here is the output of nosetest:
======================================================================
ERROR: test module turbogears.tests.test_i18n in
/home/luc/projects/turbogears
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/core.py",
line 409, in run
self.setUp()
File
"/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/core.py",
line 588, in setUp
self.module = self.loader._import(self.module_name, self.path)
File
"/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/core.py",
line 263, in _import
module = nose.importer._import(name, [path])
File
"/usr/lib/python2.4/site-packages/nose-0.8.4-py2.4.egg/nose/importer.py",
line 64, in _import
mod = load_module(fqname, fh, filename, desc)
File "/home/luc/projects/turbogears/turbogears/tests/test_i18n.py",
line 31, in ?
sogettext.create_so_catalog(["en","fi"], "messages")
File
"/home/luc/projects/turbogears/turbogears/i18n/sogettext/__init__.py",
line 58, in create_so_catalog
TG_Message.dropTable(ifExists=True)
File
"/home/luc/projects/turbogears/thirdparty/sqlobject/sqlobject/main.py",
line 1308, in dropTable
conn = connection or cls._connection
File
"/home/luc/projects/turbogears/thirdparty/sqlobject/sqlobject/dbconnection.py",
line 856, in __get__
return self.getConnection()
File "/home/luc/projects/turbogears/turbogears/database.py", line 42,
in getConnection
raise AttributeError(
AttributeError: No connection has been defined for this thread or
process
Any idea of what I am missing?