Export to GitHub

python-blogger - issue #7

the execute() function in Blog class reports error forever


Posted on May 13, 2012 by Swift Giraffe

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)]

Status: New

Labels:
Type-Defect Priority-Medium