<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/pythonnet/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/pythonnet/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/pythonnet/bugs/</id><updated>2014-11-13T13:09:20.045000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>System.InvalidCastException: Return argument has an invalid type.</title><link href="https://sourceforge.net/p/pythonnet/bugs/24/" rel="alternate"/><published>2014-11-13T13:09:20.045000Z</published><updated>2014-11-13T13:09:20.045000Z</updated><author><name>Olivier D</name><uri>https://sourceforge.net/u/davidolivier5/</uri></author><id>https://sourceforge.net557de1e48c321ba19577eea33ebd716758b27d1e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I’m working in a team that automatized measurement to characterize chips. Our environment is write in Python and we build drivers for each equipment.&lt;br /&gt;
Today I have trouble with an Tektronix Logic Analyzer (TLA7012). Tektronix give a DLL write in .NET to access to the equipment (TlaNetInterfaces.dll) and examples in C++, C# or VB but not in Python.&lt;/p&gt;
&lt;p&gt;We began to access using Ethernet with success, but when we use a method that return a .NET reference we have an error. The same code has been built with Labview without problem.&lt;/p&gt;
&lt;p&gt;Here my code:&lt;/p&gt;
&lt;p&gt;Import clr&lt;br /&gt;
Slot = 1&lt;br /&gt;
Clr.AddReference(“TlaNetInterfaces”)                  # load the DLL reference on TLA&lt;br /&gt;
configFile= “Connect.config”      # config file that contain IP address of TLA&lt;br /&gt;
ITlaSystem_reference= clr.Tektronix.LogicAnalyzer.TpiNet.RemoteTlaSystem.Connect(configFile)           #open connection on TLA&lt;br /&gt;
ITlaSystem_object= clr.Tektronix.LogicAnalyzer.TpiNet.ITlaSystem(ITlaSystem_reference)&lt;br /&gt;
Print ITlaSystem_object.SWVersion        #return TLA software version 5.8.027.0 for my case&lt;br /&gt;
UserName= ITlaSystem_object.GetModuleBySlot(slot) # It should return a reference on module slot 1 in the TLA&lt;/p&gt;
&lt;p&gt;The last line of this code give me this error:&lt;br /&gt;
System.InvalidCastException: Return argument has an invalid type.&lt;/p&gt;
&lt;p&gt;I try to convert the value return, but without success, I always have this error, like .NET module in python don’t support a reference return from a method.&lt;br /&gt;
If I can get this reference I can access to all other part of the equipment for example running an acquisition, but actually it’s not possible.&lt;/p&gt;
&lt;p&gt;Do you have an idea where is the problem?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#23 Error registering EmptyArray&lt;T&gt; (Windows 8.1 x64)</title><link href="https://sourceforge.net/p/pythonnet/bugs/23/?limit=25#7d6a" rel="alternate"/><published>2014-07-11T21:18:26.943000Z</published><updated>2014-07-11T21:18:26.943000Z</updated><author><name>Clayton Stangeland</name><uri>https://sourceforge.net/u/stangelandcl/</uri></author><id>https://sourceforge.net487b921da2fac9e19e307e70d10aa4f8465a5f25</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I had the same problem with a type with no namespace. Here are the genericutil changes that solved it.&lt;/p&gt;
&lt;p&gt;@@ -36,12 +36,16 @@&lt;br /&gt;
         // Register a generic type that appears in a given namespace.&lt;br /&gt;
         //====================================================================&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;private static string Namespace(Type t)&lt;/li&gt;
&lt;li&gt;{&lt;/li&gt;
&lt;li&gt;return t.Namespace ?? "";&lt;/li&gt;
&lt;li&gt;}&lt;br /&gt;
         internal static void Register(Type t) {&lt;br /&gt;
             Dictionary&amp;lt;string, List&amp;lt;string=""&amp;gt;&amp;gt; nsmap = null;&lt;/li&gt;
&lt;li&gt;mapping.TryGetValue(t.Namespace, out nsmap);&lt;/li&gt;
&lt;li&gt;mapping.TryGetValue(Namespace(t), out nsmap);&lt;br /&gt;
             if (nsmap == null) {&lt;br /&gt;
                 nsmap = new Dictionary&amp;lt;string, List&amp;lt;string=""&amp;gt;&amp;gt;();&lt;/li&gt;
&lt;li&gt;mapping&lt;span&gt;[t.Namespace]&lt;/span&gt; = nsmap;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;mapping&lt;span&gt;[Namespace(t)]&lt;/span&gt; = nsmap;&lt;br /&gt;
             }&lt;br /&gt;
             string basename = t.Name;&lt;br /&gt;
             int tick = basename.IndexOf("`");&lt;br /&gt;
@@ -80,7 +84,7 @@&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="k"&gt;public&lt;/span&gt; &lt;span class="nf"&gt;static&lt;/span&gt; &lt;span class="nb"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;GenericsForType&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;Type&lt;/span&gt; &lt;span class="nb"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
     &lt;span class="nx"&gt;Dictionary&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;nsmap&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;mapping.TryGetValue(t.Namespace, out nsmap);&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;mapping.TryGetValue(Namespace(t), out nsmap);&lt;br /&gt;
         if (nsmap == null) {&lt;br /&gt;
             return null;&lt;br /&gt;
         }&lt;br /&gt;
@@ -99,7 +103,7 @@&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; &lt;span class="nb"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;result&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;Type&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
 &lt;span class="nb"&gt;foreach&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nx"&gt;names&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;string qname = t.Namespace + "." + name;&lt;/li&gt;
&lt;li&gt;string qname = Namespace(t) + "." + name;&lt;br /&gt;
         Type o = AssemblyManager.LookupType(qname);&lt;br /&gt;
         if (o != null) {&lt;br /&gt;
             result.Add(o);&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Error registering EmptyArray&lt;T&gt; (Windows 8.1 x64)</title><link href="https://sourceforge.net/p/pythonnet/bugs/23/" rel="alternate"/><published>2013-11-26T17:18:00.877000Z</published><updated>2013-11-26T17:18:00.877000Z</updated><author><name>Daniel Santana</name><uri>https://sourceforge.net/u/dgsantana77/</uri></author><id>https://sourceforge.net7e4e7b1f28aa34c9aba6e407e2eafe318021d201</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Due to EmptyArray that doesn't have a namespace (null), i changed Register in genericutil do support this.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;    &lt;span class="nx"&gt;internal&lt;/span&gt; &lt;span class="nx"&gt;static&lt;/span&gt; &lt;span class="bp"&gt;void&lt;/span&gt; &lt;span class="nb"&gt;Register&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;Type&lt;/span&gt; &lt;span class="nb"&gt;t&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="nx"&gt;Dictionary&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;nsmap&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="c1"&gt;// dgsantana: Correct bug for EmptyArray that doesn't have a namespace defined... ????&lt;/span&gt;
        &lt;span class="kd"&gt;var&lt;/span&gt; &lt;span class="n"&gt;_namespace&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="bp"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;IsNullOrWhiteSpace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;t.Namespace&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt; &lt;span class="s2"&gt;&amp;quot;&amp;quot;&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;t.Namespace&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
        &lt;span class="nx"&gt;mapping.TryGetValue&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;_namespace&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;out&lt;/span&gt; &lt;span class="nx"&gt;nsmap&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;nsmap&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="kt"&gt;null&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;nsmap&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;Dictionary&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;List&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
            &lt;span class="nx"&gt;mapping&lt;/span&gt;&lt;span class="err"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;_namespace&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt; = nsmap;
        }
        string basename = t.Name;
        int tick = basename.IndexOf(&amp;quot;`&amp;quot;);
        if (tick &amp;gt; -1) {
            basename = basename.Substring(0, tick);
        }
        List&lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt; gnames = null;
        nsmap.TryGetValue(basename, out gnames);
        if (gnames == null) {
            gnames = new List&lt;span class="nt"&gt;&amp;lt;string&amp;gt;&lt;/span&gt;();
            nsmap&lt;span class="cp"&gt;[&lt;/span&gt;&lt;span class="nb"&gt;basename&lt;/span&gt;&lt;span class="cp"&gt;]&lt;/span&gt; = gnames;
        }
        gnames.Add(t.Name);
    }
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</summary></entry><entry><title>#22 IPython </title><link href="https://sourceforge.net/p/pythonnet/bugs/22/?limit=25#bda4" rel="alternate"/><published>2013-09-28T19:01:18.658000Z</published><updated>2013-09-28T19:01:18.658000Z</updated><author><name>Figopi</name><uri>https://sourceforge.net/u/johndewsnip/</uri></author><id>https://sourceforge.net89bc23f1450f7249e455dc5b1d6d12f6901aec0a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;rebuilt from source and problem has gone away.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IPython </title><link href="https://sourceforge.net/p/pythonnet/bugs/22/" rel="alternate"/><published>2013-09-20T06:29:28.263000Z</published><updated>2013-09-20T06:29:28.263000Z</updated><author><name>Figopi</name><uri>https://sourceforge.net/u/johndewsnip/</uri></author><id>https://sourceforge.netfb04e4d42e0ad14b71420504736eaaa9de4764bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can use pythonnet under python however when I import the clr under ipython or start a ipython session from with a python shell I get the following error.&lt;/p&gt;
&lt;p&gt;I have included the stack trace for the latter - see below. &lt;/p&gt;
&lt;p&gt;I have only a couple of months python experience so any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Many Thanks.&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;from IPython.frontend.terminal.ipapp import TerminalIPythonApp&lt;br /&gt;
import clr&lt;br /&gt;
app = TerminalIPythonApp.instance()&lt;br /&gt;
app.verbose_crash=True&lt;br /&gt;
app.initialize(argv=[]) # argv=[] instructs IPython to ignore sys.argv&lt;br /&gt;
Error in sys.excepthook:&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\application.py", line 175, in excepthook&lt;br /&gt;
    return self.crash_handler(etype, evalue, tb)&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\crashhandler.py", line 158, in &lt;strong&gt;call&lt;/strong&gt;&lt;br /&gt;
    traceback = TBhandler.text(etype,evalue,etb,context=31)&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\ultratb.py", line 412, in text&lt;br /&gt;
    tb_offset, context)&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\ultratb.py", line 963, in structured_traceback&lt;br /&gt;
    ipinst = ipapi.get()&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\ipapi.py", line 28, in get&lt;br /&gt;
    return InteractiveShell.instance()&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\config\configurable.py", line 318, in instance&lt;br /&gt;
    inst = cls(&lt;em&gt;args, &lt;/em&gt;&lt;em&gt;kwargs)&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\interactiveshell.py", line 454, in &lt;strong&gt;init&lt;/strong&gt;&lt;br /&gt;
    self.init_readline()&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\interactiveshell.py", line 1779, in init_readli&lt;br /&gt;
ne&lt;br /&gt;
    import IPython.utils.rlineimpl as readline&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\utils\rlineimpl.py", line 33, in &lt;br /&gt;
    from readline import &lt;/em&gt;&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\readline.py", line 6, in &lt;br /&gt;
    from pyreadline.rlmain import Readline&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\pyreadline__init&lt;strong&gt;.py", line 11, in &lt;br /&gt;
    from . import unicode_helper, logger, clipboard, lineeditor, modes, console&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\pyreadline\console__init&lt;/strong&gt;.py", line 15, in &lt;br /&gt;
    from .console import *&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\pyreadline\console\console.py", line 21, in &lt;br /&gt;
    import pyreadline.unicode_helper as unicode_helper&lt;br /&gt;
AttributeError: 'module' object has no attribute 'unicode_helper'&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;Original exception was:&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File "", line 1, in &lt;br /&gt;
  File "", line 2, in initialize&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\config\application.py", line 84, in catch_config_err&lt;br /&gt;
or&lt;br /&gt;
    return method(app, &lt;em&gt;args, &lt;/em&gt;*kwargs)&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\frontend\terminal\ipapp.py", line 324, in initialize&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;init_shell&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\frontend\terminal\ipapp.py", line 340, in init_shell&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;ipython_dir&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;self&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ipython_dir&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\config\configurable.py", line 318, in instance&lt;br /&gt;
    inst = cls(&lt;em&gt;args, &lt;/em&gt;&lt;em&gt;kwargs)&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\frontend\terminal\interactiveshell.py", line 360, in&lt;br /&gt;
&lt;strong&gt;init&lt;/strong&gt;&lt;br /&gt;
    user_module=user_module, custom_exceptions=custom_exceptions&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\interactiveshell.py", line 454, in &lt;strong&gt;init&lt;/strong&gt;&lt;br /&gt;
    self.init_readline()&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\core\interactiveshell.py", line 1779, in init_readli&lt;br /&gt;
ne&lt;br /&gt;
    import IPython.utils.rlineimpl as readline&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\IPython\utils\rlineimpl.py", line 33, in &lt;br /&gt;
    from readline import &lt;/em&gt;&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\readline.py", line 6, in &lt;br /&gt;
    from pyreadline.rlmain import Readline&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\pyreadline__init&lt;strong&gt;.py", line 11, in &lt;br /&gt;
    from . import unicode_helper, logger, clipboard, lineeditor, modes, console&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\pyreadline\console__init&lt;/strong&gt;.py", line 15, in &lt;br /&gt;
    from .console import *&lt;br /&gt;
  File "C:\WinPython-64bit-2.7.5.3\python-2.7.5.amd64\lib\site-packages\pyreadline\console\console.py", line 21, in &lt;br /&gt;
    import pyreadline.unicode_helper as unicode_helper&lt;br /&gt;
AttributeError: 'module' object has no attribute 'unicode_helper'&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;&lt;/div&gt;</summary></entry><entry><title>#20 PythonEngine.Initialize()</title><link href="https://sourceforge.net/p/pythonnet/bugs/20/?limit=25#1c2c" rel="alternate"/><published>2013-08-01T09:47:30.290000Z</published><updated>2013-08-01T09:47:30.290000Z</updated><author><name>Calvin Wang</name><uri>https://sourceforge.net/u/calvinvw/</uri></author><id>https://sourceforge.netb60be26bbb14c95d8a3f2e1f8648d146a4317595</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The patch fixes this bug.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#4 PythonException is not marked [Serializable]</title><link href="https://sourceforge.net/p/pythonnet/bugs/4/?limit=25#76ee" rel="alternate"/><published>2012-12-23T19:25:57.830000Z</published><updated>2012-12-23T19:25:57.830000Z</updated><author><name>Barton Cline</name><uri>https://sourceforge.net/u/userid-1574108/</uri></author><id>https://sourceforge.netfe00c73b61e16fa3ed6b1768dc39c888925dfbd2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Will be in the update coming shortly&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>import clr crash on openoffice python</title><link href="https://sourceforge.net/p/pythonnet/bugs/21/" rel="alternate"/><published>2012-07-28T21:29:09Z</published><updated>2012-07-28T21:29:09Z</updated><author><name>lvl</name><uri>https://sourceforge.net/u/begonius/</uri></author><id>https://sourceforge.netc09ba3d217eaa1c8d1b14f42d45a2a740acc2f9d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When using python for .net from Openoffice, a crash occurs on import clr.&lt;br /&gt;
The python module is called by "C:\Program Files\OpenOffice.org 3\program\soffice.exe" -nologo "vnd.sun.star.script:module.py$fonc?language=Python&amp;amp;location=user"&lt;/p&gt;
&lt;p&gt;The module.py is in the user directory : C:\Documents and Settings\username\Application Data\OpenOffice.org\3\user\Scripts.&lt;br /&gt;
It contains :&lt;/p&gt;
&lt;p&gt;import clr&lt;/p&gt;
&lt;p&gt;def fonc(Arg1 = "-nothing-"):&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;pass&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;g_exportedScripts = fonc,&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PythonEngine.Initialize()</title><link href="https://sourceforge.net/p/pythonnet/bugs/20/" rel="alternate"/><published>2011-09-30T07:38:07Z</published><updated>2011-09-30T07:38:07Z</updated><author><name>malda</name><uri>https://sourceforge.net/u/maldacr/</uri></author><id>https://sourceforge.netf7344399a2d84ca8b108a42324b062015e2213e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;PythonEngine.Initialize() failed when anonymous type found in referenced assembly. In method GenericUtil.Register(Type t) there is no test for types which t.Namespace is null. When t.Namespace is null attempt to get it from dictionary 'maping' failed with message "Value cannot be null". Anonymous types are declared e.g. in Autofac.dll (wide use IoC container). Simple correction is just check if t.Namespace is null and then don`t process that type. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stack corruption</title><link href="https://sourceforge.net/p/pythonnet/bugs/19/" rel="alternate"/><published>2011-05-17T17:52:42Z</published><updated>2011-05-17T17:52:42Z</updated><author><name>xeph</name><uri>https://sourceforge.net/u/christallire/</uri></author><id>https://sourceforge.netda485bce7306930310612e236da481b3641bf204</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using python.net heavily in my server/client project&lt;/p&gt;
&lt;p&gt;I found Stack buffer overflow exception OR stack corruption exception is caused when python script throws an exception, which is caught by CLR code especially when GC is collecting its own objects.&lt;br /&gt;
I think this problem is caused when allocated objects are unwinded by CLR engine.&lt;br /&gt;
(threw in CLR GC Collection/GC Security Cookie Check)&lt;/p&gt;
&lt;p&gt;I found problem this 2 months ago, been struggling to solve this problem, because it happens rarely, randomly when GC is collecting objects&lt;br /&gt;
I solved this problem via removing all of pythonexception throwing code from PythonEngine, changed to return parameters to null&lt;/p&gt;
&lt;p&gt;Hope you have better solution for solve this problem :)&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>