On Feb 4, 2009, at 1:25 PM, Sibylle Koczian wrote:

> TypeError: in method 'GridBagSizer_GetItemPosition', expected  
> argument 2
> of type 'size_t'
>
>
> The block containing line 101 from /tmp/tmpFlt3QH.py (165 lines in  
> all)
> looks like this:
>
>               if currSizer:
>                       itm = currSizer.appendSpacer(10)
>                       currSizer.setItemProps(itm, {'RowSpan': 1, 'ColSpan': 
> 1, 'HAlign':
> 'Left', 'Border': 0, 'Expand': True})
>
> What did I do wrong to get this? What information would be important?
> This is a minimal application showing the behavior, should I post it
> completely?
>
> I also set the ColSpan of the spacer to the column number of the grid
> sizer, but that didn't change anything.
>
> Versions:
>
> Platform: GTK
> Python Version: 2.6 on linux2
> Dabo Version: Version 0.9.1; Revision 5014M
> UI Version: 2.8.8.1 on wxGTK (gtk2)


-and-

> Here it is, this time made on windows. Same error message as before.
>
> Platform: Win
> Python Version: 2.6.1 on win32
> Dabo Version: Version 0.9.1; Revision ~5038
> UI Version: 2.8.9.1 on wxMSW

        I just tried in on my Mac, and it worked fine. System:

Platform: Mac
Python Version: 2.5.1 on darwin
Dabo Version: Version 0.9.1; Revision 5023:5036M
UI Version: 2.8.4.0 on wxMac

        I then tried it on WinXP, and I got the error you reported. System:

Platform: Win
Python Version: 2.5.2 on win32
Dabo Version: Version 0.9.1; Revision 5023:5036M
UI Version: 2.8.9.1 on wxMSW

        I'll look into it some more and see what I can find out.


-- Ed Leafe




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to