Re: [Pythonmac-SIG] timeout of connection?

2009-12-18 Thread has
Jon Christopher wrote: >> Are you sure all commands are being executed? > > Reasonably, but I'll have to check again. Always helps to be sure. Been there, done that. >> What do the references produced by the following look like: >> >>print app("EyeTV").recordings.get() > > > IIRC, i

Re: [Pythonmac-SIG] timeout of connection?

2009-12-17 Thread Jon Christopher
@ken: Oh, I'm all for "experimental computer science", I'll try the new version when I get home. @has: > Is the EyeTV process running throughout, or does it quit and restart? Running throughout. > Are you sure all commands are being executed? Reasonably, but I'll have to check again. > What d

Re: [Pythonmac-SIG] timeout of connection?

2009-12-17 Thread has
Jon Christopher wrote: > So, I'll reiterate my request. Can can any of the appscript gurus > think of any reason why > the following (pseudo) code should fail: > > > import appscript > id=app("EyeTV").recordings.get()[0] > app("EyeTV").play(id) # works just fine > app("EyeTV").stop() #works ju

Re: [Pythonmac-SIG] timeout of connection?

2009-12-17 Thread ken manheimer
On Thu, Dec 17, 2009 at 2:51 PM, Jon Christopher wrote: > Thanks, I'll try the fix when I get home. However, I should reiterate > that I'm not seeing a timeout (which would cause an exception, > right?). It's just that I (eventually) issue an applescript command > which seems to go nowhere. > >

Re: [Pythonmac-SIG] timeout of connection?

2009-12-17 Thread Jon Christopher
Thanks, I'll try the fix when I get home. However, I should reiterate that I'm not seeing a timeout (which would cause an exception, right?). It's just that I (eventually) issue an applescript command which seems to go nowhere. As I understand the id-rollover bug: 1) it will cause events which

Re: [Pythonmac-SIG] timeout of connection?

2009-12-17 Thread ken manheimer
On Thu, Dec 17, 2009 at 1:26 PM, Brad Howes wrote: > On Dec 16, 2009, at 2:26 PM, Jon Christopher wrote: > > > Thanks for the reply, Brad. > > > > I'm not familiar with the issue you describe. Can you provide a > > pointer to some related info? How would I test to see if my script is > > affect

Re: [Pythonmac-SIG] timeout of connection?

2009-12-17 Thread Jon Christopher
Thanks again Brad. The link and the related peek into the underlying operation of Apple Events was instructuve. Unfortunately, my particular bug shows up under Leopard too, not just Snow Leopard, so I don't think it's related. So, I'll reiterate my request. Can can any of the appscript gurus th

Re: [Pythonmac-SIG] timeout of connection?

2009-12-17 Thread Brad Howes
On Dec 16, 2009, at 2:26 PM, Jon Christopher wrote: > Thanks for the reply, Brad. > > I'm not familiar with the issue you describe. Can you provide a > pointer to some related info? How would I test to see if my script is > affected? http://db.tidbits.com/article/10643 -- Brad Howes Group 42

Re: [Pythonmac-SIG] timeout of connection?

2009-12-16 Thread Jon Christopher
Thanks for the reply, Brad. I'm not familiar with the issue you describe. Can you provide a pointer to some related info? How would I test to see if my script is affected? Thanks again, Jon On Wed, Dec 16, 2009 at 10:25 AM, Brad Howes wrote: > On Dec 15, 2009, at 4:14 PM, Jon Christopher wrot

Re: [Pythonmac-SIG] timeout of connection?

2009-12-16 Thread Brad Howes
On Dec 15, 2009, at 4:14 PM, Jon Christopher wrote: > It seems that after Front Row has been idle for quite some time > (perhaps 12 hours or more), and I then attempt to > play a recording, it doesn't seem like the message is sent to EyeTV, > (or perhaps it's just not received; I can't really tell

[Pythonmac-SIG] timeout of connection?

2009-12-15 Thread Jon Christopher
I'm the developer of PyeTV (http://code.google.com/p/pyetv/), a Front Row plugin for EyeTV. I'm experiencing some weird behavior that I'd like to ask the experts here about. Essentially all PyeTV does is communicate with EyeTV via appscript and throw up a few menu options in Front Row. When the u