Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 12640

Summary: Boa constrictor 0.1.0_alpha fails to run
Product: Gentoo Linux Reporter: Viktor Lakics <viktor>
Component: Current packagesAssignee: Bart Lauwers (RETIRED) <blauwers>
Status: RESOLVED FIXED    
Severity: normal CC: aoyu93, lichte
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Viktor Lakics 2002-12-23 17:06:44 UTC
Emerged Boa-constrictor succesfully, but when I run it, I get the following   
error:    
   
Starting Boa Constructor v0.1.0-alpha    
importing wxPython    
setting user preferences    
running main...    
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 1705, 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 609, 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    
    
   
This is with  wxPython 2.3.3.1-r2. After a bit of searching, I found out that  
with this version of wxPython, Boa does not run. After downloading the current  
CVS, boa runs fine (I can confirm this). On the webpage there is a warning 
about the "correct" version of wxpython as follows:  
 
 " Before this can work, you'll need to have successfully installed wxPython    
2.3.2. Please get the CVS version of Boa if you need to use wxPython 2.3.3."  
 
Possible solution: Maybe pin wxpython 2.3.2 as a dep. Unfortunately there is 
no ebuild for it in portage. Until fix, maybe it should be masked...
Comment 1 José Alberto Suárez López 2003-01-03 06:30:16 UTC
a similar(?) problem here:

<error>
Starting Boa Constructor v0.1.0-alpha
importing wxPython
setting user preferences
running main...
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 1705, 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 609, 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
</error>

boa-constructor 0.1.0_alpha
wxpython 2.3.3.1-r2 (2.3.4.2 aviable)
Comment 2 Cletus Lichte 2003-04-04 00:28:59 UTC
The newest version of Boa is 0.2.0.  How 'bout an updated ebuild?
Comment 3 Peter Ruskin 2003-04-17 21:00:32 UTC
I didn't get as far as you:

$ boa-constructor
Starting Boa Constructor v0.1.0-alpha
importing wxPython
Traceback (most recent call last):
  File "./Boa.py", line 113, in ?
    from wxPython.wx import *
  File "/usr/lib/python2.2/site-packages/wxPython/__init__.py", line 20, in ?
    import wxc
ImportError: libwx_gtk-2.3.so: cannot open shared object file: No such file or directory
Comment 4 Bart Lauwers (RETIRED) gentoo-dev 2003-04-19 19:15:28 UTC
Hi the latest version of boa has been added to CVS, please allow some time for your mirror to carry it.