Re: Help with python error - TypeError: String or unicode type required

"Werner F. Bruhin" <[email protected]> Wed, 18 Mar 2009 12:25:39 +0100
Newsgroups gmane.comp.ide.boa-constructor.user
Message-ID <[email protected]>
Tanay Shah wrote:
> PFA the code for a dialog in wxpython and kindly help me with the above 
> error, i.e., TypeError: String or Unicode type required
> 
> Another dialog with a pretty similar code works fine. Cannot figure out 
> the problem here.
Can you show us the code.

The error is pretty clear is that you are passing in something else then 
a string or Unicode.  So it is probably an integer or None or another 
object.

Werner


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com