[Dev] Re: traceback when trying to add collection to the sidebar
(after subscribing to remote calendar for instance)
John Anderson
john at osafoundation.org
Thu Sep 29 14:37:29 PDT 2005
My recent UICollection stuff broke a bunch of things. I'm hoping to have
them fixed in the next 30 minutes or so.
John
Morgen Sagen wrote:
> Traceback (most recent call last):
> File "/Users/morgen/dev/trees/vanilla/application/dialogs/
> SubscribeCollection.py", line 103, in OnSubscribe
> mainView.postEventByName
> ("AddToSidebarWithoutCopyingAndSelectFirst", {'items':[collection]})
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/
> blocks/Block.py", line 126, in postEventByName
> return self.post (self.find (list [0]), args)
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/
> blocks/Block.py", line 114, in post
> self.dispatchEvent (event)
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/
> blocks/Block.py", line 645, in dispatchEvent
> callMethod (Block.findBlockByName (event.dispatchToBlockName),
> methodName, event)
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/
> blocks/Block.py", line 584, in callNamedMethod
> event.arguments ['results'] = member (block, event)
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/
> blocks/ControlBlocks.py", line 1124, in onModifyContentsEvent
> result = super (Table, self).onModifyContentsEvent (event)
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/
> blocks/Block.py", line 440, in onModifyContentsEvent
> modifyContents (item)
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/
> blocks/Block.py", line 424, in modifyContents
> method (self.contents, item)
> File "/Users/morgen/dev/trees/vanilla/parcels/osaf/pim/
> collections.py", line 717, in add
> self.source.add(item)
> AttributeError: 'FilteredCollection' object has no attribute 'add'
More information about the Dev
mailing list