Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] cannot invoke explicitly implemented generic interface methods

----------------------------------------------

ISSUES

1. [New comment] cannot invoke explicitly implemented generic interface methods
http://ironpython.codeplex.com/workitem/28280
User bernd_v has commented on the issue:

"I have the same problem. I want to use the mongoDB .NET driver. 

server.RequestStart(nejobaDb)


# insert the country-list into a collection
ctrContainer = MongoCollection[BsonDocument]
lst = List[BsonDocument]()


for atm in ctry.dataBag :
    doc = BsonDocument() 
    doc.Add('country', atm.Country )
    doc.Add('a2code' , atm.A2code )
    doc.Add('a3code' , atm.A3code )
    doc.Add('Number' , atm.Number )
    lst.Add(doc)

ctrContainer.InsertBatch[BsonDocument](lst)
server.RequestDone()


IronPython.Runtime.Exceptions.TypeErrorException was unhandled by user code
  Message='method_descriptor' object is unsubscriptable
  Source=Anonymously Hosted DynamicMethods Assembly
  StackTrace:
       bei CallSite.Target(Closure , CallSite , Object , Object )
       bei 
System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 
arg0, T1 arg1)
       bei __main__$1.__main__(FunctionCode $functionCode) in 
D:\develop\ipy\mongo_with_dotnet\mongoDbFirst\mongoDbFirst\mongoDbFirst.py:Zeile
 74.
       bei IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope)
       bei IronPython.Compiler.RuntimeScriptCode.Run(Scope scope)
       bei IronPython.Hosting.PythonCommandLine.RunFileWorker(String fileName)
       bei IronPython.Hosting.PythonCommandLine.RunFile(String fileName)
  InnerException: 

kind regards & thx 4 your work :-)"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to