Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > boa-constructor bug: import string

Reply
Thread Tools

boa-constructor bug: import string

 
 
Mark Carter
Guest
Posts: n/a
 
      08-05-2003
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\PropertyEdito rs.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.
 
Reply With Quote
 
 
 
 
Javier Ruere
Guest
Posts: n/a
 
      08-05-2003
-----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 Carter wrote:
> 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\PropertyEdito rs.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-----



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
to use import java.lang.* or import java.lang.Math or none at all? JPractitioner Java 13 02-24-2006 08:48 PM
XML Schema question - does "import" import elements? Vitali Gontsharuk XML 2 08-25-2005 07:33 PM
IMPORT STATIC; Why is "import static" file scope? Why not class scope? Paul Opal Java 12 10-10-2004 11:01 PM
GTK import doesn't import first time Dennis Python 2 08-18-2003 10:00 PM
import/from import question Artur M. Piwko Python 1 07-02-2003 07:04 PM



Advertisments