Veda2.0 Released!


Error in Solving Demo
#1
Dear all, I got errors while trying to "Solve" the DemoS_012 in the Run Manager window.
 
In the log file, the errors say:
• The type does not match
• Unable to access file, because it is used by another process
• UNABLE TO IDENTIFY GDX SCHEMA
 
Here is the detail (some parts are in French, but I just translated above)
Thank you very much in advance for your help!
 
gwbataille
 

--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 10:20:45.8274
Type : ERROR

StackTrace : Le type ne correspond pas. (Exception de HRESULT : 0x80020005 (DISP_E_TYPEMISMATCH)) ExecutionContext.RunInternal => Control.InvokeMarshaledCallbackHelper => Control.InvokeMarshaledCallbackDo
Message : System.Runtime.InteropServices.COMException (0x80020005): Le type ne correspond pas. (Exception de HRESULT : 0x80020005 (DISP_E_TYPEMISMATCH))
  a Microsoft.Office.Interop.Excel.Workbooks.Open(String Filename, Object UpdateLinks, Object ReadOnly, Object Format, Object Password, Object WriteResPassword, Object IgnoreReadOnlyRecommended, Object Origin, Object Delimiter, Object Editable, Object Notify, Object Converter, Object AddToMru, Object Local, Object CorruptLoad)
  a Veda.ExcelOperations.MsInteropController.OpenWorkBook(Application app, String absFilePath, Boolean readOnly) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\MSInteropController.cs:ligne 96
  a Veda.ExcelOperations.MsInteropController.ShowWorkbook(OpenExcelFileFromPivotDto excelDataInfo) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\MSInteropController.cs:ligne 69
  a Veda.FrontEnd.MasterForm.MasterFormPresenter.d__64.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\MasterForm\MasterFormPresenter.cs:ligne 693


--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 11:08:48.8031
Type : ERROR

StackTrace : Le processus ne peut pas accéder au fichier 'C:\VEDA\Veda\Veda_models\Demo_models\DemoS_012\Sets-DemoModels.xlsx', car il est en cours d'utilisation par un autre processus. Task.InnerInvokeWithArg => <>c__DisplayClass42_0`2.b__1 => <>c__DisplayClass11_0.b__4
Message : System.IO.IOException: Le processus ne peut pas accéder au fichier 'C:\VEDA\Veda\Veda_models\Demo_models\DemoS_012\Sets-DemoModels.xlsx', car il est en cours d'utilisation par un autre processus.
  a System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  a System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  a System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
  a Veda.ExcelOperations.KanorsExcelDataController.SetDataOfVedaTags(String absFilePath, Dictionary`2 allTagsOfOneWorkBook) dans D:\TFS\Veda2.0\Veda\Veda.ExcelOperations\KanorsExcelDataController.cs:ligne 24
  a Veda.FrontEnd.SyncController.ExcelReadingFramework.ProcessExcelReadingOfOneScenarioFile.ReadData() dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\SyncController\ExcelReadingFramework\ProcessExcelReadingOfOneScenarioFile.cs:ligne 199
  a Veda.FrontEnd.SyncController.ExcelReadingFramework.ReadingExcelFile.<>c__DisplayClass11_0.b__4(ProcessExcelReadingOfOneScenarioFile processOneSingleScenarioFile, ParallelLoopState loopState, Object obj) dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\SyncController\ExcelReadingFramework\ReadingExcelFile.cs:ligne 221


--------------------------------------------------------
Name : Veda.Common.KanLogger {1.233.1.1}
Time : 2021-06-10 11:47:42.7044
Type : ERROR

StackTrace : P0001: GDX Schema - ExecutionContext.Run => ExecutionContext.RunInternal => d__18.MoveNext
Message : Npgsql.PostgresException (0x80004005): P0001: GDX Schema -
  a Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  a Npgsql.NpgsqlDataReader.<>c__DisplayClass41_0.<g__ReadMessageSequential|0>d.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a Npgsql.NpgsqlDataReader.d__44.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  a Npgsql.NpgsqlDataReader.NextResult()
  a Npgsql.NpgsqlCommand.d__102.MoveNext()
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  a Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
  a System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
  a System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
  a System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
  a Veda.Repository.PostgreSqlDbContext.d__30.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\PostgreSqlDBContext.cs:ligne 162
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  a Veda.Repository.PostgreSqlDbContext.d__29.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\PostgreSqlDBContext.cs:ligne 129
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  a Veda.Repository.PostgreSqlDbContext.d__22.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\PostgreSqlDBContext.cs:ligne 63
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  a Veda.Repository.FrontEndForm.FrontEndRepository.d__30.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.Repository\FrontEndForm\FrontEndRepository.cs:ligne 434
--- Fin de la trace de la pile a partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
  a System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  a System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  a Veda.FrontEnd.ExtraGridViewPresenter.d__18.MoveNext() dans D:\TFS\Veda2.0\Veda\Veda.FrontEnd\ExtraGridViewPresenter.cs:ligne 182
  Exception data:
    Severity: ERROR
    SqlState: P0001
    MessageText: GDX Schema -
    Hint: UNABLE TO IDENTIFY GDX SCHEMA
    Where: PL/pgSQL function veda_front_end.usp_jacobian_analysis_processing(character varying,character varying,character varying) line 31 at RAISE
    File: pl_exec.c
    Line: 3337
    Routine: exec_stmt_raise
Reply
#2
Dear BATAILLE,

According to the logs, did you open the excel file while synchronizing or resolving the model?

If you are facing problem in Jacobian Analysis, we can solve it t a web meeting.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Demo model on CCS [email protected] 0 95 12-12-2024, 07:35 PM
Last Post: [email protected]
  VEDA2 fatal error (unexpected case sensitivity) Antti-L 2 398 30-08-2024, 10:49 PM
Last Post: Antti-L
  Unexpected error in model run BSR 2 529 17-07-2024, 07:07 PM
Last Post: BSR
  An error when I read JRC-EU-TIMES Lee 7 2,061 03-06-2024, 05:28 PM
Last Post: Lee
  Error at line 904570: Equation infeasible due to rhs value frangb99 12 2,819 03-04-2024, 12:19 AM
Last Post: frangb99
  Veda online not solving. Getting veda 2.0? frangb99 0 370 17-03-2024, 11:52 PM
Last Post: frangb99
Exclamation Error: Unexpected GAMSCMEX return code jskrzypek 4 1,658 13-12-2023, 09:54 PM
Last Post: jskrzypek
  Error with CAPACITY JozefO 1 887 03-02-2023, 12:22 AM
Last Post: Antti-L
  Getting an error while creating the model jskrzypek 7 4,225 25-01-2023, 01:04 AM
Last Post: Ravinder
  Error Messages JozefO 3 1,343 12-12-2022, 02:20 PM
Last Post: Ravinder

Forum Jump:


Users browsing this thread: 1 Guest(s)