All pastes #542448 Raw Edit

Something

public text v1 · immutable
·published 2007-06-05 20:58 UTC
rendered paste body
Do this:
    share.conduit = sharing.SimpleHTTPConduit(itsParent=share,
                        shareName=query,
                        account=None,
                        host = 'api.evdb.com',
                        port = 80,
                        sharePath = '/rest/events')

I get this:
  File "/Users/vajda/osaf/osaf/chandler/projects/Chandler-EVDBPlugin/evdb/__init__.py", line 43, in onNewItem
    result = evdb.GetCollectionFromSearch(self.itsView, keywords)
  File "/Users/vajda/osaf/osaf/chandler/projects/Chandler-EVDBPlugin/evdb/evdb.py", line 101, in GetCollectionFromSearch
    sharePath = '/rest/events')
  File "/Users/vajda/osaf/osaf/chandler/application/schema.py", line 682, in __init__
    setattr(self, k, v(self))
  File "/Users/vajda/osaf/osaf/chandler/repository/item/Item.py", line 314, in setAttributeValue
    self.setDirty(dirty, name, _attrDict, _noFireChanges)
  File "/Users/vajda/osaf/osaf/chandler/parcels/osaf/pim/items.py", line 545, in onCreatedOrLastModifiedChanged
    self.updateDisplayDate(op, attr)
  File "/Users/vajda/osaf/osaf/chandler/parcels/osaf/pim/items.py", line 541, in updateDisplayDate
    self.addDisplayDates, [now])
  File "/Users/vajda/osaf/osaf/chandler/parcels/osaf/pim/items.py", line 521, in _updateCommonAttribute
    setattr(self, attributeName, result[-2])
  File "/Users/vajda/osaf/osaf/chandler/repository/item/Item.py", line 314, in setAttributeValue
    self.setDirty(dirty, name, _attrDict, _noFireChanges)
ValueError: Assigning '' to attribute 'displayDate' on <SimpleHTTPConduit (new): e5e3b228-13a6-11dc-ff02-ac469e9c95fb> didn't match schema or failed (see log for explanation)