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

Error exporting plot to Excel #3017

Open
nguyen-tranbach opened this issue Nov 27, 2024 · 2 comments
Open

Error exporting plot to Excel #3017

nguyen-tranbach opened this issue Nov 27, 2024 · 2 comments

Comments

@nguyen-tranbach
Copy link

This happens when I tried to export a Residual vs. Time plot from a Parameter Identification to Excel

Application:
PK-Sim® 11.3.208

The workbook already contains a sheet named 'Simulation Results for Run 1_100'

Stack trace:

at NPOI.XSSF.UserModel.XSSFWorkbook.ValidateSheetName(String sheetName)
   at NPOI.XSSF.UserModel.XSSFWorkbook.CreateSheet(String sheetname)
   at OSPSuite.Infrastructure.Export.ExportToExcelTask.exportDataTableToWorkBook(IWorkbookConfiguration workBookConfiguration, DataTable dataTable)
   at OSPSuite.Infrastructure.Export.ExportToExcelTask.ExportDataTablesToExcel(IEnumerable`1 dataTables, String fileName, Boolean openExcel, IWorkbookConfiguration workBookConfiguration)
   at OSPSuite.Infrastructure.Export.DataRepositoryExportTask.ExportToExcel(IEnumerable`1 dataTables, String fileName, Boolean launchExcel)
   at OSPSuite.Infrastructure.Export.DataRepositoryExportTask.ExportToExcel(IEnumerable`1 dataColumns, String fileName, Boolean launchExcel, DataColumnExportOptions exportOptions)
   at OSPSuite.Core.Services.CurveChartExportTask.ExportToExcel(CurveChart chart)
   at OSPSuite.Presentation.Presenters.Charts.ChartDisplayPresenter.ExportToExcel()
   at OSPSuite.Presentation.MenuAndBars.ExecuteActionUICommand.Execute()
   at OSPSuite.Presentation.UICommands.UICommandExtensions.ExecuteWithinExceptionHandler(IUICommand uiCommand, IEventPublisher eventPublisher, IChangePropagator changePropagator)
@Yuri05
Copy link
Member

Yuri05 commented Nov 28, 2024

Can you upload the project?

@nguyen-tranbach
Copy link
Author

You can find the project in this link

I tried to export to Excel the forementionned plot from DTG_All_B_Sch_EHC in Parameter Identification

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

No branches or pull requests

2 participants