473,405 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

boa-constructor bug: import string

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.
Jul 18 '05 #1
1 2587
-----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-----

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Raymond Arthur St. Marie II of III | last post by:
Hey Group, a question please. Has anyone ever struggeled with that install of Boa in Win98. I've followed the Docs. Tryed the "-E" switch while in DosPrompt. Made sure the wxPython version...
2
by: Dennis Sylvester | last post by:
Interested in any opinions, studies, etc., concerning the GUI tool(s) to use for Python. Specifically, which would you recommend (and why) for building GUI apps in Python: TKinter BOA PyQT ...
30
by: David Mertz | last post by:
Pythonistas, My loyal fans :-) will remember that I did a Python IDE roundup for _Charming Python_ a couple years back. Now I have another such roundup lined up... not the very next article,...
2
by: Anand Pillai | last post by:
I am trying to run the latest Boa on Windows 98 2nd edition, using python 2.2. The program starts up and immediately windows gives it's stupid error box. "This program has performed an illegal...
2
by: F.A. Pinkse | last post by:
Dear Group, Does the Editor of BOA has a print function? If it has one, where is it placed in the menu hierarchy? Thanks for the answers. Frans.
1
by: jim | last post by:
hi- is anyone using this combo of tools? do you have a website i can visit or gui with screen shots or fairly easy to install so i can get inspired? now that firebird has its first manual and...
46
by: djake | last post by:
Someone can exaplain me why use C instead C++? Until now i've never found exaplanation for this. Every project written in C on which i've worked could be written in c++, and when in nowadays...
6
by: Ashok | last post by:
hi, i am trying to develop a small gui app using boa constructor. say this app has one frame which has one static text control. i want the frame to resize itself to the width of the text contrl...
11
true911m
by: true911m | last post by:
I can't seem to find the "ReadOnly" attribute for a wx.TextCtrl in Boa. It's usually just a checkbox/boolean in VS; I think wxGlade used a wx value like TE_READONLY or something similar. It's...
0
by: kennethEntera | last post by:
how can i connect boa to postgreSQL
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.