Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. QtWebKit and QHttpThreadDelegate

QtWebKit and QHttpThreadDelegate

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jazzycamelJ Offline
    jazzycamelJ Offline
    jazzycamel
    wrote on last edited by
    #1

    Hi,

    I'm building an app that uses QWebKit to access a webpage that uses AJAX to to fetch data. This data can be displayed either on the webpage (in which case the AJAX request returns HTML snippets) or from the application itself (via evaluateJavaScript() on a QWebFrame which returns a JSON object). This works fine when rendering into the webpage but the first time each of the AJAX calls is made by the application I get an error and the following printed in to the terminal from the PyQt app:

    @QHttpThreadDelegate::finishedSlot: HTTP reply had already been deleted, internal problem. Please report.@

    As I say, this only happens the first time I make a call, repeating it works fine. Has anybody else experienced this or have any suggestions as to what might be happening? I thought it might be that the reply was going out of context in the JavaScript, but why would it only fail the first time?

    Thanks very much in advance

    For the avoidance of doubt:

    1. All my code samples (C++ or Python) are tested before posting
    2. As of 23/03/20, my Python code is formatted to PEP-8 standards using black from the PSF (https://github.com/psf/black)
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved