probs with SpokePOV.py under Linux

MiniPOV, MiniPOV2 and MiniPOV3

Moderators: adafruit_support_bill, adafruit

probs with SpokePOV.py under Linux

Postby mux » Tue Dec 06, 2005 1:37 pm

Hola,

Well, I'm stuck here:
[drew@banned spokepov]$ ./SpokePOV.py
Traceback (most recent call last):
File "./SpokePOV.py", line 1025, in ?
sys.exit(main())
File "./SpokePOV.py", line 1013, in main
app = SpokeSoft(redirect=False)
File "/usr/lib/python2.4/site-packages/wxPython/wx.py", line 1951, in __init__
_wxStart(self.OnInit)
File "./SpokePOV.py", line 984, in OnInit
frame = SpokeSoftFrame(None, "pySpokePOV")
File "./SpokePOV.py", line 692, in __init__
self.Bind(wx.EVT_MENU, self.OnImportBMP, id=1)
AttributeError: SpokeSoftFrame instance has no attribute 'Bind'
[drew@banned spokepov]$

I've got Python 2.4.1, wxPython and wxPythonGTK2 installed. I installed pyParallel too (tho that was... interesting. Seems like the guy that wrote it has never installed it on Linux before - really basic error in setup.py, I had to comment out the line "package_data = data_files" to get the install to work at all...).

Any ideas?
(hey, where's your laptop?)
http://mux.ca <-- techno lives here.
User avatar
mux
 
Posts: 47
Joined: Sat May 28, 2005 10:28 pm
Location: Vancouver, BC, Canada

Postby adafruit » Tue Dec 06, 2005 1:40 pm

Sadly, I dont have a linux box anymore or rather, it kernel panics on boot. I know I got working a few months ago. I'll try to find a linux box around somewhere but I dont know if I can do it anytime soon.
User avatar
adafruit
 
Posts: 10547
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby adafruit » Tue Dec 06, 2005 1:44 pm

hmm, try running "python spokepov.py"

not that it should make a difference but...
User avatar
adafruit
 
Posts: 10547
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby mux » Tue Dec 06, 2005 1:54 pm

[drew@banned spokepov]$ python SpokePOV.py
Traceback (most recent call last):
File "SpokePOV.py", line 1025, in ?
sys.exit(main())
File "SpokePOV.py", line 1013, in main
app = SpokeSoft(redirect=False)
File "/usr/lib/python2.4/site-packages/wxPython/wx.py", line 1951, in __init__
_wxStart(self.OnInit)
File "SpokePOV.py", line 984, in OnInit
frame = SpokeSoftFrame(None, "pySpokePOV")
File "SpokePOV.py", line 692, in __init__
self.Bind(wx.EVT_MENU, self.OnImportBMP, id=1)
AttributeError: SpokeSoftFrame instance has no attribute 'Bind'
[drew@banned spokepov]$

Identical error. :(
(hey, where's your laptop?)
http://mux.ca <-- techno lives here.
User avatar
mux
 
Posts: 47
Joined: Sat May 28, 2005 10:28 pm
Location: Vancouver, BC, Canada

Postby Guest » Fri Dec 23, 2005 3:53 pm

mayyybe a wrong version of python or more specifically wx ? ie did you try with other versions ?
Guest
 

upgrade wxpython

Postby Chairman Meow » Sun Jan 08, 2006 7:02 pm

The wxPython migration guide says that wxEvtHandlers got a Bind() method between wxPython 2.4 and 2.6. As suggested above, you appear to have too old a wxPython version installed.

[drew@banned spokepov]$


mux: it could also be that your computer simply despises you for giving it the hostname banned. :lol:
User avatar
Chairman Meow
 
Posts: 56
Joined: Sat Jul 30, 2005 7:48 pm
Location: Morgantown, WV

Postby adafruit » Mon Jan 09, 2006 1:55 am

woah, i could have sworn i was running python 2.4...thats what ive got on my windows box (2.4.1) however, i am running wxpython 2.6 maybe thats the problem?
User avatar
adafruit
 
Posts: 10547
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc

Postby Chairman Meow » Mon Jan 09, 2006 8:34 pm

ladyada wrote:woah, i could have sworn i was running python 2.4...thats what ive got on my windows box (2.4.1) however, i am running wxpython 2.6 maybe thats the problem?


Noo! wxPython means the Python language bindings to the wxWidgets GUI library (previously known as wxWindows). wxPython version tracks with wxWidgets version I believe. It's only a coincidence that you see both Python and the wxPython library at version 2.4, their numbers are not related. I'm guessing that you (Limor) have Python 2.4, and wxPython 2.6 built for Python 2.4. That just means you have the latest version of both. I'm guessing that the original poster has Python 2.4 (from the stacktrace) and wxPython 2.4 (latest Python, old wx).
User avatar
Chairman Meow
 
Posts: 56
Joined: Sat Jul 30, 2005 7:48 pm
Location: Morgantown, WV

Postby adafruit » Mon Jan 09, 2006 9:34 pm

i hate software
User avatar
adafruit
 
Posts: 10547
Joined: Thu Apr 06, 2006 3:21 pm
Location: nyc


Return to MiniPOV

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]