|
Re: unexpected keyword argument 'mime_type': msg#00099web.zope.plone.archetypes.devel
Description is already in BaseSchema, the metadata actually as it is part of the DublinCore. You may keep the label description on the widget, but change the field name and it should be fine -ben On Tue, 24 Jun 2003, grendelAI wrote: > I am receiving the error > > Error Type > TypeError > Error Value > setDescription() got an unexpected keyword argument 'mime_type' > > whenever I try to save a archetype I created. Does anyone have an idea on > the possible problem. I am using Plone 1.0.2 with Archetypes 0.99.1. The > schema I put together is > > schema = BaseSchema + Schema(( > StringField('title', > searchable = 1, > required = 1, > widget = StringWidget(label='Title', > description='Title of the Game > Event',), > ), > StringField('hostname', > searchable = 1, > required = 1, > widget = StringWidget(label='Host Name', > description='Name of the person > hosting the event',), > ), > TextField('description', > searchable=1, > required=1, > allowable_content_types=('text/plain', > 'text/structured', > 'text/html',), > widget=TextAreaWidget(label='Description', > description='The Description of the > event',), > ), > )) > > I thought pretty basic stuff, but its tripping on something. Appreciate the > help! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Archetypes-devel mailing list > Archetypes-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/archetypes-devel > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | unexpected keyword argument 'mime_type': 00099, grendelAI |
|---|---|
| Next by Date: | Re: ArcheTypes i18n stuff: 00099, Sylvain Thénault |
| Previous by Thread: | unexpected keyword argument 'mime_type'i: 00099, grendelAI |
| Next by Thread: | Re: unexpected keyword argument 'mime_type': 00099, Sylvain Thénault |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |