Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20005

Failed to export to PDF on Mac M1

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      Using the client-side PDF export.

      The export times out and the job log shows:

          <detailMessage>Failed to get [role = [org.xwiki.export.pdf.PDFPrinter&lt;java.net.URL&gt;] hint = [docker]]</detailMessage>
          <cause class="org.xwiki.component.manager.ComponentLookupException">
            <detailMessage>Failed to lookup component [org.xwiki.export.pdf.internal.docker.DockerPDFPrinter] identified by type [org.xwiki.export.pdf.PDFPrinter&lt;java.net.URL&gt;] and hint [docker]</detailMessage>
            <cause class="org.xwiki.component.phase.InitializationException">
              <detailMessage>Failed to initialize the Chrome remote debugging service.</detailMessage>
              <cause class="java.util.concurrent.TimeoutException">
                <detailMessage>Timeout waiting for Chrome remote debugging to become available. Waited [77] seconds.</detailMessage>
      

      The container logs show:

      $ docker logs e95
      [0713/092122.841128:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
      [0713/092122.841302:ERROR:bus.cc(398)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
      [0713/092122.843028:WARNING:dns_config_service_linux.cc(428)] Failed to read DnsConfig.
      [0713/092122.859509:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].
      [0713/092122.868768:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      
      DevTools listening on ws://0.0.0.0:9222/devtools/browser/748e8ba9-57af-427c-8e81-d23f16bb2978
      [0713/092122.872765:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
      [0713/092122.875798:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].
      [0713/092122.878192:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [0713/092122.911729:ERROR:gl_factory.cc(128)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none),(gl=egl-angle,angle=swiftshader)].
      [0713/092122.915860:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [0713/092122.918337:WARNING:dns_config_service_linux.cc(428)] Failed to read DnsConfig.
      [0713/092122.922506:ERROR:gpu_init.cc(481)] Passthrough is not supported, GL is disabled, ANGLE is 
      

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: