boa-constructor bug: import string

M

Mark Carter

In v0.2.0
starting boa.py produces the error message:
File "C:\Python23\Lib\site-packages\wxPython\tools\boa\About.py",
line 301, in write
ss = string.strip(s)
NameError: global name 'string' is not defined

It appears that string is not imported in many modules, because fixing
this gives the further error:

File "C:\Python23\Lib\site-packages\wxPython\tools\boa\PropEdit\PropertyEditors.py",
line 1050, in NamePropEdit
identifier = string.letters+string.digits+'_'
NameError: name 'string' is not defined

Can someone confirm that this is a bug? I don't want to post it to
their list inadvertantly.
 
J

Javier Ruere

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark,
This bug is a very old one that has been fixed a long time ago.
Check out Boa from CVS for the latest version, which is 0.2.4.
0.2.5 was promised for a week from now.

Later,
Javier


Mark said:
In v0.2.0
starting boa.py produces the error message:
File "C:\Python23\Lib\site-packages\wxPython\tools\boa\About.py",
line 301, in write
ss = string.strip(s)
NameError: global name 'string' is not defined

It appears that string is not imported in many modules, because fixing
this gives the further error:

File "C:\Python23\Lib\site-packages\wxPython\tools\boa\PropEdit\PropertyEditors.py",
line 1050, in NamePropEdit
identifier = string.letters+string.digits+'_'
NameError: name 'string' is not defined

Can someone confirm that this is a bug? I don't want to post it to
their list inadvertantly.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/L9Oq8XQC840MeeoRAmqsAJ9CXX//gjK/l3MWW5XxbV2+4PVMewCeK1JO
pOAknMp1mQNinAphJwIs8YE=
=oHJw
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top