I have also seen this error after an update to TurboGears-1.0.4b1
today, although it did not need TGFastData to get the error, and it
was using python 2.4. I do not have a fix, although my suspicion is
some module did not get updated, perhaps because it was added with apt-
get on my box at some point (Debian Etch). I am writing just to
confirm this error message, which started only after
TurboGears-1.0.4b1 update. If I find the source or a fix, I will post
that later.
500 Internal error
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Page handler: <bound method Root.view_map of <ibus.vehicles.Root
object at 0x2b83c3ab2c10>>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/
cherrypy/_cphttptools.py", line 105, in _run
self.main()
File "/usr/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/
cherrypy/_cphttptools.py", line 254, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in view_map
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/controllers.py", line 342, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/database.py", line 316, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/controllers.py", line 359, in <lambda>
mapping, fragment, args, kw)))
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/controllers.py", line 386, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/errorhandling.py", line 72, in try_call
return func(self, *args, **kw)
File "<string>", line 3, in view_map
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/controllers.py", line 151, in validate
kw.update(form.validate(value, state))
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/widgets/forms.py", line 1167, in validate
return self.validator.to_python(value, state)
File "/usr/lib/python2.4/site-packages/FormEncode-0.7.1-py2.4.egg/
formencode/api.py", line 368, in to_python
value = tp(value, state)
File "/usr/lib/python2.4/site-packages/FormEncode-0.7.1-py2.4.egg/
formencode/schema.py", line 132, in _to_python
new[name] = validator.to_python(value, state)
File "/usr/lib/python2.4/site-packages/FormEncode-0.7.1-py2.4.egg/
formencode/api.py", line 368, in to_python
value = tp(value, state)
File "/usr/lib/python2.4/site-packages/TurboGears-1.0.4b1-py2.4.egg/
turbogears/validators.py", line 117, in _to_python
tpl = time.strptime(value, format)
File "_strptime.py", line 287, in strptime
format_regex = time_re.compile(format)
File "_strptime.py", line 264, in compile
return re_compile(self.pattern(format), IGNORECASE)
File "_strptime.py", line 251, in pattern
format = regex_chars.sub(r"\\\1", format)
TypeError: expected string or buffer
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---