Vajrasky Kok added the comment:
How do you infer the data types for the parameters?
I don't think we can, unless we force them to use function annotation. If they
don't use that feature, then we say the signature is not supported.
The problem is getting deeper if we are talking about return
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13404
___
Abhishek Singh abhishekrsi...@gmail.com added the comment:
I found my problem.
I was also using pipes to implement my show output (between python and C). The
pipe was getting full, and xmlrpc server was locking up because of that.
The gdb traceback was confusing though (will re-open if I see
timeout might help
given my system is loaded with lots of competing (for CPU) threads. I am
running the Simple xmlrpc server.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15021
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
What kind of xmlrpc server do you run? And how exactly?
Try to set a timeout to all sockets:
socket.setdefaulttimeout(10)
Does this change something? Which exception (and traceback) do you get?
--
nosy: +amaury.forgeotdarc
New submission from Abhishek Singh abhishekrsi...@gmail.com:
Hi Terry,
I am running into a xmlrpc server issue where it just hangs.
9.914048127.0.0.1 - 127.0.0.1TCP 52327 8012 [SYN] Seq=0 Win=32792
Len=0 MSS=16396 TSV=3131436173 TSER=0 WS=6
00 00 00 00 00 00 00 00 00 00 00
New submission from Raymond Hettinger raymond.hettin...@gmail.com:
The xmlrpclib client already supports gzipped data and say so in the HTTP
header: Accept-Encoding: gzip.
Our XMLRPC Server ignores this header and always sends uncompressed data.
--
messages: 158282
nosy: rhettinger
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13404
___
___
Python-bugs-list
.
--
components: Library (Lib)
messages: 147623
nosy: rhettinger
priority: normal
severity: normal
status: open
title: Add support for system.methodSignature() to XMLRPC Server
type: feature request
versions: Python 3.3
___
Python tracker rep...@bugs.python.org
http
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +flox, loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13404
___
___
Python-bugs-list
Martin v. Löwis mar...@v.loewis.de added the comment:
How do you infer the data types for the parameters?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13404
___
Hi,
I have Lighttpd web server running on port 80.
and i have a xmlrpc web server running on port 8085
How i can send all my request/response to xmlrpc server through lighttpd
server running on port 80?
Thanks and regards,
Gopal
--
http://mail.python.org/mailman/listinfo/python-list
hello all,
I am thinking of using the doctest module for my unit testing code in
python.
I have no problems doing this in usual classes but I am a bit confused
with my twisted based rpc classes.
given that I directly take the output of running functions on a python
prompt for the dockstrings, how
Hello,
I am a newbie to python and trying to get a hang of some of its
advanced features through an application I am building. Basically, I'd
like to build a weather forecasting web service. The clients should be
able to query the service with a location and date and get back the
weather forecast.
/search?q=python+xmlrpc+server+example
Cheers,
Daniel
--
Psss, psss, put it down! - http://www.cafepress.com/putitdown
--
http://mail.python.org/mailman/listinfo/python-list
On 10/29/08, Zix [EMAIL PROTECTED] wrote:
Hello,
I am a newbie to python and trying to get a hang of some of its
advanced features through an application I am building. Basically, I'd
like to build a weather forecasting web service. The clients should be
able to query the service with a
Guilherme Polo schrieb:
On 10/29/08, Zix [EMAIL PROTECTED] wrote:
Hello,
I am a newbie to python and trying to get a hang of some of its
advanced features through an application I am building. Basically, I'd
like to build a weather forecasting web service. The clients should be
able to
On Oct 29, 11:26 pm, Daniel Fetchinson [EMAIL PROTECTED]
wrote:
These pages might be useful, they include example code:
Thanks Daniel, they do help.
On Oct 29, 11:42 pm, Guilherme Polo [EMAIL PROTECTED] wrote:
Why did you decide to expose a web service through xmlrpc instead of
actually
I'm debugging an xmlrpc client/server application. Often when an
exception occurs in the server, I receive only a very short error
message on the client. For example:
xmlrpclib.Fault: Fault 1: type 'exceptions.AssertionError':
Presumably this is because xmlrpclib on the server is catching
Scott wrote:
I'm debugging an xmlrpc client/server application. Often when an
exception occurs in the server, I receive only a very short error
message on the client. For example:
xmlrpclib.Fault: Fault 1: type 'exceptions.AssertionError':
Presumably this is because xmlrpclib on the
On Aug 13, 3:31 pm, Scott [EMAIL PROTECTED] wrote:
What I would like is the full stack trace of what went wrong on the
server (i.e. the junk python usually dumps to the console when an
exception occurs). I don't care which side I see the dump on (client
or server), but I need to see the whole
Hi, I'm trying to create an XMLRPC server using apache + python (cgi).
It's not too difficult to configure everything, but I would like to
tune it in order to receive up to 2000 calls per minute without any
problems. Do Pthon CGIs use threading?
I need to make it very efficient, but I haven't
[EMAIL PROTECTED] wrote:
Hi, I'm trying to create an XMLRPC server using apache + python (cgi).
It's not too difficult to configure everything, but I would like to
tune it in order to receive up to 2000 calls per minute without any
problems. Do Pthon CGIs use threading?
I need to make
Unfortunately I have to use Apache. The server implementation will we
very easy, so I'm also considering more efficient solutions than
python
lv
On Feb 6, 11:36 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hi, I'm trying to create an XMLRPC server using apache
Unfortunately I have to use Apache. The server implementation will be
very easy, so I'm also considering more efficient solutions than
python
lv
On Feb 6, 11:36 am, Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Hi, I'm trying to create an XMLRPC server using apache
[EMAIL PROTECTED] wrote:
Hi, I'm trying to create an XMLRPC server using apache + python (cgi).
It's not too difficult to configure everything, but I would like to
tune it in order to receive up to 2000 calls per minute without any
problems.
That doesn't seem like excessive volume. Why
On 6 Feb, 12:30, Lorenzo [EMAIL PROTECTED] wrote:
Unfortunately I have to use Apache. The server implementation will we
very easy, so I'm also considering more efficient solutions than
python
You could try mod_python if there isn't an absolute requirement for
CGI:
http://www.modpython.org/
Brian Quinlan wrote:
Actually, you might not have to. 2000 calls/minute isn't that big,
assuming you have a decent server.
well, if you're talking pure CGI, you need to start the interpreter,
import the required modules, connect to the database, unmarshal the
xml-rpc request, talk to the
Fredrik Lundh wrote:
well, if you're talking pure CGI, you need to start the interpreter,
import the required modules, connect to the database, unmarshal the
xml-rpc request, talk to the database, marshal the response, and shut
down, in less than 30 milliseconds.
just importing the CGI
Hello python users,
I am just learning on how to use xmlrpc and stumbled upon how to pass
com object
from server to client side.
The client side complain about can't marshall the com object. I don't
know what type
of marshall command I should use to pass the object.
Below are my scripts, any
tsjuan schrieb:
Hello python users,
I am just learning on how to use xmlrpc and stumbled upon how to pass
com object
from server to client side.
The client side complain about can't marshall the com object. I don't
know what type
of marshall command I should use to pass the object.
you
fortepianissimo wrote:
I have a simple xmlrpc server/client written in Python, and the client
throws a list of lists to the server and gets back a list of lists.
This runs without a problem.
I then wrote a simple Java xmlrpc client and it calls the python
server. But I can't figure out what
I have a simple xmlrpc server/client written in Python, and the client
throws a list of lists to the server and gets back a list of lists.
This runs without a problem.
I then wrote a simple Java xmlrpc client and it calls the python
server. But I can't figure out what type to cast the result
Daniel Crespo írta:
Hi Laszlo,
I have read that. It's the wrapper for the usage of OpenSSL, so I have
to install it. I have downloaded the Borland C++ compiler, and I'm
doing so right now, but I'm not getting good results yet.
You do not need any compiler. You just need to install the
Hi Laszlo,
Try this (untested):
openssl req -config openssl.cnf -new -out my-server.csr
openssl rsa -in privkey.pem -out my-server.key
Here's what I tried:
C:\OpenSSL\binopenssl req -config openssl.cnf -new -out my-server.csr
Loading 'screen' into random state - done
Generating a 1024 bit
Hi everybody,
For those who want to implement a SecureXMLRPCServer (HTTPS), here is
what I finally found in the Internet. I will summarise everything for
the people like me that need extra help just to get running an HTTPS
XMLRPC Server :)
This summary is not intended to be exhaustive, but just
Hello everybody,
I'm trying to implement a secure xmlrpc server with basis on
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 recipe.
The thing that I'm concerned about is how can I get/create rapidly the
.pem files (the key and cert).
Any help?
Thanks
Daniel
--
http
Daniel Crespo írta:
Hello everybody,
I'm trying to implement a secure xmlrpc server with basis on
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786 recipe.
The thing that I'm concerned about is how can I get/create rapidly the
.pem files (the key and cert).
Any help?
Hello
If you have OpenSSL installed, you can do the following:
1. Create a new directory and place the two attached files in it
(openssl.cnf and generate.sh)
2. Run chmod +x gen_cert.sh ; ./gen_cert.sh yourdomain.com
I meant generate.sh instead of gen_cert.sh.
Under windows it won't work.
Laszlo Nagy wrote:
If you have OpenSSL installed, you can do the following:
1. Create a new directory and place the two attached files in it
(openssl.cnf and generate.sh)
2. Run chmod +x gen_cert.sh ; ./gen_cert.sh yourdomain.com
I meant generate.sh instead of gen_cert.sh.
Daniel Crespo írta:
Laszlo Nagy wrote:
If you have OpenSSL installed, you can do the following:
1. Create a new directory and place the two attached files in it
(openssl.cnf and generate.sh)
2. Run chmod +x gen_cert.sh ; ./gen_cert.sh yourdomain.com
I meant generate.sh instead
Hi Laszlo,
I have read that. It's the wrapper for the usage of OpenSSL, so I have
to install it. I have downloaded the Borland C++ compiler, and I'm
doing so right now, but I'm not getting good results yet.
I tried to import OpenSSL, it seems to work.
Now, I want to try the code I submited
Laszlo Nagy wrote:
But I do not know how to create an XML RPC server in Python that uses
HTTPS for XML transports.
This recent recipe seems to do exactly what you want:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786
Kent
--
http://mail.python.org/mailman/listinfo/python-list
Kent Johnson wrote:
Laszlo Nagy wrote:
But I do not know how to create an XML RPC server in Python that uses
HTTPS for XML transports.
This recent recipe seems to do exactly what you want:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/496786
It was gently pointed out to me that
Hello,
I'm trying to create a simple XMLRPC server and a client. It is a small
application, but the connection needs to be secure. I would like the
client to be as thin as possible. Ideally, the client should only
require the basic python library, nothing else. I found many examples
Using Twisted on the server side for xmlrpc doesn't restrict your
options to using only Twisted on the client side.
Nothing prevents you from using xmlrpclib.ServerProxy on the client side.
Jeethu Rao
Laszlo Nagy wrote:
Hello,
I'm trying to create a simple XMLRPC server and a client
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
--
mph
--
http://mail.python.org/mailman/listinfo/python-list
Martin P. Hellwig wrote:
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
C:\temp\cccpython setup.py install
running install
running build
running build_py
running build_ext
error: The .NET Framework SDK needs to be installed before building
extensions f
or
Laszlo Nagy wrote:
Martin P. Hellwig wrote:
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
C:\temp\cccpython setup.py install
running install
running build
running build_py
running build_ext
error: The .NET Framework SDK needs to be installed before
Martin P. Hellwig írta:
Laszlo Nagy wrote:
Martin P. Hellwig wrote:
Laszlo Nagy wrote:
cut ssl for xmlrpc
Have a look at:
http://trevp.net/tlslite/
C:\temp\cccpython setup.py install
running install
running build
running build_py
running build_ext
error: The .NET
Laszlo Nagy wrote:
cut
http://trevp.net/tlslite/ - no exe installers.
http://sourceforge.net/projects/tlslite/ - no file packages to download
:-(
Download the zip and unpack it:
http://trevp.net/tlslite/tlslite-0.3.8.zip
Then there is an installers directory
SimpleXMLRPCServer uses
Here's my server:
import os
import SimpleXMLRPCServer
class Foo:
def settings(self):
return os.environ
def echo(self, something):
return something
def greeting(self, name):
return hello, + name
handler = SimpleXMLRPCServer.CGIXMLRPCRequestHandler()
52 matches
Mail list logo