-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Running in python3.5 raises this exception. Looks related with internal libraries of XML RPC
Error detected while processing function PostWordPress:
line 25:
Traceback (most recent call last):
File "/usr/lib/python3.5/xmlrpc/client.py", line 509, in __dump
f = self.dispatch[type(value)]
KeyError: <class 'map'>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/kaditx/projects/dotfiles/vim/.vim/bundle/droWMark/plugin/drowmark.py", line 77, in <module>
post.id = wp.call(NewPost(post)) # Post it!
File "/usr/local/lib/python3.5/dist-packages/wordpress_xmlrpc/base.py", line 37, in call
raw_result = server_method(*args)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1089, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1423, in __request
allow_none=self.__allow_none).encode(self.__encoding, 'xmlcharrefreplace')
File "/usr/lib/python3.5/xmlrpc/client.py", line 948, in dumps
data = m.dumps(params)
File "/usr/lib/python3.5/xmlrpc/client.py", line 501, in dumps
dump(v, write)
File "/usr/lib/python3.5/xmlrpc/client.py", line 523, in __dump
f(self, value, write)
File "/usr/lib/python3.5/xmlrpc/client.py", line 594, in dump_struct
dump(v, write)
File "/usr/lib/python3.5/xmlrpc/client.py", line 523, in __dump
f(self, value, write)
File "/usr/lib/python3.5/xmlrpc/client.py", line 594, in dump_struct
dump(v, write)
File "/usr/lib/python3.5/xmlrpc/client.py", line 513, in __dump
raise TypeError("cannot marshal %s objects" % type(value))
TypeError: cannot marshal <class 'map'> objects
Press ENTER or type command to continue
Metadata
Metadata
Assignees
Labels
No labels