Skip to content

RuntimeError: wrapped C/C++ object of type QNetworkReply has been deleted in upload_worker #5

Description

@steveparks

Plugin version: BookFusion 0.8.1

Environment:

  • Calibre 9.12.0 (embedded-python: True)
  • macOS 26.5.1, arm64 (Apple Silicon)
  • Python 3.14.6
  • Qt 6

What happened:
During a library sync, the plugin threw an unhandled exception. The failure is in complete_check, where self.reply.error() is called on a QNetworkReply that Qt has already deleted:

Traceback (most recent call last):
File "calibre_plugins.bookfusion.upload_worker", line 82, in complete_check
error = self.reply.error()
RuntimeError: wrapped C/C++ object of type QNetworkReply has been deleted

This is the QNetworkReply-lifetime race that 0.8.1 was meant to resolve (single QNetworkAccessManager instance), so the fix appears incomplete on this Calibre/Qt/Python combination.

I experienced this a few times on a full sync on my library (approx 2500 titles). On smaller syncs of a few titles it previously, it didn't happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions