Python 2.6.4 - Urllib2 - Windows XP - Reading streaming HTTP source kills network card ... (believe it or not)

2010-01-12 Thread Sandy Walsh
This is very odd. Hopefully someone can shed some insight. I've tried this with Python 2.5.2 and recently upgraded to 2.6.4 and see the same problem. I'm running on Windows XP sp3. I'm interfacing with an IP camera that streamed jpeg frames at 10fps over HTTP. The format of the stream is: 4

Re: Python 2.6.4 - Urllib2 - Windows XP - Reading streaming HTTP source kills network card ... (believe it or not)

2010-01-12 Thread Sandy Walsh
I've also run this under IronPython 2.6 and, while it takes longer (about 5 minutes), I get the same results. And this too takes down the NIC on the PC. It's gotta be something with my PC, so don't sweat it ... time for an upgrade I think. -S <>-- http://mail.python.org/mailman/listinfo/py

Strangeness: Cannot write to a file from a process created by Windows Task Scheduler ...

2009-10-26 Thread Sandy Walsh
Hi there, Seeing some really weird behavior and perhaps someone has seen something similar: I have a python script that launches as a Windows Scheduled Task. The program simply opens a disk file and writes some text to it: --- f = open("waiting.txt", "w") x = 0 while 1: f.write("Sleeping

Re: Strangeness: Cannot write to a file from a process created by Windows Task Scheduler ...

2009-10-26 Thread Sandy Walsh
ote: You could try to flush the file? Maybe it would flush once you close, which never happens; did you try to limit the amount of times it run inside the 'while' loop? Regards Marco On Mon, Oct 26, 2009 at 6:17 PM, Sandy Walsh wrote: Hi there, Seeing some really weird behavior