[beagleboard] Python script stops reading serial port after several days

2014-09-02 Thread chrismyers81
Hi everyone!

I've got my BBB rev. C set up as a data logger for a serial data stream 
from an Arduino. It basically takes this data, uploads it to xively, and 
checks certain values for exceeded thresholds and sends an email if found. 
This works fine. However, after the script has been running for several 
days, it stops working. The script itself seems to continue running, but it 
stops acknowledging that it's receiving any data or trying to upload to 
xively. If I ctrl+c out of the script and restart it, it starts working 
fine again. The device it's connected to continues to work properly 
regardless of whether the BBB is logging anything, so I don't believe that 
the problem is with it.

Is there any way to determine where the problem lies? (BBB, python, etc.?) 
Here's a copy of my code (please don't mock it too much, I'm a Python noob) 
:
http://susepaste.org/399d9d1f

(This is what the data looks like if it makes any difference:
2014-08-31 20:51:38.841985
91,h,44

2014-08-31 20:51:40.063139
92,t,72

2014-08-31 20:51:44.727206
92,h,42

2014-08-31 20:51:45.463794
90,t,71

2014-08-31 20:52:17.112091
90,h,44

...)

I've Googled around, and haven't really found anything regarding something 
like this. There were a couple of random bulletin board posts that seemed 
similar, but they all went off into no-answer-land.

Thanks in advance :)

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Clean up default software to get to a (mostly) standard distro?

2014-06-26 Thread chrismyers81
Hi everyone!

I just got my BBB rev C in the mail on Tuesday! Super excited about it too 
:D

What I'm wondering is - there's a lot of extra software on the system that 
I don't really need. Is there a list somewhere of all of the specialized 
software that's installed, so that I can take the system back to a more 
standard setup? Eg., I'd rather have Apache serve out over port 80, rather 
than whatever's doing so currently, and I don't need the developer tools on 
the board itself (I'll put them on my other computer.) I don't really need 
all the X stuff either. For the most part, I just want a basic server (that 
I can install some additinoal software to) that can be used to access all 
the GPIO, UARTs, etc.

Thanks!
Chris

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.