Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Trongbach

    (@trongbach)

    I think I can try again and check log to find date/time, but what happen with date/time I use the script? I try with another domain on same host, I can push 23940 post. Number of post are different between two domain with same error.

    I’ve found that if I empty tables:
    wp_posts
    wp_postmeta
    wp_term_relationships

    I can continue push article to web.

    Thread Starter Trongbach

    (@trongbach)

    I use python to post to wordpress site use xmlrpc. I try to post to another site in the same vps, it’s work, then I try to request post list from another site in same host, it’s work too. And I try to request post list from site which I can’t post article to, the same error happen. I post error here:

    /usr/local/lib/python3.5/dist-packages/werkzeug/filesystem.py:63: BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will use UTF-8 as filesystem encoding instead of ‘ascii’
    BrokenFilesystemWarning)
    Traceback (most recent call last):
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 2000, in __call__
    return self.wsgi_app(environ, start_response)
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 1991, in wsgi_app
    response = self.make_response(self.handle_exception(e))
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 1567, in handle_exception
    reraise(exc_type, exc_value, tb)
    File “/usr/local/lib/python3.5/dist-packages/flask/_compat.py”, line 33, in reraise
    raise value
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 1988, in wsgi_app
    response = self.full_dispatch_request()
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 1641, in full_dispatch_request
    rv = self.handle_user_exception(e)
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 1544, in handle_user_exception
    reraise(exc_type, exc_value, tb)
    File “/usr/local/lib/python3.5/dist-packages/flask/_compat.py”, line 33, in reraise
    raise value
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 1639, in full_dispatch_request
    rv = self.dispatch_request()
    File “/usr/local/lib/python3.5/dist-packages/flask/app.py”, line 1625, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
    File “/home/autol/Linh/app/myapp.py”, line 71, in wptest
    all = wp.call(GetPosts({‘number’: 100}))
    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 1092, in __call__
    return self.__send(self.__name, args)
    File “/usr/lib/python3.5/xmlrpc/client.py”, line 1432, in __request
    verbose=self.__verbose
    File “/usr/lib/python3.5/xmlrpc/client.py”, line 1134, in request
    return self.single_request(host, handler, request_body, verbose)
    File “/usr/lib/python3.5/xmlrpc/client.py”, line 1150, in single_request
    return self.parse_response(resp)
    File “/usr/lib/python3.5/xmlrpc/client.py”, line 1316, in parse_response
    p.feed(data)
    File “/usr/lib/python3.5/xmlrpc/client.py”, line 438, in feed
    self._parser.Parse(data, 0)
    xml.parsers.expat.ExpatError: not well-formed (invalid token): line 51, column 18

    I use python xmlrpc:
    # pip install python-wordpress-xmlrpc
    from wordpress_xmlrpc import Client, WordPressPost

    Thread Starter Trongbach

    (@trongbach)

    I’ve try to deativate all plugin, change user, but it still deny. I post same article to another website in same hosting and it work, so I dont think that is hosting provider problem.

Viewing 3 replies - 1 through 3 (of 3 total)