Hello Ronald,
I've watched the screencast and it looks very promising. Although when
I try to import the selenium4gears provided by you I only get the
following error:
Traceback (most recent call last):
File "./prototyp2-start.py", line 20, in ?
from prototyp2.controllers import Root
File "/home/faer/workspace/prototyp3/prototyp2/controllers.py", line
8, in ?
from selenium4gears import Selenium
File "/home/faer/workspace/prototyp3/__init__.py", line 20, in ?
File "/home/faer/workspace/turbogears/turbogears/i18n/tg_gettext.py",
line 45, in gettext
return gettext_f(key, locale, domain)
File "/home/faer/workspace/turbogears/turbogears/i18n/tg_gettext.py",
line 54, in _gettext
if locale is None:locale = get_locale()
File "/home/faer/workspace/turbogears/turbogears/i18n/utils.py", line
64, in get_locale
locale = get_locale_f()
File "/home/faer/workspace/turbogears/turbogears/i18n/utils.py", line
77, in _get_locale
locale = cherrypy.session.get(locale_key)
File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/filters/sessionfilter.py",
line 391, in __getattr__
sess = cherrypy.request._session
File
"/usr/lib/python2.4/site-packages/CherryPy-2.2.0beta-py2.4.egg/cherrypy/__init__.py",
line 41, in __getattr__
childobject = getattr(serving, self.__attrname__)
AttributeError: 'thread._local' object has no attribute 'request'
Do you have an idea what I should change?
Thanks for your help in advance.
Regards,
Fabian