Re: [Twisted-Python] How to get the socket error when NIC is down

2012-07-04 Thread Justin Venus
Can you share the code so we can see the problem for ourselves? Justin Venus On Jul 4, 2012 10:54 PM, "Peng Xiao -X (penxiao - Digital China at Cisco)" < penx...@cisco.com> wrote: > ** ** > > Hi experts, > > ** ** > > I wrote a TCP program using twisted, and the TCP socket bind the local IP

[Twisted-Python] How to get the socket error when NIC is down

2012-07-04 Thread Peng Xiao -X (penxiao - Digital China at Cisco)
Hi experts, I wrote a TCP program using twisted, and the TCP socket bind the local IP address, the code can reconnect TCP connection when TCP is disconnected. But the program will be exit without any error when the local NIC is down. I want to know how can I capture the exception when the local

Re: [Twisted-Python] bug or my code? (getPage + Twisted Webserver = Exception)

2012-07-04 Thread Glyph
Le Jul 4, 2012 à 1:19 PM, Me Myself a écrit : > I know I need to isolate the bug from my project into a simple example > that can illustrate the bug. Unfortunately, I'm not sure I've the time > to do that right now. It's OK, any time you have the time to do it, we will be ready to handle the b

Re: [Twisted-Python] bug or my code? (getPage + Twisted Webserver = Exception)

2012-07-04 Thread Me Myself
Thanks for the quick reply Jean-Paul. I just removed nose from the equation. And now, only firefox or chrome can actually get to the webpages/Twisted webserver, but getPage keeps printing that exception. It seems I've reduced the problem to getPage. I ran a separate thread and used urlopen, and eve

Re: [Twisted-Python] ANN: Twisted DBus 1.0 => WebSocket/WAMP Bridge

2012-07-04 Thread Tobias Oberstein
Hi Tom, Great! I have created a quick example that bridges WebSocket/WAMP and Dbus https://github.com/tavendo/AutobahnPython/tree/master/examples/wamp/dbus This allows to trigger desktop notifications on one or multiple machines from a browser based UI running anywhere via a WebSocket/WAMP PubS

Re: [Twisted-Python] bug or my code? (getPage + Twisted Webserver = Exception)

2012-07-04 Thread exarkun
On 3 Jul, 09:54 pm, mobilebacku...@gmail.com wrote: >Hi All, > >I have a flask application that I am running on a https twisted >webserver and forwarding the port to a url. Everything works well. I >can goto the url using firefox, accept the certificate and get in. > >I have a small nose test to te

Re: [Twisted-Python] ANN: Twisted DBus 1.0

2012-07-04 Thread exarkun
On 3 Jul, 05:56 pm, tom.coca...@gmail.com wrote: >Not sure how I overlooked that. Probably too busy watching out for all the other pitfalls involved in packaging Python software. ;) Thanks for being so responsive on these points! And congrats on your release. :) Jean-Paul >Done. > >Tom > >On

Re: [Twisted-Python] Assigning AMP box senders & receivers from the responder

2012-07-04 Thread Glyph
Le Jul 4, 2012 à 12:39 AM, Laurens Van Houtven <_...@lvh.cc> a écrit : > On 03 Jul 2012, at 23:53, Glyph wrote: > >> >> On Jul 3, 2012, at 12:08 AM, Laurens Van Houtven <_...@lvh.cc> wrote: >> >>> I'm trying to implement a command called "Become" that allows a staff >>> member to work as if h

Re: [Twisted-Python] Assigning AMP box senders & receivers from the responder

2012-07-04 Thread Laurens Van Houtven
On 03 Jul 2012, at 23:53, Glyph wrote: > > On Jul 3, 2012, at 12:08 AM, Laurens Van Houtven <_...@lvh.cc> wrote: > >> I'm trying to implement a command called "Become" that allows a staff member >> to work as if he was the user himself. The most obvious way (to me at least) >> to do that to c