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


Groups > comp.lang.python > #41732

Re: SOAPpy.Types.faultType: Cannot use object of type stdClass as array

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <davea@davea.name>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; '21,': 0.07; 'strings.': 0.07; 'api': 0.09; 'python': 0.09; 'dict': 0.09; 'instance.': 0.09; 'distinction': 0.16; 'subject: \n ': 0.16; 'subject:array': 0.16; 'subject:object': 0.16; 'subject:type': 0.16; 'wrote:': 0.17; 'thu,': 0.17; '>>>': 0.18; 'error.': 0.21; 'supposed': 0.21; "i'd": 0.22; 'pass': 0.25; 'tried': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'looks': 0.26; 'values': 0.26; 'am,': 0.27; 'chris': 0.28; 'strings,': 0.29; 'maybe': 0.29; 'error': 0.30; 'getting': 0.33; 'to:addr:python-list': 0.33; 'list': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'wanted': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'telling': 0.61; 'provide': 0.62; 'between': 0.63; 'skip:n 10': 0.63; 'published': 0.71; 'received:74.208': 0.71; '2013': 0.84; 'dict,': 0.84; 'received:74.208.4.194': 0.84; 'subject:skip:S 20': 0.91; 'url:open': 0.96
Date Sat, 23 Mar 2013 09:51:33 -0400
From Dave Angel <davea@davea.name>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
MIME-Version 1.0
To python-list@python.org
Subject Re: SOAPpy.Types.faultType: Cannot use object of type stdClass as array
References <514A0898.4000807@googlemail.com> <CAPTjJmoWL0B1OSj2MrLWfQF_0znVrggjcFhY7crAoYZRkcpEbQ@mail.gmail.com> <514DAF1D.50801@googlemail.com>
In-Reply-To <514DAF1D.50801@googlemail.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Provags-ID V02:K0:gWjkza83apm6THRPs4OSUliFVf30Dtf8X3psXq1/HNz a8RAAmw4O0EobUS/vDR+0yNq4XIX1BSaQ4xbQfF+Fp9jlGWaNS z9M2buW1pLPe1iXFqc6aUkGjvutwfZ5Vmn8iJ23cZYuNq4A8cn Lhj748Z0yYLN7+JJn0t5ZL62xJI6UfNzML1T7sjJc9ElNrPi8z 6k9UXf1T6Y0F2JBR4wH1MhGJ8Swwhdv+No8cQ2r0Y+ujHkMRyH 2qu8dPkNZQFDFuZ8yIlX/xNtEfnJ/uu5pOAJa+oZ9GJYgL7rlg zdrRFTrymmy8LYjV3z7fNOAd9J1i1lc5823xI2b9k8RvhZYRg= =
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3636.1364046705.2939.python-list@python.org> (permalink)
Lines 46
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364046705 news.xs4all.nl 6912 [2001:888:2000:d::a6]:46867
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41732

Show key headers only | View raw


On 03/23/2013 09:33 AM, Tamer Higazi wrote:
> Hi Chris!
> thanks.... But I am about of going nuts.... I did everything according
> their sample:
>
> http://kasapi.kasserver.com/dokumentation/?open=soap
>
>
> and wanted to accomplish it in python!

Isn't there an API on Python SOAPpy published somewhere?

Wild guess, but perhaps the 1800 should have been '1800'

php blurs the distinction between numbers and strings, and maybe the 
dict values are supposed to be all strings.


>
> If I pass a dict, I get the error telling me, this nonsense..... What
> should I do?!
>
> I even tried it in "suds" instead of soappy, and I am not getting further.
>
>
>
>
> Tamer
>
>
> Am 21.03.2013 17:21, schrieb Chris Angelico:
>> On Thu, Mar 21, 2013 at 6:06 AM, Tamer Higazi <th982a@googlemail.com> wrote:
>>> SOAPpy.Types.faultType: <Fault SOAP-ENV:Server: Cannot use object of
>>> type stdClass as array>
>>
>> stdClass looks like a PHP error. Check out the server's requirements;
>> perhaps you need to provide something as a list that you're providing
>> as a dict, or something. I'd look at that loginData, for instance.
>>
>> ChrisA
>>
>


-- 
DaveA

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


Thread

Re: SOAPpy.Types.faultType: Cannot use object of type stdClass as array Dave Angel <davea@davea.name> - 2013-03-23 09:51 -0400

csiph-web