boa-constructor bug: import string

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mark Carter

    boa-constructor bug: import string

    In v0.2.0
    starting boa.py produces the error message:
    File "C:\Python23\Li b\site-packages\wxPyth on\tools\boa\Ab out.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\Li b\site-packages\wxPyth on\tools\boa\Pr opEdit\Property Editors.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.
  • Javier Ruere

    #2
    Re: boa-constructor bug: import string

    -----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:[color=blue]
    > In v0.2.0
    > starting boa.py produces the error message:
    > File "C:\Python23\Li b\site-packages\wxPyth on\tools\boa\Ab out.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[/color]
    "C:\Python23\Li b\site-packages\wxPyth on\tools\boa\Pr opEdit\Property Editors.py",[color=blue]
    > 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.[/color]

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

    iD8DBQE/L9Oq8XQC840Meeo RAmqsAJ9CXX//gjK/l3MWW5XxbV2+4PV MewCeK1JO
    pOAknMp1mQNinAp hJwIs8YE=
    =oHJw
    -----END PGP SIGNATURE-----



    Comment

    Working...