Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81725

Suds Python 2.4.3 Proxy

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <jerry.rocteur@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'argument': 0.05; 'subject:Python': 0.06; 'soap': 0.07; 'deploy': 0.09; 'python': 0.11; '2.7': 0.14; 'posted': 0.15; '":"': 0.16; 'googling': 0.16; 'host:': 0.16; 'iterable': 0.16; 'typeerror:': 0.16; 'help.': 0.21; 'proxy': 0.24; 'script.': 0.24; 'script': 0.25; 'skip:" 30': 0.26; 'this:': 0.26; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'anyone': 0.31; 'file': 0.32; 'run': 0.32; 'running': 0.33; 'could': 0.34; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'thanks': 0.36; 'hi,': 0.36; 'list': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'great': 0.65; 'reply': 0.66; 'hoping': 0.75; 'certificates': 0.91; 'url:system': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Zb4+a/+3A1FFMLnE5OEMxLUG54gldpDi+zEWrIdt+aU=; b=zpQyD11ZceT608eNENwg7e74s8owSF3hQ/knKlZYlp1If6nwXWZbZqAJIRv/YooOP3 KTYjcRbA7ewrA2dbCMX3xD9r3laZQdotSsvDGP4BvyyhTEkWfjg/DX63cwHiJLGsu1EF C3aMMfsNpyMHWTTGzBzIHTiGDpqsBrUjkBO4RL4bbC0cz7y47jUnbkIPDwnKraP2pA8Y ZwkMTDenb8kUR7qr/c0S5GHDkrQEZ3ZniMbOKuauWKAy02V6HxvzpHdkkgqXQd77VvoH ZJB+BnWXoj/6g5Ww9uSyk4Rx04x+M9qqkueXDLg6XK5rtneZ/RBsLXZW/3Ghe+BTKGBV z+vw==
X-Received by 10.112.210.100 with SMTP id mt4mr48474481lbc.31.1417273313794; Sat, 29 Nov 2014 07:01:53 -0800 (PST)
MIME-Version 1.0
From Jerry Rocteur <jerry.rocteur@gmail.com>
Date Sat, 29 Nov 2014 16:01:33 +0100
Subject Suds Python 2.4.3 Proxy
To python-list@python.org
Content-Type text/plain; charset=UTF-8
X-Mailman-Approved-At Sun, 30 Nov 2014 08:02:31 +0100
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16434.1417330951.18130.python-list@python.org> (permalink)
Lines 37
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417330951 news.xs4all.nl 2931 [2001:888:2000:d::a6]:53987
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:81725

Show key headers only | View raw


Hi,

I posted this on the soap list but didn`t get a reply so I was hoping
perhaps someone from this list could help me.

I got my SOAP script working to GlobalSign, thanks to the help from
Dieter and I can now download certificates with the script.

I was running on Python 2.7 and it works great there but now I have to
deploy the script on some Redhat workstations running python 2.4.3
(which I am not allowed to upgrade)

When I create my client in my script I do it like this:

url = 'https://system.globalsign.com/cr/ws/GasOrderService?wsdl'
proxy = {'https': proxylog + ":" + proxypass + '@proxyhost.int:9999'}
globalClient = Client(url, proxy=proxy)


This works GREAT on 2.7 but when I run it on 2.4 I get:

  File "/usr/lib64/python2.4/urllib2.py", line 580, in proxy_open
    if '@' in host:
TypeError: iterable argument required

I'm Googling it and I can see there are other ways to connect but
can't seem to get the syntax.

Can anyone  help.


Thanks in advance,

-- 
Jerry Rocteur

Jerry@rocteur.com

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Suds Python 2.4.3 Proxy Jerry Rocteur <jerry.rocteur@gmail.com> - 2014-11-29 16:01 +0100

csiph-web