Hmmm... maybe I should put at least one complete failed test log..
======================================================================
FAIL:
turbogears.widgets.tests.test_request_related_features.test_repeating_fields
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\python24\lib\site-packages\nose-0.8.6-py2.4.egg\nose\core.py",
line 112, in runTest
self.testFunc()
File
"C:\Pessoal\TG90\turbogears\widgets\tests\test_request_related_features.py",
line 201, in test_repeating_fields
assert 'name="repeat-%i"' % i in output
AssertionError:
-------------------- >> begin captured stdout << ---------------------
2006-04-11 02:26:42,421 turbokid.kidsupport DEBUG Applying template
turbogears.widgets.tests.form
11/Apr/2006:02:26:42 HTTP INFO Page handler: <bound method MyRoot.test
of <turbogears.widgets.tests.test_request_related_features
MyRoot object at 0x028288D0>>
Traceback (most recent call last):
File
"c:\python24\lib\site-packages\CherryPy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
line 106, in _run
self.main()
File
"c:\python24\lib\site-packages\CherryPy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
line 255, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in test
File "C:\Pessoal\TG90\turbogears\controllers.py", line 206, in expose
output = database.run_with_transaction(expose._expose,func,
accept, allow_json, allow_json_from_config,*args, **kw)
File "C:\Pessoal\TG90\turbogears\database.py", line 216, in
run_with_transaction
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "C:\Pessoal\TG90\turbogears\controllers.py", line 227, in <lambda>
expose._expose.when(rule)(lambda _func, accept, allow_json,
allow_json_from_config,*args,**kw: _execute_func(
File "C:\Pessoal\TG90\turbogears\controllers.py", line 258, in _execute_func
return _process_output(output, template, format, content_type,
mapping, fragment)
File "C:\Pessoal\TG90\turbogears\controllers.py", line 56, in _process_output
mapping=mapping, content_type=content_type,fragment=fragment)
File "C:\Pessoal\TG90\turbogears\view\base.py", line 131, in render
return engine.render(**kw)
File
"c:\python24\lib\site-packages\turbokid-0.9.4dev_r1090-py2.4.egg\turbokid\kidsupport.py",
line 144, in render
data.update(self.get_extra_vars())
File "C:\Pessoal\TG90\turbogears\view\base.py", line 318, in stdvars
locale = get_locale(),
File "C:\Pessoal\TG90\turbogears\i18n\utils.py", line 49, in get_locale
locale = get_locale_f()
File "C:\Pessoal\TG90\turbogears\tests\test_i18n.py", line 14, in
get_test_locale
return turbogears.config.get('i18n.defaultLocale', 'en')
AttributeError: 'NoneType' object has no attribute 'config'
-------------------- >> begin captured stdout << ---------------------
2006-04-11 02:26:42,421 turbokid.kidsupport DEBUG Applying template
turbogears.widgets.tests.form
--------------------- >> end captured stdout << ----------------------
Request Headers:
Host: localhost
localhost - - [11/Apr/2006:02:26:42] "GET /test HTTP/1.1" 500 3077 "" ""
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en"
"http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"></meta>
<title>500 internal error</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>500 internal error</h2>
<p>the server encountered an unexpected condition which
prevented it from fulfilling the request.</p>
<pre id="traceback">page handler: <bound method myroot.test
of <turbogears.widgets.tests.test_request_related_featu
es.myroot object at 0x028288d0>>
traceback (most recent call last):
file
"c:\python24\lib\site-packages\cherrypy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
line 106, in _run
self.main()
file
"c:\python24\lib\site-packages\cherrypy-2.2.0-py2.4.egg\cherrypy\_cphttptools.py",
line 255, in main
body = page_handler(*virtual_path, **self.params)
file "<string>", line 3, in test
file "c:\pessoal\tg90\turbogears\controllers.py", line 206, in expose
output = database.run_with_transaction(expose._expose,func,
accept, allow_json, allow_json_from_config,*args, **kw)
file "c:\pessoal\tg90\turbogears\database.py", line 216, in
run_with_transaction
retval = func(*args, **kw)
file "<string>", line 5, in _expose
file "c:\pessoal\tg90\turbogears\controllers.py", line 227, in <lambda>
expose._expose.when(rule)(lambda _func, accept, allow_json,
allow_json_from_config,*args,**kw: _execute_func(
file "c:\pessoal\tg90\turbogears\controllers.py", line 258, in _execute_func
return _process_output(output, template, format, content_type,
mapping, fragment)
file "c:\pessoal\tg90\turbogears\controllers.py", line 56, in _process_output
mapping=mapping, content_type=content_type,fragment=fragment)
file "c:\pessoal\tg90\turbogears\view\base.py", line 131, in render
return engine.render(**kw)
file
"c:\python24\lib\site-packages\turbokid-0.9.4dev_r1090-py2.4.egg\turbokid\kidsupport.py",
line 144, in render
data.update(self.get_extra_vars())
file "c:\pessoal\tg90\turbogears\view\base.py", line 318, in stdvars
locale = get_locale(),
file "c:\pessoal\tg90\turbogears\i18n\utils.py", line 49, in get_locale
locale = get_locale_f()
file "c:\pessoal\tg90\turbogears\tests\test_i18n.py", line 14, in
get_test_locale
return turbogears.config.get('i18n.defaultlocale', 'en')
attributeerror: 'nonetype' object has no attribute 'config'
-------------------- >> begin captured stdout <<
---------------------
2006-04-11 02:26:42,421 turbokid.kidsupport debug applying template
turbogears.widgets.tests.form
--------------------- >> end captured stdout <<
----------------------
</pre>
<div id="powered_by">
<span>powered by <a href="http://www.cherrypy.org">cherrypy 2.2.0</a></span>
</div>
</body>
</html>
--------------------- >> end captured stdout << ----------------------
[]s
Roger
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
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/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---