badbear1727 / rur-ple

Automatically exported from code.google.com/p/rur-ple
GNU General Public License v2.0
0 stars 0 forks source link

Pclinuxos uses wxPython 2.8 so source fails to start #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.

Started in a terminal ./rur_start.py

What is the expected output? What do you see instead?

Fails with an error about wrong wxPython version requires 2.6

What version of the product are you using? On what operating system?

Pclinuxos 2009  1.01 source code zip file

Please provide any additional information below.

Edited line 32 rur_start.py and it works now after changing it to :-

wxversion.select('2.8')

Original issue reported on code.google.com by ferris.b...@googlemail.com on 1 Jan 2010 at 8:03

GoogleCodeExporter commented 9 years ago
Just discovered wxPython 2.8 brings issue 9 into play. ie. The robot can't be
manually driven by using the arrow keys.

Original comment by ferris.b...@googlemail.com on 1 Jan 2010 at 8:08

GoogleCodeExporter commented 9 years ago
Changing line 178 in /rur_py/world_display.py 

From 

code = event.KeyCode()

to 

code = event.GetKeyCode()

fixes that.

Original comment by ferris.b...@googlemail.com on 1 Jan 2010 at 8:43

GoogleCodeExporter commented 9 years ago
Thanks for the code update. Isn't it possible to install wxPython2.6 
concurrently?
The package forces the wxpython dependency (just a temporary workaround).
Another bug introduce by wxpython2.8 is the control speed slider which no longer
works, can you confirm this as well (seems it's ok under Mac though).

Original comment by f...@beijinglug.org on 2 Jan 2010 at 1:26

GoogleCodeExporter commented 9 years ago
I haven't tried the rpm. Is the source rpm available? I'd like to learn how to
package for Pclos so, it'd be handy to see the spec file.

The control speed slider seems to work for me. As long as its set before 
running...

Original comment by ferris.b...@googlemail.com on 2 Jan 2010 at 9:22

GoogleCodeExporter commented 9 years ago
The rpm package was made using alien, so no. You can however look at 
linux_packaging
directory to see the files I used. I am just starting to package and this will 
change
a lot in the months to come.

If you remove wxversion.select('2.6') from rur_start.py it will work with 2.8 
(albeit
the 2 bugs I mentioned). We're also working on those fixes at the moment.

Original comment by f...@beijinglug.org on 2 Jan 2010 at 9:36

GoogleCodeExporter commented 9 years ago

Original comment by f...@beijinglug.org on 8 Jan 2010 at 1:33

GoogleCodeExporter commented 9 years ago

Original comment by f...@beijinglug.org on 8 Jan 2010 at 1:55

GoogleCodeExporter commented 9 years ago

Original comment by f...@beijinglug.org on 10 Jan 2010 at 3:52

GoogleCodeExporter commented 9 years ago

Original comment by f...@beijinglug.org on 16 Jan 2010 at 1:28