Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24108 - Boa Constructor Chokes
Summary: Boa Constructor Chokes
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-08 09:03 UTC by David E.Miller
Modified: 2003-11-23 03:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David E.Miller 2003-07-08 09:03:22 UTC
Emerged Boa Constructor package. Entered /usr/lib/python2.2/site-packages/boa
directory. Inspected contents and concluded that Boa.py is the entry point for
Boa Constructor module. Executed at the shell prompt:

# python Boa.py

and this output resulted...
*************************************************************************

Starting Boa Constructor v0.1.0-alpha
importing wxPython
setting user preferences
running main...

Then an "Error on Startup" window pops up with the following text:

'flags' is an invalid keyword argument for this function

Press OK button on the popup window and then the console output resumes as...

Traceback (most recent call last):
  File "Boa.py", line 495, in ?
    main()

  File "Boa.py", line 475, in main
    app = BoaApp()

  File "Boa.py", line 310, in __init__
    wxApp.__init__(self, false)

  File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1742, in __init__
    _wxStart(self.OnInit)
  File "Boa.py", line 321, in OnInit
    abt = About.createSplash(None, modTot, fileTot)

  File "About.py", line 132, in createSplash
    return AboutBoxSplash(parent, modTot, fileTot)

  File "About.py", line 151, in __init__
    self.html = Utils.wxUrlClickHtmlWindow(self.blackback, -1,
flags=wxCLIP_CHILDREN)

  File "/usr/lib/python2.2/site-packages/wxPython/html.py", line 634, in __init__
    self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
TypeError: 'flags' is an invalid keyword argument for this function
Exception exceptions.TypeError: "'NoneType' object is not callable" in  ignored

********************************************************************************
It appears that all the dependencies are satisfied on the system

Looked up the "Unix Installation" in the Getting Started Guide doc under Section
1.1 "Installing and Starting Boa Constructor" and found a reference to a file
named "boa.py" as the startup file. However, there is no such file under the boa
site-packages directory. There is a Boa.py (capital "B") so I presumed that the
doc is somewhat behind the package contents and accepted Boa.py as the startup
file in spite of the uppercase letter issue for the first character of the file.

Therefore, it appears that the correct startup file is being used and that the
startup process is consistent with the Boa doc provided. 

This error appears after entry to the Boa,py module and is a Python traceback
error. In other words the program does start to execute. 

It appears to me from the traceback that there is a call to a method derived
from a c wxPython module called htmlc.so and that the program halts at this
point in the execution.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2003-08-02 11:14:51 UTC
Which version of wxPython are you using? Boa versions are closely tied to wxPython versions.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-11-23 03:52:43 UTC
waiting for response