minor wxPythonSrc-2.5.1.5 install problem

Hi,

while installing wxPythonSrc-2.5.1.5,
I got the error

     line 411, in run
        if WXPREFIX.startswith(root):
    TypeError: expected a character buffer object

from the command
    python2.3 setup.py install BUILD_OGL=0 BUILD_GLCANVAS=0 \
              BUILD_GIZMOS=0

By changing from
  self.root = None
to
  self.root = ""
in
wxPythonSrc-2.5.1.5/wxPython/config.py
this error goes away.

-- Michael

Michael Hohn wrote:

Hi,

while installing wxPythonSrc-2.5.1.5,
I got the error

    line 411, in run
       if WXPREFIX.startswith(root):
   TypeError: expected a character buffer object

from the command
   python2.3 setup.py install BUILD_OGL=0 BUILD_GLCANVAS=0 \
             BUILD_GIZMOS=0

By changing from
self.root = None
to
self.root = ""
in
wxPythonSrc-2.5.1.5/wxPython/config.py
this error goes away.

Yep, this problem is known and has been fixed in the CVS for several weeks now.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!