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
/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
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
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
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
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
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
===
>
> 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
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
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
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
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.
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
dfile myapp.pid
Sincerely
-bino-
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
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
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
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
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-
___
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
;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
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
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
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
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
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
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-
___
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
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
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
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
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
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-
___
32 matches
Mail list logo