SOAP ( suds-jurko) : urllib.error.HTTPError: HTTP Error 400: Bad Request

Asked
Active3 hr before
Viewed126 times

4 Answers

jurko
90%

From the suds-jurko PyPI page:,According to this page, you should try running sudo pip-3,2 install suds-jurko

Example_snippet/controller/utility/_jurko.js/ sudo pip-3.2 install suds Down. . .
sudo pip-3.2 install suds
Downloading/unpacking suds
Running setup.py egg_info for package suds
Traceback (most recent call last):
File "<string>", line 16, in <module>
      File "/tmp/pip-build/suds/setup.py", line 20, in <module>
         import suds
         File "suds/__init__.py", line 154, in <module>
            import client
            ImportError: No module named client
            Complete output from command python setup.py egg_info:
            Traceback (most recent call last):

            File "<string>", line 16, in <module>

                  File "/tmp/pip-build/suds/setup.py", line 20, in <module>

                     import suds

                     File "suds/__init__.py", line 154, in <module>

                        import client

                        ImportError: No module named client
load more v
88%

Below code is to copy the visible data in DBExtract sheet, and paste it into duplicateRecords sheet, with only filtered values, Range selected by me is the maximum range that can be occupied by my data

Example_snippet/controller/utility/_jurko.js/ Sub TESTTHIS() ' ' TESTTHIS Ma. . .
Sub TESTTHIS()
'
' TESTTHIS Macro
'
'FILTER
Range("F2").Select
Selection.AutoFilter
ActiveSheet.Range("$B$2:$F$12").AutoFilter Field: = 5, Criteria1: = "hockey"

'Data Selection and Copy
Range("C3").Select
Range(Selection, Selection.End(xlDown)).Select
Selection.Copy
Sheets("Hockey").Select
Range("E3").Select
ActiveSheet.Paste

Sheets("Data").Select
Range("D3").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Hockey").Select
Range("D3").Select
ActiveSheet.Paste

Sheets("Data").Select
Range("E3").Select
Range(Selection, Selection.End(xlDown)).Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Hockey").Select
Range("C3").Select
ActiveSheet.Paste

End Sub
load more v
72%

SOAP fault reports with no <detail> tag (optional) no longer cause suds code to break with an 'invalid attribute' exception when run with the suds faults option set to False,,SOAP fault reports with invalid Fault structure no longer cause suds code to break with an 'invalid attribute' exception

Example_snippet/controller/utility/_jurko.js/ > > from suds.xsd.sxbasic impo. . .
>
>
from suds.xsd.sxbasic
import Import
   >
   Import.bind('http://schemas.xmlsoap.org/soap/encoding/') >
load more v
65%

我似乎无法让SUDS下载需要基本身份验证凭证的WSDL。 我的代码很简单: , 在这两种情况下,服务均返回403禁止错误。 我可以进入http,py中的SUDS代码,并将此行添加到调用中:

Example_snippet/controller/utility/_jurko.js/ client.set_options(headers={'H. . .
client.set_options(headers = {
   'Host': 'value'
})
load more v