Can't run FourWaySplitter demo

I get the following error when I try to run the FourWaySplitter demo:

jfb@jfb-ubuntu64:~/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw$ python run.py FourWaySplitter.py
wx.version: 2.8.10.1 (gtk2-unicode)
pid: 2547
Traceback (most recent call last):
   File "/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py", line 279, in OnButton
     self.win = FourWaySplitterDemo(self, self.log)
   File "/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py", line 204, in __init__
     panel = FWSPanel(self, log)
   File "/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py", line 99, in __init__
     splitter = FWS.FourWaySplitter(self, agwStyle=wx.SP_LIVE_UPDATE)
TypeError: __init__() got an unexpected keyword argument 'agwStyle'

Other demos that don't contain agwStyle run without error. Can anyone tell me what I need to add/change to get it to run.

Thanks, Jim

looks like you're trying to run the current wx demo (2.8.11) on an old
install of wx (2.8.10.1)

Andrea changed the agw widgets to use an agwStyle flag instead of the
style flag so that they would be more congruent with wx (and knowing
full well that it would cause breakage; but it was necessary).
Some widgets (like the Ribbon Toolbar) aren't in the older wx install,
and there's a multitude of bug fixes in the newest version, so you
should update your install of wx to 2.8.11 and then it should work.

-mark

···

On Fri, Jul 23, 2010 at 8:20 AM, Jim Byrnes <jf_byrnes@comcast.net> wrote:

I get the following error when I try to run the FourWaySplitter demo:

jfb@jfb-ubuntu64:~/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw$
python run.py FourWaySplitter.py
wx.version: 2.8.10.1 (gtk2-unicode)
pid: 2547
Traceback (most recent call last):
File
"/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py",
line 279, in OnButton
self.win = FourWaySplitterDemo(self, self.log)
File
"/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py",
line 204, in __init__
panel = FWSPanel(self, log)
File
"/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py",
line 99, in __init__
splitter = FWS.FourWaySplitter(self, agwStyle=wx.SP_LIVE_UPDATE)
TypeError: __init__() got an unexpected keyword argument 'agwStyle'

Other demos that don't contain agwStyle run without error. Can anyone tell
me what I need to add/change to get it to run.

Thanks, Jim

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

mw wrote:

looks like you're trying to run the current wx demo (2.8.11) on an old
install of wx (2.8.10.1)

Andrea changed the agw widgets to use an agwStyle flag instead of the
style flag so that they would be more congruent with wx (and knowing
full well that it would cause breakage; but it was necessary).
Some widgets (like the Ribbon Toolbar) aren't in the older wx install,
and there's a multitude of bug fixes in the newest version, so you
should update your install of wx to 2.8.11 and then it should work.

-mark

OK, thanks. That is the version installed on Unbuntu 10.04 when I used the package manager. I'll check but I doubt there is an updated version there, so I'll try to figure out how to do it outside the manager.

Regards, Jim

···

On Fri, Jul 23, 2010 at 8:20 AM, Jim Byrnes<jf_byrnes@comcast.net> wrote:

I get the following error when I try to run the FourWaySplitter demo:

jfb@jfb-ubuntu64:~/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw$
python run.py FourWaySplitter.py
wx.version: 2.8.10.1 (gtk2-unicode)
pid: 2547
Traceback (most recent call last):
  File
"/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py",
line 279, in OnButton
    self.win = FourWaySplitterDemo(self, self.log)
  File
"/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py",
line 204, in __init__
    panel = FWSPanel(self, log)
  File
"/home/jfb/Documents/Python_prog/wxPython/wxPython-2.8.11.0/demo/agw/FourWaySplitter.py",
line 99, in __init__
    splitter = FWS.FourWaySplitter(self, agwStyle=wx.SP_LIVE_UPDATE)
TypeError: __init__() got an unexpected keyword argument 'agwStyle'

Other demos that don't contain agwStyle run without error. Can anyone tell
me what I need to add/change to get it to run.

Thanks, Jim

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

http://wiki.wxpython.org/InstallingOnUbuntuOrDebian

···

On 7/23/10 10:24 AM, Jim Byrnes wrote:

mw wrote:

looks like you're trying to run the current wx demo (2.8.11) on an old
install of wx (2.8.10.1)

Andrea changed the agw widgets to use an agwStyle flag instead of the
style flag so that they would be more congruent with wx (and knowing
full well that it would cause breakage; but it was necessary).
Some widgets (like the Ribbon Toolbar) aren't in the older wx install,
and there's a multitude of bug fixes in the newest version, so you
should update your install of wx to 2.8.11 and then it should work.

-mark

OK, thanks. That is the version installed on Unbuntu 10.04 when I used
the package manager. I'll check but I doubt there is an updated version
there, so I'll try to figure out how to do it outside the manager.

--
Robin Dunn
Software Craftsman

Robin Dunn wrote:

···

On 7/23/10 10:24 AM, Jim Byrnes wrote:

mw wrote:

looks like you're trying to run the current wx demo (2.8.11) on an old
install of wx (2.8.10.1)

Andrea changed the agw widgets to use an agwStyle flag instead of the
style flag so that they would be more congruent with wx (and knowing
full well that it would cause breakage; but it was necessary).
Some widgets (like the Ribbon Toolbar) aren't in the older wx install,
and there's a multitude of bug fixes in the newest version, so you
should update your install of wx to 2.8.11 and then it should work.

-mark

OK, thanks. That is the version installed on Unbuntu 10.04 when I used
the package manager. I'll check but I doubt there is an updated version
there, so I'll try to figure out how to do it outside the manager.

InstallingOnUbuntuOrDebian - wxPyWiki

Thanks Robin, looks like that provides the hand holding I need.

Regards, Jim

Jim Byrnes wrote:

Robin Dunn wrote:

mw wrote:

looks like you're trying to run the current wx demo (2.8.11) on an old
install of wx (2.8.10.1)

Andrea changed the agw widgets to use an agwStyle flag instead of the
style flag so that they would be more congruent with wx (and knowing
full well that it would cause breakage; but it was necessary).
Some widgets (like the Ribbon Toolbar) aren't in the older wx install,
and there's a multitude of bug fixes in the newest version, so you
should update your install of wx to 2.8.11 and then it should work.

-mark

OK, thanks. That is the version installed on Unbuntu 10.04 when I used
the package manager. I'll check but I doubt there is an updated version
there, so I'll try to figure out how to do it outside the manager.

InstallingOnUbuntuOrDebian - wxPyWiki

Thanks Robin, looks like that provides the hand holding I need.

Regards, Jim

Apparently I need more hand holding than I thought. I get the following error when I try to install wxPython 2.8.11.0 on a test machine:

<snip>
Ign http://apt.wxwidgets.org lucid-wx Release.gpg
Ign http://apt.wxwidgets.org/ lucid-wx/main Translation-en_US
Ign http://apt.wxwidgets.org lucid-wx Release
Get:1 http://apt.wxwidgets.org lucid-wx/main Packages [5,469B]
Fetched 5,469B in 3s (1,478B/s)
Reading package lists... Done
jfb@jfb-ubuntu:~$ sudo apt-get install python-wxgtk2.8.11.0 python-wxtools wx2.8.11.0-il8n
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-wxgtk2.8.11.0

Software Sources-->authentication shows Robins key.
Software Sources-->Other Software shows http://apt.wxwidgets.org/ lucid-wx main

Can anyone spot what I did wrong? Note: I tried 2.8.11.0 & 2.8.11

Thanks, Jim

···

On 7/23/10 10:24 AM, Jim Byrnes wrote:

how about if you just use "sudo apt-get install python-wxgtk2.8"

···

On 23/07/2010 21:14, Jim Byrnes wrote:

Jim Byrnes wrote:

Robin Dunn wrote:

On 7/23/10 10:24 AM, Jim Byrnes wrote:

mw wrote:

looks like you're trying to run the current wx demo (2.8.11) on an old
install of wx (2.8.10.1)

Andrea changed the agw widgets to use an agwStyle flag instead of the
style flag so that they would be more congruent with wx (and knowing
full well that it would cause breakage; but it was necessary).
Some widgets (like the Ribbon Toolbar) aren't in the older wx install,
and there's a multitude of bug fixes in the newest version, so you
should update your install of wx to 2.8.11 and then it should work.

-mark

OK, thanks. That is the version installed on Unbuntu 10.04 when I used
the package manager. I'll check but I doubt there is an updated version
there, so I'll try to figure out how to do it outside the manager.

InstallingOnUbuntuOrDebian - wxPyWiki

Thanks Robin, looks like that provides the hand holding I need.

Regards, Jim

Apparently I need more hand holding than I thought. I get the following error when I try to install wxPython 2.8.11.0 on a test machine:

<snip>
Ign http://apt.wxwidgets.org lucid-wx Release.gpg
Ign http://apt.wxwidgets.org/ lucid-wx/main Translation-en_US
Ign http://apt.wxwidgets.org lucid-wx Release
Get:1 http://apt.wxwidgets.org lucid-wx/main Packages [5,469B]
Fetched 5,469B in 3s (1,478B/s)
Reading package lists... Done
jfb@jfb-ubuntu:~$ sudo apt-get install python-wxgtk2.8.11.0 python-wxtools wx2.8.11.0-il8n
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-wxgtk2.8.11.0

Software Sources-->authentication shows Robins key.
Software Sources-->Other Software shows http://apt.wxwidgets.org/ lucid-wx main

Can anyone spot what I did wrong? Note: I tried 2.8.11.0 & 2.8.11

Thanks, Jim

--
Steven Sproat, BSc
http://www.whyteboard.org/

Jim Byrnes wrote:

Jim Byrnes wrote:

Robin Dunn wrote:

mw wrote:

looks like you're trying to run the current wx demo (2.8.11) on an old
install of wx (2.8.10.1)

Andrea changed the agw widgets to use an agwStyle flag instead of the
style flag so that they would be more congruent with wx (and knowing
full well that it would cause breakage; but it was necessary).
Some widgets (like the Ribbon Toolbar) aren't in the older wx install,
and there's a multitude of bug fixes in the newest version, so you
should update your install of wx to 2.8.11 and then it should work.

-mark

OK, thanks. That is the version installed on Unbuntu 10.04 when I used
the package manager. I'll check but I doubt there is an updated version
there, so I'll try to figure out how to do it outside the manager.

InstallingOnUbuntuOrDebian - wxPyWiki

Thanks Robin, looks like that provides the hand holding I need.

Regards, Jim

Apparently I need more hand holding than I thought. I get the following
error when I try to install wxPython 2.8.11.0 on a test machine:

<snip>
Ign http://apt.wxwidgets.org lucid-wx Release.gpg
Ign http://apt.wxwidgets.org/ lucid-wx/main Translation-en_US
Ign http://apt.wxwidgets.org lucid-wx Release
Get:1 http://apt.wxwidgets.org lucid-wx/main Packages [5,469B]
Fetched 5,469B in 3s (1,478B/s)
Reading package lists... Done
jfb@jfb-ubuntu:~$ sudo apt-get install python-wxgtk2.8.11.0
python-wxtools wx2.8.11.0-il8n
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package python-wxgtk2.8.11.0

Software Sources-->authentication shows Robins key.
Software Sources-->Other Software shows http://apt.wxwidgets.org/
lucid-wx main

Can anyone spot what I did wrong? Note: I tried 2.8.11.0 & 2.8.11

Thanks, Jim

Replying to myself because I somehow deleted a response to it which ask what happened if I tried just python-wxgtk2.8.

I tried it and it looked like it was working right up to the very end of the installation process which ended with errors. (I have attached the 50 line output from the terminal) Now I can't seem to run any wxPython program. I get the following error:

jfb@jfb-ubuntu:~/Public/wxPython-2.8.11.0/demo$ python About.py
Traceback (most recent call last):
   File "About.py", line 3, in <module>
     import wx # This module uses the new wx namespace
   File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.py", line 45, in <module>
     from wx._core import *
   File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 4, in <module>
     import _core_
ImportError: /usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so: symbol _ZNK12wxWindowBase18WindowToClientSizeERK6wxSize, version WXU_2.8 not defined in file libwx_gtk2u_core-2.8.so.0 with link time reference

Luckily this was all on a test machine but I really would like to get it straightened out so I can update my main machine to the latest wxPython.

Thanks, Jim

wx_install_errs.txt (2.96 KB)

···

On 7/23/10 10:24 AM, Jim Byrnes wrote:

Jim Byrnes wrote:

Replying to myself because I somehow deleted a response to it which ask
what happened if I tried just python-wxgtk2.8.

I tried it and it looked like it was working right up to the very end of
the installation process which ended with errors. (I have attached the
50 line output from the terminal) Now I can't seem to run any wxPython
program. I get the following error:

jfb@jfb-ubuntu:~/Public/wxPython-2.8.11.0/demo$ python About.py
Traceback (most recent call last):
File "About.py", line 3, in <module>
import wx # This module uses the new wx namespace
File
"/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/__init__.py",
line 45, in <module>
from wx._core import *
File "/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 4, in <module>
import _core_
ImportError:
/usr/lib/python2.6/dist-packages/wx-2.8-gtk2-unicode/wx/_core_.so:
symbol _ZNK12wxWindowBase18WindowToClientSizeERK6wxSize, version WXU_2.8
not defined in file libwx_gtk2u_core-2.8.so.0 with link time reference

Luckily this was all on a test machine but I really would like to get it
straightened out so I can update my main machine to the latest wxPython.

Thanks, Jim

I used the Synaptic Package Manager to completely remove wxPython and then just installed python-wxgtk2.8 and python-wxtools. Now everything seems to be fine and all the demos I've tried work.

Regards, Jim