trenchmortar / python-blogger

Automatically exported from code.google.com/p/python-blogger
0 stars 0 forks source link

the execute() function in Blog class reports error forever #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
the execute function in Blog class reports the following error whatever 
metaWeblog API is called:

  File "pyblog.py", line 94, in execute
    raise BlogError(fault.faultString)
pyblog.BlogError: Request contains too few param elements based on method signat
ure.

solved by changing the line:

r = getattr(self.server, methodname)(args)

to

r = getattr(self.server, methodname)(*args)

What version of the product are you using? On what operating system?

Windows Server 2008 R2, Python 2.7.2 [MSC v.1500 64 bit (AMD64)]

Original issue reported on code.google.com by conanhol...@gmail.com on 13 May 2012 at 3:20