[Twisted-Python] question : use existing tac file with tap.

2013-11-11 Thread bino
but (thanks to my lame brain) failed to understand on how to implement this to my existing script. Kindly please tell me how to do it or give me realy basic example on using/migrating tac file with Twisted Application Plugin. Sincerely -bino- ___ Tw

Re: [Twisted-Python] twisted irc client + packet capturing

2013-11-08 Thread bino
/pycap.sourceforge.net/), but I'm having > some difficulties with getting it to work. my 'dirty' workaround suggestion : 1. Write a twisted based IRC bot that also have a UDP server function 2. Write a pycap based script that capture packet an

Re: [Twisted-Python] question : How to listen to USB-HID

2013-05-18 Thread bino
UDP and receive it easily in twistd Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] question : How to listen to USB-HID

2013-05-17 Thread bino
ort-protocol-as-a-service.html But I plan to replace arduino with digispark ( http://digistump.com/products/1 ) Problem is I just realize that this device will recognized as USB-HID Kindly please give me any enlightenment on how to handle USB-HID device with twistd ? Sincerely -b

[Twisted-Python] is it about wokkel ?

2013-05-06 Thread bino
l system stable passing 24 hour test. Kindly please some body give me tell me what wokkel XMPP client will do when it got no resposponse/call from other for long time. Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twisted

Re: [Twisted-Python] question : txdbus and dbus-send

2013-04-23 Thread bino
ames and paths in DBus. I did so more than once while writing > up this reply. I really appreciate your enlightenment. I'll do your suggestion. Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] question : txdbus and dbus-send

2013-04-22 Thread bino
Dear All I take https://github.com/cocagne/txdbus/blob/master/doc/tutorial_examples/simple_server and save it to /home/bino/Documents/mbink/pythons/coretac/dbus00.py bino@bino-pata:~$ ls -la /home/bino/Documents/mbink/pythons/coretac |grep dbus -rwxrwxr-x 1 bino bino 1026 Apr 22 12:08 dbus00.py

Re: [Twisted-Python] question : dbus for twistd application framework

2012-05-30 Thread bino oetomo
=== > > I can then run this command: > > === > twistd -y server.tac > === > > And it'll start up the server and daemonise the process, running it as > a service. > Shame on my lame brain !! So ... if currently my 'core' script is a

Re: [Twisted-Python] question : dbus for twistd application framework

2012-05-30 Thread bino oetomo
ce and join to a MultiService ? Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] HomeMatic - xmlrpc twisted !!

2012-05-28 Thread bino oetomo
dge Arduino and XMPP. So if you still need more discussion, and have a time .. plis elaborate more about : 1. What is homematic 2. What you want your twisted script to work May be there is something that I can share Sincerely -bino- ___ T

[Twisted-Python] question : dbus for twistd application framework

2012-05-28 Thread bino oetomo
any example of dbus implementation on twistd that use service.Application ? Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] question : json.loads failed using LineReceiver data

2012-05-14 Thread bino oetomo
w_decode raise ValueError("No JSON object could be decoded") exceptions.ValueError: No JSON object could be decoded STOP- I try to do json.loads based on received msg using python console, and it work : ---START- bino@bino-desktop:/var/log/rabbitmq$ python Python 2.

[Twisted-Python] question : SerialService and an autostart application of autologin user, strange behaviour

2012-04-09 Thread bino oetomo
ng send by my arduino looks like did not received by TAC script. Kindly please tell me how to (what to look for to) fix this problem Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] question : redis and twisteD application service framework

2012-04-03 Thread bino oetomo
dfile myapp.pid Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Question : Listen to GPSD

2012-04-03 Thread bino oetomo
isten to my gps-port anymore. My question is : Is there any way to make my twisted script to *listen* to GPSD ? Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Question : PyNotify call from twist daemon

2012-03-06 Thread bino oetomo
Argh ignore my post about this problem. I just need to add --> mynotify.show() to fix it. BTW it's not needed when we are not in twisted. Sincerely -bino- On 03/06/2012 05:38 PM, bino oetomo wrote: > Dear Phil > On 03/06/2012 04:33 PM, Phil Mayers wrote: >> So pyn

Re: [Twisted-Python] Question : PyNotify call from twist daemon

2012-03-06 Thread bino oetomo
Dear Phil On 03/06/2012 04:33 PM, Phil Mayers wrote: > > So pynotify is a GTK thing? > I don't know > Are you using the GTK reactor? > Ooopss .. no ... Could you please tell me how to do it with MultiService ? I still need run my script using twi

[Twisted-Python] Question : PyNotify call from twist daemon

2012-03-06 Thread bino oetomo
ked text") if not n.show(): print "Failed to send notification" sys.exit(1) ---STOP It work just fine. My system is : Ubuntu maveric, with just Xorg and OpenBox Kindly please give me any of your enlightment to fix this problem Sincerely -bino- ___

[Twisted-Python] Question : Failed to read gpsfake

2012-02-23 Thread bino oetomo
3 16:02:50+0700 [-] twistd 11.1.0 (/usr/bin/python 2.6.6) starting up. 2012-02-23 16:02:50+0700 [-] reactor class: twisted.internet.pollreactor.PollReactor. 2012-02-23 16:02:50+0700 [-] debug : Serial Service start Kindly please give me any enlightment about this problem

[Twisted-Python] still, txjson-rpc question

2012-01-15 Thread bino oetomo
;OK' to the end of my rpc method, but RPC client also need 'RESPON ID' with the same value of it's 'REQUEST ID' My PHP script catch this exception and said --> Incorrect response id (request id: 1, response id: ) Is there any clue to fix this problem ? Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] txjsonrpc.web2 ?

2012-01-13 Thread bino oetomo
Dear All ... I try to use txjsonrpc web2. I download the source from http://pypi.python.org/packages/source/t/txJSON-RPC/txJSON-RPC-0.3.1.tar.gz after extracting and installing .. I go to the examples/web2 directory ... and run : bino@bino-desktop:~/Documents/IWIC/JSONRPC/txJSON-RPC-0.3.1

Re: [Twisted-Python] test

2012-01-09 Thread bino oetomo
Hi Jessica On 01/10/2012 08:10 AM, Jessica McKellar wrote: > Hi Bino, > > I received your e-mails from today, as well as the other e-mails that > have been sent in the last couple of days, which you can check here: > > http://twistedmatrix.com/pipermail/twisted-python/2012-J

Re: [Twisted-Python] test

2012-01-09 Thread bino oetomo
Hi Jessica. "Strangely" I also receive this "test" post But I didn't receive my previous post Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] question about twisted+wxPython : How to migrate to twistd ?

2012-01-09 Thread bino oetomo
screen/panel/window when started 2. wait for command input via TCP/UDP/UnixSocket in JSON format 3. update the display based on variables inside incoming command And if it not to much ... i prefer using twisted .tac file and service.MultiService() and service.Application(). Sincerely -bino- **On

[Twisted-Python] test

2012-01-09 Thread bino oetomo
I don't receive any new post for several days. Is there a problem with this list ? -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] question about twisted+wxPython : How to migrate to twistd ?

2012-01-08 Thread bino oetomo
MultiService() #Add our Services to multiservice myrpcservice.setServiceParent(multiService) #Set created application to be serviceparent of multiservice multiService.setServiceParent(application) -- Kindly please give me your enlightment. Sincerely -bino- ___

Re: [Twisted-Python] Question : Combining wokel XMPP and twisted.internet.serial

2011-12-25 Thread bino oetomo
Dear Tim Allen and Jean-Paul I realy appreciate your enlightment .. i try it and it works Sincerely -bino- On 12/23/2011 11:15 AM, Tim Allen wrote: > It looks like "self.writethis" is an Element, not a string. Python's > print statement will automatically call str() on th

Re: [Twisted-Python] Question : Combining wokel XMPP and twisted.internet.serial

2011-12-22 Thread bino oetomo
writethis)" line raise an exceptions --START- File "./mytac01.tac", line 44, in onMessage self.serial.write(self.writethis) File "/usr/lib/python2.6/dist-packages/twisted/internet/abstract.py", line 191, in

Re: [Twisted-Python] Question : Combining wokel XMPP and twisted.internet.serial

2011-12-22 Thread bino oetomo
essage\n') - I tried to google with the error msg as keyword ... mostly about Serial port loosing connection. In my case , the serial port still have it's connection . since the arduino msg still coming Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Question : Combining wokel XMPP and twisted.internet.serial

2011-12-21 Thread bino oetomo
Dear Lucas Taylor Thankyou for your fast enlightment. It's time for me to re-build my ejabberd turnkey linux Sincerely -bino- On 12/22/2011 01:12 PM, Lucas Taylor wrote: > > > This is a relevant FAQ for this situation: > http://twistedmatrix.com/trac/wiki/Frequen

[Twisted-Python] Question : Combining wokel XMPP and twisted.internet.serial

2011-12-21 Thread bino oetomo
l to send data via an instance of XMPP client ? and 2. my EchobotProtocol.onMessage (see pastebin), to write data to the same serial port used by Point#1 above. Sincerely -bino- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] question : Twistar

2011-07-12 Thread bino oetomo
ool('psycopg2', user="twistar", passwd="apass", db="twistar") ---Stop Is that right ? If So ... where to put the db server ip address (i.e : my Postgres server is at 192.168.10.232) ? Sincerely -bino- ___