1) I just downloaded the Bookmarker 5b source code, created a sqlite
database from the model and ran "python start-bookmarker.py". The
following error resulted:
Traceback (most recent call last):
File "start-bookmarker.py", line 26, in ?
from bookmarker.controllers import Root
File "/home/mpapale/bookmarker/bookmarker/controllers.py", line 16,
in ?
class bookmark_fields(widgets.WidgetsList):
File "/home/mpapale/bookmarker/bookmarker/controllers.py", line 20,
in bookmark_fields
select_categories =
widgets.MultipleSelectField(options=get_category_options())
File "/opt/python-2.4.1-64/lib/python2.4/site-packages/
TurboGears-1.0.2.2-py2.4.egg/turbogears/widgets/meta.py", line 143, in
widget_init
func(self, *args, **kw)
File "/opt/python-2.4.1-64/lib/python2.4/site-packages/
TurboGears-1.0.2.2-py2.4.egg/turbogears/widgets/forms.py", line 842,
in __init__
raise ValueError, ("No validator specified and couldn't "
ValueError: No validator specified and couldn't guess one. I cannot
work properly without it
I have a quick fix, which is to add a "validator=validators.PlainText"
into the MultipleFieldSelect constructor, but I'm not sure if this is
correct.
2) Now, the multiple select field doesn't automatically select the
categories to which the link belongs.
Thanks.