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
{{ message }}
Repository navigation
Incorrect overloaded method got precedence while invoking .Net functions/methods from Python #1211
Unable to cast object of type 'System.Data.DataRow' to type 'System.IConvertible'.Couldn't store <System.Data.DataRow> in Id Column. Expected type is Int32.
at System.Data.DataColumn.set_Item(Int32 record, Object value)
at System.Data.DataTable.NewRecordFromArray(Object[] value)
at System.Data.DataRowCollection.Add(Object[] values)
I could fix this issue in local repo by patching Python.Runtime.MethodBinder.GetPrecedence method, I set lower precedence to overloaded methods with Params array parameter
Please have a look and let me know your suggestions
Activity
lostmsu commentedon Sep 15, 2020
Should now be fixed in master and the upcoming 2.5.2
filmor commentedon Feb 14, 2021
The fix for this should've been deployed with 2.5.2. If that is not the case, please reopen.