Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change pdflib puppeteer #2536

Draft
wants to merge 37 commits into
base: develop
Choose a base branch
from

Conversation

SolidProgramming
Copy link

No description provided.

Copy link
Contributor

@tpurschke tpurschke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On ubuntu 24.04 I get the following test failure. will test with other OSes

    2024-09-16T09:45:00+02:00 Info - Startup (HtmlToPdfTest.cs in line 18), Downloading headless Browser...
    2024-09-16T09:45:14+02:00 Info - Test Log (HtmlToPdfTest.cs in line 22), starting PDF generation
  
      Failed GeneratePdf [15 s]
      Error Message:
       PuppeteerSharp.ProcessException : Failed to launch browser!
      Stack Trace:
         at PuppeteerSharp.States.ProcessStartingState.StartCoreAsync(LauncherBase p) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/States/ProcessStartingState.cs:line 83
       at PuppeteerSharp.States.ProcessStartingState.StartCoreAsync(LauncherBase p) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/States/ProcessStartingState.cs:line 89
       at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Launcher.cs:line 72
       at PuppeteerSharp.Launcher.LaunchAsync(LaunchOptions options) in /home/runner/work/puppeteer-sharp/puppeteer-sharp/lib/PuppeteerSharp/Launcher.cs:line 105
       at FWO.Test.HtmlToPdfTest.GeneratePdf() in /usr/local/fworch/test/csharp/FWO.Test/HtmlToPdfTest.cs:line 26
       at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.BlockUntilCompleted()
       at NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter awaiter)
       at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](Func`1 invoke)
       at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func`1 invoke)
       at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
       at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
       at NUnit.Framework.Internal.Commands.BeforeTestCommand.Execute(TestExecutionContext context)
       at NUnit.Framework.Internal.Execution.SimpleWorkItem.<>c__DisplayClass3_0.<PerformWork>b__0()
       at NUnit.Framework.Internal.ContextUtils.<>c__DisplayClass1_0`1.<DoIsolated>b__0(Object _)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
    --- End of stack trace from previous location ---
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
       at NUnit.Framework.Internal.ContextUtils.DoIsolated(ContextCallback callback, Object state)
       at NUnit.Framework.Internal.ContextUtils.DoIsolated[T](Func`1 func)
       at NUnit.Framework.Internal.Execution.SimpleWorkItem.PerformWork()
  
      Standard Output Messages:
     2024-09-16T09:45:00+02:00 Info - Startup (HtmlToPdfTest.cs in line 18), Downloading headless Browser...
     2024-09-16T09:45:14+02:00 Info - Test Log (HtmlToPdfTest.cs in line 22), starting PDF generation
  
  
    2024-09-16T09:45:00+02:00 Info - Startup (LockTest.cs in line 29), Starting Lock Tests...
    2024-09-16T09:45:02+02:00 Debug - TEST_TITLE (LockTest.cs in line 71), TEST_TEXT
  
  
    Failed!  - Failed:     1, Passed:    58, Skipped:     0, Total:    59, Duration: 17 s - FWO.Test.dll (net8.0)
  stdout_lines: <omitted>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants