Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. QA Tools
  3. Squish
  4. Issue with 'xlib' platform plugin.
Forum Updated to NodeBB v4.3 + New Features

Issue with 'xlib' platform plugin.

Scheduled Pinned Locked Moved Unsolved Squish
6 Posts 4 Posters 1.3k 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.
  • P Offline
    P Offline
    PLL3
    wrote on last edited by
    #1

    Hi everyone,

    While creating and running my tests on Linux I have encountered an error during the execution of my test:

    2024-09-25T15:28:31	ERROR     	/MytestSuite/MyTestCase/test.py:38: Script Error	RuntimeError: Platform plugin 'xlib' was not linked into the executable
    2024-09-25T15:28:31	END_TEST_CASE	End 'MyTestCase'          	End of test 'MyTestCase'
    15:28:31:804 Wrapper: MySquishApp[759831]: Native pointer move error: Platform plugin 'xlib' was not linked into the executable
    

    This error seem to spawn from commands like "mouseRelease()" or "mousePress()" (as is the case line 38 of my "test.py").
    But commands like "clickButton()" or "doubleClick()" works juste fine.

    Now I am running this test on a remote, headless, Linux, so while the SquishServer and SquishRunner are on the Linux machine, the GUI gets forwarded to my windows machine.

    I am using a Squish that is built from sources so when I first encountered the error I realized that I had, in fact, not included all the ".a" files that were generated. In particular I missed a "libsquishxlib.a".

    But now that I have added that missing lib (I even ended up including all of the generated ".a" files), I still get the same error like nothing changed.

    So now I'm kinda stumped. Any help or clue would be greatly appreciated.

    Thanks in advance,

    D 1 Reply Last reply
    0
    • S Offline
      S Offline
      Sollani
      wrote on last edited by Sollani
      #2

      @PLL3 said in Issue with 'xlib' platform plugin.:

      Hi everyone,

      While creating and running my tests on Linux I have encountered an error during the execution of my test:

      2024-09-25T15:28:31	ERROR     	/MytestSuite/MyTestCase/test.py:38: Script Error	RuntimeError: Platform plugin 'xlib' was not linked into the executable
      2024-09-25T15:28:31	END_TEST_CASE	End 'MyTestCase'          	End of test 'MyTestCase'
      15:28:31:804 Wrapper: MySquishApp[759831]: Native pointer move error: Platform plugin 'xlib' was not linked into the executable
      

      This error seem to spawn from commands like "mouseRelease()" or "mousePress()" (as is the case line 38 of my "test.py njmcdirect").
      But commands like "clickButton()" or "doubleClick()" works juste fine.

      Now I am running this test on a remote, headless, Linux, so while the SquishServer and SquishRunner are on the Linux machine, the GUI gets forwarded to my windows machine.

      I am using a Squish that is built from sources so when I first encountered the error I realized that I had, in fact, not included all the ".a" files that were generated. In particular I missed a "libsquishxlib.a".

      But now that I have added that missing lib (I even ended up including all of the generated ".a" files), I still get the same error like nothing changed.

      So now I'm kinda stumped. Any help or clue would be greatly appreciated.

      Thanks in advance,

      I also face this problem. But fortunately, I found your post. Anyone give the solution of xlib plugin.

      P 1 Reply Last reply
      0
      • S Sollani

        @PLL3 said in Issue with 'xlib' platform plugin.:

        Hi everyone,

        While creating and running my tests on Linux I have encountered an error during the execution of my test:

        2024-09-25T15:28:31	ERROR     	/MytestSuite/MyTestCase/test.py:38: Script Error	RuntimeError: Platform plugin 'xlib' was not linked into the executable
        2024-09-25T15:28:31	END_TEST_CASE	End 'MyTestCase'          	End of test 'MyTestCase'
        15:28:31:804 Wrapper: MySquishApp[759831]: Native pointer move error: Platform plugin 'xlib' was not linked into the executable
        

        This error seem to spawn from commands like "mouseRelease()" or "mousePress()" (as is the case line 38 of my "test.py njmcdirect").
        But commands like "clickButton()" or "doubleClick()" works juste fine.

        Now I am running this test on a remote, headless, Linux, so while the SquishServer and SquishRunner are on the Linux machine, the GUI gets forwarded to my windows machine.

        I am using a Squish that is built from sources so when I first encountered the error I realized that I had, in fact, not included all the ".a" files that were generated. In particular I missed a "libsquishxlib.a".

        But now that I have added that missing lib (I even ended up including all of the generated ".a" files), I still get the same error like nothing changed.

        So now I'm kinda stumped. Any help or clue would be greatly appreciated.

        Thanks in advance,

        I also face this problem. But fortunately, I found your post. Anyone give the solution of xlib plugin.

        P Offline
        P Offline
        PLL3
        wrote on last edited by
        #3

        @Sollani

        Hi, I've sent a mail to Squish support and they replied with something that might help you, unfortunately it didn't help for me, but maybe it will for you.

        They've told me to add those two options to the configure call of my Squish build:

        --with-x11-includedir=<path-to-dir>
        --with-x11-libdir=<path-to-dir>

        1 Reply Last reply
        0
        • H Offline
          H Offline
          henry.ishiyama
          wrote on last edited by
          #4

          If the environment lacks xtest libraries, it might be worth installing them and try again.

          ex:
          sudo apt-get install libxcb-xtest0-dev

          1 Reply Last reply
          0
          • P PLL3

            Hi everyone,

            While creating and running my tests on Linux I have encountered an error during the execution of my test:

            2024-09-25T15:28:31	ERROR     	/MytestSuite/MyTestCase/test.py:38: Script Error	RuntimeError: Platform plugin 'xlib' was not linked into the executable
            2024-09-25T15:28:31	END_TEST_CASE	End 'MyTestCase'          	End of test 'MyTestCase'
            15:28:31:804 Wrapper: MySquishApp[759831]: Native pointer move error: Platform plugin 'xlib' was not linked into the executable
            

            This error seem to spawn from commands like "mouseRelease()" or "mousePress()" (as is the case line 38 of my "test.py").
            But commands like "clickButton()" or "doubleClick()" works juste fine.

            Now I am running this test on a remote, headless, Linux, so while the SquishServer and SquishRunner are on the Linux machine, the GUI gets forwarded to my windows machine.

            I am using a Squish that is built from sources so when I first encountered the error I realized that I had, in fact, not included all the ".a" files that were generated. In particular I missed a "libsquishxlib.a".

            But now that I have added that missing lib (I even ended up including all of the generated ".a" files), I still get the same error like nothing changed.

            So now I'm kinda stumped. Any help or clue would be greatly appreciated.

            Thanks in advance,

            D Offline
            D Offline
            daldakeo
            wrote on last edited by
            #5

            @PLL3 said in Issue with 'xlib' platform plugin.:

            Hi everyone,

            While creating and running my tests on Linux I have encountered an error during the execution of my test:

            2024-09-25T15:28:31	ERROR     	/MytestSuite/MyTestCase/test.py:38: Script Error	RuntimeError: Platform plugin 'xlib' was not linked into the executable
            2024-09-25T15:28:31	END_TEST_CASE	End 'MyTestCase'          	End of test 'MyTestCase'
            15:28:31:804 Wrapper: MySquishApp[759831]: Native pointer move error: Platform plugin 'xlib' was not linked into the executable
            

            This error seem to spawn from commands like "mouseRelease()" or "mousePress()" (as is the case line 38 of my "test.py").
            But commands like "clickButton()" or "doubleClick()" works juste fine.

            Now I am running this test on a remote, headless, Linux, so while the SquishServer and SquishRunner are on the Linux machine, the GUI gets forwarded to my windows machine.

            I am using a Squish that is built from sources so when I first encountered the error I realized that I had, in fact, not included all the ".a" files that were generated. In particular I missed a "libsquishxlib.a".

            But now that I have added that missing lib (I even ended up including all of the generated ".a" files), I still get the same error like nothing changed.

            So now I'm kinda stumped. Any help or clue would be greatly appreciated.

            Thanks in advance,

            Thanks for giving detailed answer.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              PLL3
              wrote on last edited by
              #6

              I am currently in contact with Squish's QA support, will post the solution here if/when we find it.

              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