Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. AddClipboardFormatListener error during PyQt6 app run
Forum Updated to NodeBB v4.3 + New Features

AddClipboardFormatListener error during PyQt6 app run

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 148 Views
  • 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.
  • C Offline
    C Offline
    CurleyWurley
    wrote on 28 Jan 2025, 14:04 last edited by
    #1

    I created a Windows app using PyQt6 and copied the completed (up until now) executable to a different pc for some testing. The app started and showed three debug like messages as expected, then displayed the message "addclipboardformatlistener() failed. Access is denied." Thinking this was a permissions issue, the executable was run as an administrator, with the same result. The three print statements should also be replicated in a Log file but the Log file was not created, I don't know if this is related to the problem. I am not using the clipboard knowingly and ran a powershell search Get-ChildItem -Path 'C:\pyqt6*.*' -Recurse | Select-String -Pattern 'AddClipboardFormatListener' -SimpleMatch to find out where the call might be coming from. The output suggests that AddClipboardFormatListener is part of the qwindows.dll file. A Google search showed other people with similar errors had introduced a timer, but as stated I am not knowingly using AddClipboardFormatListener, so that seems a non starter for me. Has anyone come across this before?

    1 Reply Last reply
    0

    1/1

    28 Jan 2025, 14:04

    • Login

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