boa-constructor bug: import string

Discussion in 'Python' started by Mark Carter, Aug 5, 2003.

  1. Mark Carter

    Mark Carter Guest

    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.
     
    Mark Carter, Aug 5, 2003
    #1
    1. Advertising

  2. Mark Carter

    Javier Ruere Guest

    -----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\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-----
     
    Javier Ruere, Aug 5, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tom
    Replies:
    1
    Views:
    1,227
  2. klappnase

    Boa-Constructor and linux-mouse

    klappnase, Jul 30, 2003, in forum: Python
    Replies:
    0
    Views:
    326
    klappnase
    Jul 30, 2003
  3. Stefan Behrens
    Replies:
    0
    Views:
    376
    Stefan Behrens
    Aug 12, 2003
  4. Turhan Ozen

    chaco & boa constructor

    Turhan Ozen, Sep 30, 2003, in forum: Python
    Replies:
    0
    Views:
    340
    Turhan Ozen
    Sep 30, 2003
  5. Anbeyon
    Replies:
    1
    Views:
    504
Loading...

Share This Page