logo       

unexpected keyword argument 'mime_type': msg#00098

web.zope.plone.archetypes.devel

Subject: unexpected keyword argument 'mime_type'

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise