Hi,
        A KeyError is thrown by dal.py at line no.2552, function
'_create' when trying to create a simple table.

db.define_table('person', Field('person', 'string', length=100,
unique=True, notnull=True) )


The attribute '_primarykey' is misspelt. The offending line is:
             if not self._primerykey:

This needs to be modified as below to work:
             if not hasattr(self, '_primarykey') or not
self._primarykey:



Thank you

Reply via email to