[Dev] Re: reload parcels

John Anderson john at osafoundation.org
Thu Jul 28 10:24:17 PDT 2005


Hi Morgen:

It was working a week or two ago. Actually, reload parcels is the best 
unit test we have for CPIA. It's often the case that changes people make 
have bugs that reload flushes out, only because it exercises widget 
rendering and unrendering. For that reason, Donn was going to add it to 
our tinderbox unit test system.

John

Morgen Sagen wrote:

> You mentioned that not copying the All collection could break "reload  
> parcels".  When I try 'Test > Reload Parcels' with what's currently  
> in svn (no local changes) I get:
>
> Traceback (most recent call last):
>   File "/Users/morgen/dev/trees/vanilla/application/Application.py",  
> line 439, in OnCommand
>     block.post (blockEvent, arguments)
>   File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/ 
> blocks/Block.py", line 103, in post
>     self.dispatchEvent (event)
>   File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/ 
> blocks/Block.py", line 609, in dispatchEvent
>     callMethod (Block.findBlockByName (event.dispatchToBlockName),  
> methodName, event)
>   File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/ 
> blocks/Block.py", line 533, in callMethod
>     return callNamedMethod(block, methodName, event)
>   File "/Users/morgen/dev/trees/vanilla/parcels/osaf/framework/ 
> blocks/Block.py", line 570, in callNamedMethod
>     result = member (block, event)
>   File "/Users/morgen/dev/trees/vanilla/parcels/osaf/views/main/ 
> Main.py", line 589, in onReloadParcelsEvent
>     self.LogTheException("Exception Loading the Main View." )
> AttributeError: 'Item' object has no attribute 'LogTheException'
>
>
> ...so it seems reloading isn't currently working?



More information about the Dev mailing list