You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is currently compatibility issues between MIKE+Py and MIKE IO. Resolving this issue is ongoing work outside of MIKE+Py. The errors that users get are completely unobvious that this is the cause, which results in some frustrating periods debugging, installing/deinstalling software. Examples of these errors:
SQLiteException: code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error
Det angivne modul blev ikke fundet.
ved DHI.Amelia.DataModule.Services.DataSource.DataSourceSpatiaLite.OpenDatabaseCore()
ved DHI.Amelia.DataModule.Services.DataSource.BaseDataSource.OpenDatabase()
SQLiteException: code = Error (1), message = System.Data.SQLite.SQLiteException (0x800007BF): SQL logic error
The specified module could not be found.
at DHI.Amelia.DataModule.Services.DataSource.DataSourceSpatiaLite.OpenDatabaseCore()
at DHI.Amelia.DataModule.Services.DataSource.BaseDataSource.OpenDatabase()
While this issue is being resolved, I suggest providing more clear warnings to users:
Situation 1: mikeio was already imported:
import mikeio
import mikeplus
NotImplementedError: "mikeplus cannot currently be used with mikeio in the same script."
Situation 2: mikeio was imported after mikeplus (hooks onto main API entry points)
import mikeplus
from mikeplus import DataTableAccess
from mikeplus.engines import Engine1D
import mikeio
dta = DataTableAccess(test.sqlite)
NotImplementedError: "mikeplus cannot currently be used with mikeio in the same script."
Hopefully this will at least save users some time while this issue is being resolved 😄
The text was updated successfully, but these errors were encountered:
There is currently compatibility issues between MIKE+Py and MIKE IO. Resolving this issue is ongoing work outside of MIKE+Py. The errors that users get are completely unobvious that this is the cause, which results in some frustrating periods debugging, installing/deinstalling software. Examples of these errors:
Example 1 from #39
Example 2 from #33
While this issue is being resolved, I suggest providing more clear warnings to users:
Situation 1: mikeio was already imported:
Situation 2: mikeio was imported after mikeplus (hooks onto main API entry points)
Hopefully this will at least save users some time while this issue is being resolved 😄
The text was updated successfully, but these errors were encountered: