I'm using boa-constructor 0.4.0. During first 5 days,
there was no problem. But One day suddenly a
following error occured. So I can't start Boa.
Can you give me any solution.
Thank you.
C:\Python24\Lib\site-packages\boa-constructor>boa.py
Starting Boa Constructor v0.4.0
importing wxPython
reading user preferences
running main...
Traceback (most recent call last):
File "C:\Python24\Lib\site-packages\boa-
constructor\Boa.py", line 683, in ?
main()
File "C:\Python24\Lib\site-packages\boa-
constructor\Boa.py", line 665, in main
app = BoaApp()
File "C:\Python24\Lib\site-packages\boa-
constructor\Boa.py", line 476, in __in
it__
wxApp.__init__(self, false)
File "C:\Python24\Lib\site-packages\wx-2.5.5-msw-
unicode\wx\_core.py", line 56
91, in __init__
self._BootstrapApp()
File "C:\Python24\Lib\site-packages\wx-2.5.5-msw-
unicode\wx\_core.py", line 53
43, in _BootstrapApp
43, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:\Python24\Lib\site-packages\boa-
constructor\Boa.py", line 491, in OnIn
it
modTot = conf.getint('splash', 'modulecount')
File "C:\Python24\Lib\site-packages\boa-
constructor\ExternalLib\ConfigParser.p
y", line 287, in getint
return self.__get(section, string.atoi, option)
File "C:\Python24\Lib\site-packages\boa-
constructor\ExternalLib\ConfigParser.p
y", line 284, in __get
return conv(self.get(section, option))
File "C:\Python24\Lib\site-packages\boa-
constructor\ExternalLib\ConfigParser.p
y", line 256, in get
raise NoSectionError(section)
ExternalLib.ConfigParser.NoSectionError: No section:
splash
Logged In: YES
user_id=772872
I could duplicate this by removing the section splash from
C:\.boa-constructor\Explorer.msw.cfg.
Certainly a bug
A solution: I would suggest adding to the Explorer.msw.cfg
file (mine looks like) :
(Save the old cfg before)
[plug-ins.home]
[plug-ins.extra]
-----insert here, if it is missing
[splash]
modulecount = 561
Logged In: YES
user_id=1303260
Hi,
I have also such a problem, solved (only for us als user!)
you should check the login-directory and find there is a
subdirectory named .boa-constructor. Now rename the subdir
to a different name and try again. It works again at my PC. If
you need your preferences you should do it manually!
Good luck!
HL
Logged In: NO
Similar problem for me (WinXP): the file "Explorer.msw.cfg"
in "\Documents and Settings\<your-username>\.boa-
constructor" was empty. Renaming this directory, BOA has
restarted and re-created that directory with a
right "Explorer.msw.cfg" file.
A "good" copy of the file can be found also in BOA
installation directory (in its sub-directory "\Config").
I'm still learning Python, but it wouldn't be difficult to modify
Boa.py to check if "Explorer.msw.cfg" is empty and then
copy it from BOA Config directory.
Simon