Hi, I run python run_gui.py. It opens the gui window. Then I use the menubar to start a new simulation. The first dialog of the simulation (choosing parameters like width and height for the built in life sim) appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 subwindows of the application stuck in the upper left corner of the window. I'm using ubuntu 9.10, and the code from git (I plan to try to contribute some simpacks). Thanks, Ofri
On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > Hi, > > I run python run_gui.py. It opens the gui window. Then I use the menubar to > start a new simulation. The first dialog of the simulation (choosing > parameters like width and height for the built in life sim) appears. After I > click OK, it just hangs with 100% CPU. I can see all the 4 subwindows of the > application stuck in the upper left corner of the window. > > I'm using ubuntu 9.10, and the code from git (I plan to try to contribute > some simpacks). > > Thanks, > > Ofri > Welcome to the list Ofri. My first suspicion is that you're using an old version of wxPython. Tell me your wxPython version number. Also, check if you get any error messages in the shell that ran `run_gui.py`, send these as well. Ram. -- Sincerely, Ram Rachum
wxPython.__version__ == '2.8.10.1' When i import it manually, i get this deprecation warning: DeprecationWarning: The wxPython compatibility package is no longer automatically generated or actively maintained. Please switch to the wx package as soon as possible. No errors in the shell. On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com> wrote: > On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > >> Hi, >> >> I run python run_gui.py. It opens the gui window. Then I use the menubar >> to start a new simulation. The first dialog of the simulation (choosing >> parameters like width and height for the built in life sim) appears. After I >> click OK, it just hangs with 100% CPU. I can see all the 4 subwindows of the >> application stuck in the upper left corner of the window. >> >> I'm using ubuntu 9.10, and the code from git (I plan to try to contribute >> some simpacks). >> >> Thanks, >> >> Ofri >> > > Welcome to the list Ofri. > > My first suspicion is that you're using an old version of wxPython. Tell me > your wxPython version number. Also, check if you get any error messages in > the shell that ran `run_gui.py`, send these as well. > > Ram. > > -- > Sincerely, > Ram Rachum >
I think you did `import wxPython`. Did you? If so, you shouldn't do it. All access to wxPython is by importing `wx`. Do `import wx` and then `wx.__version__`, and tell me what it says. On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > wxPython.__version__ == '2.8.10.1' > When i import it manually, i get this deprecation warning: > DeprecationWarning: The wxPython compatibility package is no longer > automatically generated or actively maintained. Please switch to the wx > package as soon as possible. > > No errors in the shell. > > > On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com> wrote: > >> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com> wrote: >> >>> Hi, >>> >>> I run python run_gui.py. It opens the gui window. Then I use the menubar >>> to start a new simulation. The first dialog of the simulation (choosing >>> parameters like width and height for the built in life sim) appears. After I >>> click OK, it just hangs with 100% CPU. I can see all the 4 subwindows of the >>> application stuck in the upper left corner of the window. >>> >>> I'm using ubuntu 9.10, and the code from git (I plan to try to contribute >>> some simpacks). >>> >>> Thanks, >>> >>> Ofri >>> >> >> Welcome to the list Ofri. >> >> My first suspicion is that you're using an old version of wxPython. Tell >> me your wxPython version number. Also, check if you get any error messages >> in the shell that ran `run_gui.py`, send these as well. >> >> Ram. >> >> -- >> Sincerely, >> Ram Rachum >> > > -- Sincerely, Ram Rachum
wx.__version__ == '2.8.10.1' On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: > I think you did `import wxPython`. Did you? If so, you shouldn't do it. All > access to wxPython is by importing `wx`. Do `import wx` and then > `wx.__version__`, and tell me what it says. > > > On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > >> wxPython.__version__ == '2.8.10.1' >> When i import it manually, i get this deprecation warning: >> DeprecationWarning: The wxPython compatibility package is no longer >> automatically generated or actively maintained. Please switch to the wx >> package as soon as possible. >> >> No errors in the shell. >> >> >> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com> wrote: >> >>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>> >>>> Hi, >>>> >>>> I run python run_gui.py. It opens the gui window. Then I use the menubar >>>> to start a new simulation. The first dialog of the simulation (choosing >>>> parameters like width and height for the built in life sim) appears. After I >>>> click OK, it just hangs with 100% CPU. I can see all the 4 subwindows of the >>>> application stuck in the upper left corner of the window. >>>> >>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>> contribute some simpacks). >>>> >>>> Thanks, >>>> >>>> Ofri >>>> >>> >>> Welcome to the list Ofri. >>> >>> My first suspicion is that you're using an old version of wxPython. Tell >>> me your wxPython version number. Also, check if you get any error messages >>> in the shell that ran `run_gui.py`, send these as well. >>> >>> Ram. >>> >>> -- >>> Sincerely, >>> Ram Rachum >>> >> >> > > > -- > Sincerely, > Ram Rachum >
Mm, you stumped me. I'm considering installing the same operating system as you have on a VM. Can you tell me how you got wxPython installed? I mean, did it come with the OS, did you install through Synaptic? On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > wx.__version__ == '2.8.10.1' > > > > On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: > >> I think you did `import wxPython`. Did you? If so, you shouldn't do it. >> All access to wxPython is by importing `wx`. Do `import wx` and then >> `wx.__version__`, and tell me what it says. >> >> >> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com> wrote: >> >>> wxPython.__version__ == '2.8.10.1' >>> When i import it manually, i get this deprecation warning: >>> DeprecationWarning: The wxPython compatibility package is no longer >>> automatically generated or actively maintained. Please switch to the wx >>> package as soon as possible. >>> >>> No errors in the shell. >>> >>> >>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>> >>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>> >>>>> Hi, >>>>> >>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>> menubar to start a new simulation. The first dialog of the simulation >>>>> (choosing parameters like width and height for the built in life sim) >>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>> subwindows of the application stuck in the upper left corner of the window. >>>>> >>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>> contribute some simpacks). >>>>> >>>>> Thanks, >>>>> >>>>> Ofri >>>>> >>>> >>>> Welcome to the list Ofri. >>>> >>>> My first suspicion is that you're using an old version of wxPython. Tell >>>> me your wxPython version number. Also, check if you get any error messages >>>> in the shell that ran `run_gui.py`, send these as well. >>>> >>>> Ram. >>>> >>>> -- >>>> Sincerely, >>>> Ram Rachum >>>> >>> >>> >> >> >> -- >> Sincerely, >> Ram Rachum >> > > -- Sincerely, Ram Rachum
I don't remember. I don't develop stuff with wx so I don't remember installing it, but it may have been a dependency for some other package I installed. Does it really matter? On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com> wrote: > Mm, you stumped me. I'm considering installing the same operating system as > you have on a VM. Can you tell me how you got wxPython installed? I mean, > did it come with the OS, did you install through Synaptic? > > On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > >> wx.__version__ == '2.8.10.1' >> >> >> >> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >> >>> I think you did `import wxPython`. Did you? If so, you shouldn't do it. >>> All access to wxPython is by importing `wx`. Do `import wx` and then >>> `wx.__version__`, and tell me what it says. >>> >>> >>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>> >>>> wxPython.__version__ == '2.8.10.1' >>>> When i import it manually, i get this deprecation warning: >>>> DeprecationWarning: The wxPython compatibility package is no longer >>>> automatically generated or actively maintained. Please switch to the wx >>>> package as soon as possible. >>>> >>>> No errors in the shell. >>>> >>>> >>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>> >>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>>> menubar to start a new simulation. The first dialog of the simulation >>>>>> (choosing parameters like width and height for the built in life sim) >>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>> >>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>> contribute some simpacks). >>>>>> >>>>>> Thanks, >>>>>> >>>>>> Ofri >>>>>> >>>>> >>>>> Welcome to the list Ofri. >>>>> >>>>> My first suspicion is that you're using an old version of wxPython. >>>>> Tell me your wxPython version number. Also, check if you get any error >>>>> messages in the shell that ran `run_gui.py`, send these as well. >>>>> >>>>> Ram. >>>>> >>>>> -- >>>>> Sincerely, >>>>> Ram Rachum >>>>> >>>> >>>> >>> >>> >>> -- >>> Sincerely, >>> Ram Rachum >>> >> >> > > > -- > Sincerely, > Ram Rachum >
Okay, I'm gonna install it on a VM and try to reproduce. It's the desktop edition, right? i386 or something else? On Fri, Jul 23, 2010 at 4:41 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > I don't remember. I don't develop stuff with wx so I don't remember > installing it, but it may have been a dependency for some other package I > installed. Does it really matter? > > > On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com> wrote: > >> Mm, you stumped me. I'm considering installing the same operating system >> as you have on a VM. Can you tell me how you got wxPython installed? I mean, >> did it come with the OS, did you install through Synaptic? >> >> On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com> wrote: >> >>> wx.__version__ == '2.8.10.1' >>> >>> >>> >>> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>> >>>> I think you did `import wxPython`. Did you? If so, you shouldn't do it. >>>> All access to wxPython is by importing `wx`. Do `import wx` and then >>>> `wx.__version__`, and tell me what it says. >>>> >>>> >>>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>> >>>>> wxPython.__version__ == '2.8.10.1' >>>>> When i import it manually, i get this deprecation warning: >>>>> DeprecationWarning: The wxPython compatibility package is no longer >>>>> automatically generated or actively maintained. Please switch to the wx >>>>> package as soon as possible. >>>>> >>>>> No errors in the shell. >>>>> >>>>> >>>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>>> >>>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>>>> menubar to start a new simulation. The first dialog of the simulation >>>>>>> (choosing parameters like width and height for the built in life sim) >>>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>>> >>>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>>> contribute some simpacks). >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Ofri >>>>>>> >>>>>> >>>>>> Welcome to the list Ofri. >>>>>> >>>>>> My first suspicion is that you're using an old version of wxPython. >>>>>> Tell me your wxPython version number. Also, check if you get any error >>>>>> messages in the shell that ran `run_gui.py`, send these as well. >>>>>> >>>>>> Ram. >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> Ram Rachum >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Ram Rachum >>>> >>> >>> >> >> >> -- >> Sincerely, >> Ram Rachum >> > > -- Sincerely, Ram Rachum
By the way, I should note that I test GarlicSim regularly on Ubuntu, but I do it on the latest version. (10.04 I think.) On Fri, Jul 23, 2010 at 9:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: > Okay, I'm gonna install it on a VM and try to reproduce. It's the desktop > edition, right? i386 or something else? > > > On Fri, Jul 23, 2010 at 4:41 PM, ofri raviv <ofri.raviv@gmail.com> wrote: > >> I don't remember. I don't develop stuff with wx so I don't remember >> installing it, but it may have been a dependency for some other package I >> installed. Does it really matter? >> >> >> On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com> wrote: >> >>> Mm, you stumped me. I'm considering installing the same operating system >>> as you have on a VM. Can you tell me how you got wxPython installed? I mean, >>> did it come with the OS, did you install through Synaptic? >>> >>> On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>> >>>> wx.__version__ == '2.8.10.1' >>>> >>>> >>>> >>>> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>> >>>>> I think you did `import wxPython`. Did you? If so, you shouldn't do it. >>>>> All access to wxPython is by importing `wx`. Do `import wx` and then >>>>> `wx.__version__`, and tell me what it says. >>>>> >>>>> >>>>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>> >>>>>> wxPython.__version__ == '2.8.10.1' >>>>>> When i import it manually, i get this deprecation warning: >>>>>> DeprecationWarning: The wxPython compatibility package is no longer >>>>>> automatically generated or actively maintained. Please switch to the wx >>>>>> package as soon as possible. >>>>>> >>>>>> No errors in the shell. >>>>>> >>>>>> >>>>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>>>> >>>>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>>>>> menubar to start a new simulation. The first dialog of the simulation >>>>>>>> (choosing parameters like width and height for the built in life sim) >>>>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>>>> >>>>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>>>> contribute some simpacks). >>>>>>>> >>>>>>>> Thanks, >>>>>>>> >>>>>>>> Ofri >>>>>>>> >>>>>>> >>>>>>> Welcome to the list Ofri. >>>>>>> >>>>>>> My first suspicion is that you're using an old version of wxPython. >>>>>>> Tell me your wxPython version number. Also, check if you get any error >>>>>>> messages in the shell that ran `run_gui.py`, send these as well. >>>>>>> >>>>>>> Ram. >>>>>>> >>>>>>> -- >>>>>>> Sincerely, >>>>>>> Ram Rachum >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Ram Rachum >>>>> >>>> >>>> >>> >>> >>> -- >>> Sincerely, >>> Ram Rachum >>> >> >> > > > -- > Sincerely, > Ram Rachum > -- Sincerely, Ram Rachum
Okay, I installed Ubuntu 9.10 i386 Desktop on a VM. Then I installed wxPython 2.8.10.1 from apt-get. I downloaded GarlicSim using the "Download" button in GitHub, then ran `run_gui.py` and it worked with no bugs. Is this on a laptop? If so you can bring it to PyWeb-IL and I'll debug it. Or you can try to uninstall wxPython and then install it again. (There are installation instructions on wxpython.org). On Fri, Jul 23, 2010 at 11:02 PM, cool-RR <cool-rr@cool-rr.com> wrote: > By the way, I should note that I test GarlicSim regularly on Ubuntu, but I > do it on the latest version. (10.04 I think.) > > > On Fri, Jul 23, 2010 at 9:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: > >> Okay, I'm gonna install it on a VM and try to reproduce. It's the desktop >> edition, right? i386 or something else? >> >> >> On Fri, Jul 23, 2010 at 4:41 PM, ofri raviv <ofri.raviv@gmail.com> wrote: >> >>> I don't remember. I don't develop stuff with wx so I don't remember >>> installing it, but it may have been a dependency for some other package I >>> installed. Does it really matter? >>> >>> >>> On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>> >>>> Mm, you stumped me. I'm considering installing the same operating system >>>> as you have on a VM. Can you tell me how you got wxPython installed? I mean, >>>> did it come with the OS, did you install through Synaptic? >>>> >>>> On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>> >>>>> wx.__version__ == '2.8.10.1' >>>>> >>>>> >>>>> >>>>> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>>> >>>>>> I think you did `import wxPython`. Did you? If so, you shouldn't do >>>>>> it. All access to wxPython is by importing `wx`. Do `import wx` and then >>>>>> `wx.__version__`, and tell me what it says. >>>>>> >>>>>> >>>>>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>> >>>>>>> wxPython.__version__ == '2.8.10.1' >>>>>>> When i import it manually, i get this deprecation warning: >>>>>>> DeprecationWarning: The wxPython compatibility package is no longer >>>>>>> automatically generated or actively maintained. Please switch to the wx >>>>>>> package as soon as possible. >>>>>>> >>>>>>> No errors in the shell. >>>>>>> >>>>>>> >>>>>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>> >>>>>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>>>>>> menubar to start a new simulation. The first dialog of the simulation >>>>>>>>> (choosing parameters like width and height for the built in life sim) >>>>>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>>>>> >>>>>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>>>>> contribute some simpacks). >>>>>>>>> >>>>>>>>> Thanks, >>>>>>>>> >>>>>>>>> Ofri >>>>>>>>> >>>>>>>> >>>>>>>> Welcome to the list Ofri. >>>>>>>> >>>>>>>> My first suspicion is that you're using an old version of wxPython. >>>>>>>> Tell me your wxPython version number. Also, check if you get any error >>>>>>>> messages in the shell that ran `run_gui.py`, send these as well. >>>>>>>> >>>>>>>> Ram. >>>>>>>> >>>>>>>> -- >>>>>>>> Sincerely, >>>>>>>> Ram Rachum >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> Ram Rachum >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Ram Rachum >>>> >>> >>> >> >> >> -- >> Sincerely, >> Ram Rachum >> > > > > -- > Sincerely, > Ram Rachum > -- Sincerely, Ram Rachum
I got the code using a git clone, but I don't think this is it. Its a laptop, so I'll bring to PyWeb-IL. If I have the time I'll try to reinstall before. On Sat, Jul 24, 2010 at 11:37 AM, cool-RR <cool-rr@cool-rr.com> wrote: > Okay, I installed Ubuntu 9.10 i386 Desktop on a VM. Then I installed > wxPython 2.8.10.1 from apt-get. I downloaded GarlicSim using the "Download" > button in GitHub, then ran `run_gui.py` and it worked with no bugs. > > Is this on a laptop? If so you can bring it to PyWeb-IL and I'll debug it. > Or you can try to uninstall wxPython and then install it again. (There are > installation instructions on wxpython.org). > > On Fri, Jul 23, 2010 at 11:02 PM, cool-RR <cool-rr@cool-rr.com> wrote: > >> By the way, I should note that I test GarlicSim regularly on Ubuntu, but I >> do it on the latest version. (10.04 I think.) >> >> >> On Fri, Jul 23, 2010 at 9:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >> >>> Okay, I'm gonna install it on a VM and try to reproduce. It's the desktop >>> edition, right? i386 or something else? >>> >>> >>> On Fri, Jul 23, 2010 at 4:41 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>> >>>> I don't remember. I don't develop stuff with wx so I don't remember >>>> installing it, but it may have been a dependency for some other package I >>>> installed. Does it really matter? >>>> >>>> >>>> On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>> >>>>> Mm, you stumped me. I'm considering installing the same operating >>>>> system as you have on a VM. Can you tell me how you got wxPython installed? >>>>> I mean, did it come with the OS, did you install through Synaptic? >>>>> >>>>> On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>> >>>>>> wx.__version__ == '2.8.10.1' >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>>>> >>>>>>> I think you did `import wxPython`. Did you? If so, you shouldn't do >>>>>>> it. All access to wxPython is by importing `wx`. Do `import wx` and then >>>>>>> `wx.__version__`, and tell me what it says. >>>>>>> >>>>>>> >>>>>>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>> >>>>>>>> wxPython.__version__ == '2.8.10.1' >>>>>>>> When i import it manually, i get this deprecation warning: >>>>>>>> DeprecationWarning: The wxPython compatibility package is no longer >>>>>>>> automatically generated or actively maintained. Please switch to the wx >>>>>>>> package as soon as possible. >>>>>>>> >>>>>>>> No errors in the shell. >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>>> >>>>>>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>>>>>>> menubar to start a new simulation. The first dialog of the simulation >>>>>>>>>> (choosing parameters like width and height for the built in life sim) >>>>>>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>>>>>> >>>>>>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>>>>>> contribute some simpacks). >>>>>>>>>> >>>>>>>>>> Thanks, >>>>>>>>>> >>>>>>>>>> Ofri >>>>>>>>>> >>>>>>>>> >>>>>>>>> Welcome to the list Ofri. >>>>>>>>> >>>>>>>>> My first suspicion is that you're using an old version of wxPython. >>>>>>>>> Tell me your wxPython version number. Also, check if you get any error >>>>>>>>> messages in the shell that ran `run_gui.py`, send these as well. >>>>>>>>> >>>>>>>>> Ram. >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Sincerely, >>>>>>>>> Ram Rachum >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sincerely, >>>>>>> Ram Rachum >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Ram Rachum >>>>> >>>> >>>> >>> >>> >>> -- >>> Sincerely, >>> Ram Rachum >>> >> >> >> >> -- >> Sincerely, >> Ram Rachum >> > > > > -- > Sincerely, > Ram Rachum >
Great. On Sat, Jul 24, 2010 at 11:50 AM, ofri raviv <ofri.raviv@gmail.com> wrote: > I got the code using a git clone, but I don't think this is it. > Its a laptop, so I'll bring to PyWeb-IL. If I have the time I'll try to > reinstall before. > > > On Sat, Jul 24, 2010 at 11:37 AM, cool-RR <cool-rr@cool-rr.com> wrote: > >> Okay, I installed Ubuntu 9.10 i386 Desktop on a VM. Then I installed >> wxPython 2.8.10.1 from apt-get. I downloaded GarlicSim using the "Download" >> button in GitHub, then ran `run_gui.py` and it worked with no bugs. >> >> Is this on a laptop? If so you can bring it to PyWeb-IL and I'll debug it. >> Or you can try to uninstall wxPython and then install it again. (There are >> installation instructions on wxpython.org). >> >> On Fri, Jul 23, 2010 at 11:02 PM, cool-RR <cool-rr@cool-rr.com> wrote: >> >>> By the way, I should note that I test GarlicSim regularly on Ubuntu, but >>> I do it on the latest version. (10.04 I think.) >>> >>> >>> On Fri, Jul 23, 2010 at 9:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>> >>>> Okay, I'm gonna install it on a VM and try to reproduce. It's the >>>> desktop edition, right? i386 or something else? >>>> >>>> >>>> On Fri, Jul 23, 2010 at 4:41 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>> >>>>> I don't remember. I don't develop stuff with wx so I don't remember >>>>> installing it, but it may have been a dependency for some other package I >>>>> installed. Does it really matter? >>>>> >>>>> >>>>> On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>>> >>>>>> Mm, you stumped me. I'm considering installing the same operating >>>>>> system as you have on a VM. Can you tell me how you got wxPython installed? >>>>>> I mean, did it come with the OS, did you install through Synaptic? >>>>>> >>>>>> On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>> >>>>>>> wx.__version__ == '2.8.10.1' >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>> >>>>>>>> I think you did `import wxPython`. Did you? If so, you shouldn't do >>>>>>>> it. All access to wxPython is by importing `wx`. Do `import wx` and then >>>>>>>> `wx.__version__`, and tell me what it says. >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>>> >>>>>>>>> wxPython.__version__ == '2.8.10.1' >>>>>>>>> When i import it manually, i get this deprecation warning: >>>>>>>>> DeprecationWarning: The wxPython compatibility package is no longer >>>>>>>>> automatically generated or actively maintained. Please switch to the wx >>>>>>>>> package as soon as possible. >>>>>>>>> >>>>>>>>> No errors in the shell. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>>>> >>>>>>>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv <ofri.raviv@gmail.com >>>>>>>>>> > wrote: >>>>>>>>>> >>>>>>>>>>> Hi, >>>>>>>>>>> >>>>>>>>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>>>>>>>> menubar to start a new simulation. The first dialog of the simulation >>>>>>>>>>> (choosing parameters like width and height for the built in life sim) >>>>>>>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>>>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>>>>>>> >>>>>>>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>>>>>>> contribute some simpacks). >>>>>>>>>>> >>>>>>>>>>> Thanks, >>>>>>>>>>> >>>>>>>>>>> Ofri >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> Welcome to the list Ofri. >>>>>>>>>> >>>>>>>>>> My first suspicion is that you're using an old version of >>>>>>>>>> wxPython. Tell me your wxPython version number. Also, check if you get any >>>>>>>>>> error messages in the shell that ran `run_gui.py`, send these as well. >>>>>>>>>> >>>>>>>>>> Ram. >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Sincerely, >>>>>>>>>> Ram Rachum >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Sincerely, >>>>>>>> Ram Rachum >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> Ram Rachum >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Ram Rachum >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> Ram Rachum >>> >> >> >> >> -- >> Sincerely, >> Ram Rachum >> > > -- Sincerely, Ram Rachum
You were right, the problem was having IPython as my default shell. After disabling it, GarlicSim GUI works OK. On Sat, Jul 24, 2010 at 12:54 PM, cool-RR <cool-rr@cool-rr.com> wrote: > Great. > > > On Sat, Jul 24, 2010 at 11:50 AM, ofri raviv <ofri.raviv@gmail.com> wrote: > >> I got the code using a git clone, but I don't think this is it. >> Its a laptop, so I'll bring to PyWeb-IL. If I have the time I'll try to >> reinstall before. >> >> >> On Sat, Jul 24, 2010 at 11:37 AM, cool-RR <cool-rr@cool-rr.com> wrote: >> >>> Okay, I installed Ubuntu 9.10 i386 Desktop on a VM. Then I installed >>> wxPython 2.8.10.1 from apt-get. I downloaded GarlicSim using the "Download" >>> button in GitHub, then ran `run_gui.py` and it worked with no bugs. >>> >>> Is this on a laptop? If so you can bring it to PyWeb-IL and I'll debug >>> it. Or you can try to uninstall wxPython and then install it again. (There >>> are installation instructions on wxpython.org). >>> >>> On Fri, Jul 23, 2010 at 11:02 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>> >>>> By the way, I should note that I test GarlicSim regularly on Ubuntu, but >>>> I do it on the latest version. (10.04 I think.) >>>> >>>> >>>> On Fri, Jul 23, 2010 at 9:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>> >>>>> Okay, I'm gonna install it on a VM and try to reproduce. It's the >>>>> desktop edition, right? i386 or something else? >>>>> >>>>> >>>>> On Fri, Jul 23, 2010 at 4:41 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>> >>>>>> I don't remember. I don't develop stuff with wx so I don't remember >>>>>> installing it, but it may have been a dependency for some other package I >>>>>> installed. Does it really matter? >>>>>> >>>>>> >>>>>> On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>>>> >>>>>>> Mm, you stumped me. I'm considering installing the same operating >>>>>>> system as you have on a VM. Can you tell me how you got wxPython installed? >>>>>>> I mean, did it come with the OS, did you install through Synaptic? >>>>>>> >>>>>>> On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>> >>>>>>>> wx.__version__ == '2.8.10.1' >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>>> >>>>>>>>> I think you did `import wxPython`. Did you? If so, you shouldn't do >>>>>>>>> it. All access to wxPython is by importing `wx`. Do `import wx` and then >>>>>>>>> `wx.__version__`, and tell me what it says. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>>>> >>>>>>>>>> wxPython.__version__ == '2.8.10.1' >>>>>>>>>> When i import it manually, i get this deprecation warning: >>>>>>>>>> DeprecationWarning: The wxPython compatibility package is no >>>>>>>>>> longer automatically generated or actively maintained. Please switch to the >>>>>>>>>> wx package as soon as possible. >>>>>>>>>> >>>>>>>>>> No errors in the shell. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>>>>> >>>>>>>>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv < >>>>>>>>>>> ofri.raviv@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi, >>>>>>>>>>>> >>>>>>>>>>>> I run python run_gui.py. It opens the gui window. Then I use the >>>>>>>>>>>> menubar to start a new simulation. The first dialog of the simulation >>>>>>>>>>>> (choosing parameters like width and height for the built in life sim) >>>>>>>>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>>>>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>>>>>>>> >>>>>>>>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>>>>>>>> contribute some simpacks). >>>>>>>>>>>> >>>>>>>>>>>> Thanks, >>>>>>>>>>>> >>>>>>>>>>>> Ofri >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> Welcome to the list Ofri. >>>>>>>>>>> >>>>>>>>>>> My first suspicion is that you're using an old version of >>>>>>>>>>> wxPython. Tell me your wxPython version number. Also, check if you get any >>>>>>>>>>> error messages in the shell that ran `run_gui.py`, send these as well. >>>>>>>>>>> >>>>>>>>>>> Ram. >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Sincerely, >>>>>>>>>>> Ram Rachum >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Sincerely, >>>>>>>>> Ram Rachum >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sincerely, >>>>>>> Ram Rachum >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Ram Rachum >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Ram Rachum >>>> >>> >>> >>> >>> -- >>> Sincerely, >>> Ram Rachum >>> >> >> > > > -- > Sincerely, > Ram Rachum >
Great! On Tue, Jul 27, 2010 at 9:12 AM, ofri raviv <ofri.raviv@gmail.com> wrote: > You were right, the problem was having IPython as my default shell. After > disabling it, GarlicSim GUI works OK. > > > On Sat, Jul 24, 2010 at 12:54 PM, cool-RR <cool-rr@cool-rr.com> wrote: > >> Great. >> >> >> On Sat, Jul 24, 2010 at 11:50 AM, ofri raviv <ofri.raviv@gmail.com>wrote: >> >>> I got the code using a git clone, but I don't think this is it. >>> Its a laptop, so I'll bring to PyWeb-IL. If I have the time I'll try to >>> reinstall before. >>> >>> >>> On Sat, Jul 24, 2010 at 11:37 AM, cool-RR <cool-rr@cool-rr.com> wrote: >>> >>>> Okay, I installed Ubuntu 9.10 i386 Desktop on a VM. Then I installed >>>> wxPython 2.8.10.1 from apt-get. I downloaded GarlicSim using the "Download" >>>> button in GitHub, then ran `run_gui.py` and it worked with no bugs. >>>> >>>> Is this on a laptop? If so you can bring it to PyWeb-IL and I'll debug >>>> it. Or you can try to uninstall wxPython and then install it again. (There >>>> are installation instructions on wxpython.org). >>>> >>>> On Fri, Jul 23, 2010 at 11:02 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>> >>>>> By the way, I should note that I test GarlicSim regularly on Ubuntu, >>>>> but I do it on the latest version. (10.04 I think.) >>>>> >>>>> >>>>> On Fri, Jul 23, 2010 at 9:22 PM, cool-RR <cool-rr@cool-rr.com> wrote: >>>>> >>>>>> Okay, I'm gonna install it on a VM and try to reproduce. It's the >>>>>> desktop edition, right? i386 or something else? >>>>>> >>>>>> >>>>>> On Fri, Jul 23, 2010 at 4:41 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>> >>>>>>> I don't remember. I don't develop stuff with wx so I don't remember >>>>>>> installing it, but it may have been a dependency for some other package I >>>>>>> installed. Does it really matter? >>>>>>> >>>>>>> >>>>>>> On Fri, Jul 23, 2010 at 5:27 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>> >>>>>>>> Mm, you stumped me. I'm considering installing the same operating >>>>>>>> system as you have on a VM. Can you tell me how you got wxPython installed? >>>>>>>> I mean, did it come with the OS, did you install through Synaptic? >>>>>>>> >>>>>>>> On Fri, Jul 23, 2010 at 4:25 PM, ofri raviv <ofri.raviv@gmail.com>wrote: >>>>>>>> >>>>>>>>> wx.__version__ == '2.8.10.1' >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Jul 23, 2010 at 5:22 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>>>> >>>>>>>>>> I think you did `import wxPython`. Did you? If so, you shouldn't >>>>>>>>>> do it. All access to wxPython is by importing `wx`. Do `import wx` and then >>>>>>>>>> `wx.__version__`, and tell me what it says. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Fri, Jul 23, 2010 at 3:00 PM, ofri raviv <ofri.raviv@gmail.com >>>>>>>>>> > wrote: >>>>>>>>>> >>>>>>>>>>> wxPython.__version__ == '2.8.10.1' >>>>>>>>>>> When i import it manually, i get this deprecation warning: >>>>>>>>>>> DeprecationWarning: The wxPython compatibility package is no >>>>>>>>>>> longer automatically generated or actively maintained. Please switch to the >>>>>>>>>>> wx package as soon as possible. >>>>>>>>>>> >>>>>>>>>>> No errors in the shell. >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Fri, Jul 23, 2010 at 3:53 PM, cool-RR <cool-rr@cool-rr.com>wrote: >>>>>>>>>>> >>>>>>>>>>>> On Fri, Jul 23, 2010 at 2:50 PM, ofri raviv < >>>>>>>>>>>> ofri.raviv@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi, >>>>>>>>>>>>> >>>>>>>>>>>>> I run python run_gui.py. It opens the gui window. Then I use >>>>>>>>>>>>> the menubar to start a new simulation. The first dialog of the simulation >>>>>>>>>>>>> (choosing parameters like width and height for the built in life sim) >>>>>>>>>>>>> appears. After I click OK, it just hangs with 100% CPU. I can see all the 4 >>>>>>>>>>>>> subwindows of the application stuck in the upper left corner of the window. >>>>>>>>>>>>> >>>>>>>>>>>>> I'm using ubuntu 9.10, and the code from git (I plan to try to >>>>>>>>>>>>> contribute some simpacks). >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks, >>>>>>>>>>>>> >>>>>>>>>>>>> Ofri >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> Welcome to the list Ofri. >>>>>>>>>>>> >>>>>>>>>>>> My first suspicion is that you're using an old version of >>>>>>>>>>>> wxPython. Tell me your wxPython version number. Also, check if you get any >>>>>>>>>>>> error messages in the shell that ran `run_gui.py`, send these as well. >>>>>>>>>>>> >>>>>>>>>>>> Ram. >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Sincerely, >>>>>>>>>>>> Ram Rachum >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Sincerely, >>>>>>>>>> Ram Rachum >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Sincerely, >>>>>>>> Ram Rachum >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Sincerely, >>>>>> Ram Rachum >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Sincerely, >>>>> Ram Rachum >>>>> >>>> >>>> >>>> >>>> -- >>>> Sincerely, >>>> Ram Rachum >>>> >>> >>> >> >> >> -- >> Sincerely, >> Ram Rachum >> > > -- Sincerely, Ram Rachum