[Ironpython-users] IronPython, Daily Digest 10/26/2011

no_reply at codeplex.com no_reply at codeplex.com
Thu Oct 27 12:23:55 CEST 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20111027/8ca8bc7b/attachment.html>


More information about the Ironpython-users mailing list