pnegre / python-whiteboard

Linux whiteboard in python
http://wiki.github.com/pnegre/python-whiteboard/
GNU General Public License v2.0
117 stars 24 forks source link

Rasbian/Debian #12

Open shamppa opened 11 years ago

shamppa commented 11 years ago

Never mind...

pnegre commented 11 years ago

Hello!

Can you provide more data? I need to know where the program fails to be able to work on this issue...

On Wed, Sep 11, 2013 at 10:51 AM, shamppa notifications@github.com wrote:

Cannot run beacuse "Connect()" method takes 2 arguments, and I have no idea where to get argument "device"????

Any help?

— Reply to this email directly or view it on GitHubhttps://github.com/pnegre/python-whiteboard/issues/12 .

Pere

shamppa commented 11 years ago

My own python script wasn't working, but now I downloaded whole thing via git, and now it starts and connects, but immediately after connecting, the wiimote turns off and I am not able to calibrate or anything... :(

pnegre commented 11 years ago

For testing purposes, make sure that you run "python-whiteboard-test" from the top directory. Run the script from the console and paste the error message in your post.

On Thu, Sep 12, 2013 at 4:13 PM, shamppa notifications@github.com wrote:

My own python script wasn't working, but now I downloaded whole thing via git, and now it starts and connects, but immediately after connecting, the wiimote turns off and I am not able to calibrate or anything... :(

— Reply to this email directly or view it on GitHubhttps://github.com/pnegre/python-whiteboard/issues/12#issuecomment-24322684 .

Pere

shamppa commented 11 years ago

I ran test with following output: "Using directory: /home/pi/python-whiteboard/stuff Connected to 78:A2:A0:60:1B:23 starting"

and when I activated console, lots of ^[ started to print...

And when I disconnected and closed program:

"Bluetooth socket closed succefully. stopping Segmentation fault"

pnegre commented 11 years ago

Hi. It's not easy to diagnose the problem, I can't replicate it with my computer. Are you a programmer? If you know some python, you can insert some print statements on the code to see where it fails exactly...

On Thu, Sep 12, 2013 at 4:43 PM, shamppa notifications@github.com wrote:

I ran test with following output: "Using directory: /home/pi/python-whiteboard/stuff Connected to 78:A2:A0:60:1B:23 starting" and when I activated console, lots of ^[ started to print...

And when I disconnected and closed program:

"Bluetooth socket closed succefully. stopping Segmentation fault"

— Reply to this email directly or view it on GitHubhttps://github.com/pnegre/python-whiteboard/issues/12#issuecomment-24325691 .

Pere

shamppa commented 11 years ago

Hi!

Haven't programmed much with python, but w/ java c# etc. So I think I could try that. Oh, and I'm using newer wiimote (motion plus inside). Could it be something caused by different cpu arch.?(ARMv6-cpu)??? Ill post details when I have tried it. I can also post details from IDLE debugger if it helps?

Kind Regards, Sami Aro

Senr from Windows Phone


Lähettäjä: Pere Negre Lähetetty: 12.9.2013 22:38 Vastaanottaja: pnegre/python-whiteboard Kopio: shamppa Aihe: Re: [python-whiteboard] Rasbian/Debian (#12)

Hi. It's not easy to diagnose the problem, I can't replicate it with my computer. Are you a programmer? If you know some python, you can insert some print statements on the code to see where it fails exactly...

On Thu, Sep 12, 2013 at 4:43 PM, shamppa notifications@github.com wrote:

I ran test with following output: "Using directory: /home/pi/python-whiteboard/stuff Connected to 78:A2:A0:60:1B:23 starting" and when I activated console, lots of ^[ started to print...

And when I disconnected and closed program:

"Bluetooth socket closed succefully. stopping Segmentation fault"

— Reply to this email directly or view it on GitHubhttps://github.com/pnegre/python-whiteboard/issues/12#issuecomment-24325691 .

Pere


Reply to this email directly or view it on GitHub: https://github.com/pnegre/python-whiteboard/issues/12#issuecomment-24349493

shamppa commented 11 years ago

Okay, now I founded this kind error: blutooth.btcommon.BluetoothError: (103, 'Software caused connection abort')

EDIT: They say in the internet that the newer wiimote needs toshiba bt stack, so i'm going to try with older model when I get one of them. Reporting more then.

pnegre commented 11 years ago

Mmm... maybe the problem is on the client libraries.

On Fri, Sep 13, 2013 at 8:10 AM, shamppa notifications@github.com wrote:

Okay, now I founded this kind error: blutooth.btcommon.BluetoothError: (103, 'Software caused connection abort')

— Reply to this email directly or view it on GitHubhttps://github.com/pnegre/python-whiteboard/issues/12#issuecomment-24375138 .

Pere