| forum.getinpulse.com http://www.getinpulse.com/hack/forum/ |
|
| OS X compileandload.py compiles but load fails http://www.getinpulse.com/hack/forum/viewtopic.php?f=5&t=258 |
Page 1 of 1 |
| Author: | jvatic [ Fri Apr 29, 2011 6:10 am ] |
| Post subject: | OS X compileandload.py compiles but load fails |
Hi, I'm new to java and python so I'm hoping my new inPulse will motivate me to learn both. Anyways, I'm following the mac guide (http://www.getinpulse.com/guide/mac/) Output for L2CAPServerjar: Code: Select all $ java -d32 -jar ./tools/L2CAPServer/L2CAPServer.jarOutput for compileandload.py: Code: Select all $ python compileandload.py -d 00:50:c2:79:xx:xxMost relevant part I think would be the last line of the python output Code: Select all TypeError: flashbinary() takes exactly 4 arguments (5 given)which suggests my version of whatever houses flashbinary() is out of date. Any ideas? How can I further debug this? |
|
| Author: | jvatic [ Fri Apr 29, 2011 6:22 am ] |
| Post subject: | Re: OS X compileandload.py compiles but load fails |
Fixed, tools/bt_python/flashbin.py defines flashbinary() and adding a fifth option got ride of the error. Looking in compileandload.py the fifth option is always True and flashbinary() has a while True, could these be related? perhaps flashbinary() was updated to not hard code "True" but the old version was mistakenly released? Its disappointing to see these trivial issues in released code. |
|
| Author: | Eric [ Sat Apr 30, 2011 10:42 pm ] |
| Post subject: | Re: OS X compileandload.py compiles but load fails |
Thanks for pointing out this error, I've corrected this in pulse_sdk114 at www.getinPulse.com/pulsesdk. It was my fault, a poor merge. |
|
| Page 1 of 1 | All times are UTC - 8 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|