<html><head><style type="text/css" media="screen">Body{font-family: Verdana;font-size:.75em;}h4{font-size:.9em;}a{color: #3a62a6;}.digest .toc {margin-bottom: 15px; padding-bottom:8px; border-bottom: 1px solid #ccc;}.digest .tocItem {margin-bottom: 15px;}.tocItem a{color:#000;text-decoration: none;}.tocItem a:hover{color: #3a62a6;text-decoration: underline;}.topic{padding-bottom: 8px;margin-bottom: 20px; border-bottom: 1px solid #ccc;}.topicHeader{margin-bottom:10px;}.topicTitle{font-weight: bold;}.replies p{margin:0;padding:0;}.replies hr{width: 15%;text-align: left;margin: 0 auto 5px 0;border: none 0;border-top: 1px solid #ccc;height: 1px;}.reply{margin-bottom: 6px;padding-bottom: 4px;}.anchorMarker{color: #3a62a6;}.footer{color: gray;}</style></head><body><div class="digest"><p>Hi ironpython,</p><p>Here's your Daily Digest of new issues for project "<a href="http://ironpython.codeplex.com/">IronPython</a>".</p><p>In today's digest:</p><h4>ISSUES</h4><div class="toc"><div class="tocItem"><a href="#toc_issue_1">1. <span class="tocTitle">[New comment] types.FunctionType(...) raise NotImplementedError</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_2">2. <span class="tocTitle">[New comment] byte and string should be interchengable as arguments of string methods</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_3">3. <span class="tocTitle">[New comment] byte and string should be interchengable as arguments of string methods</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_4">4. <span class="tocTitle">[New comment] Error when write dicom file using IronPython</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_5">5. <span class="tocTitle">[Status update] Error when write dicom file using IronPython</span> <span class="anchorMarker">↓</span></a></div><div class="tocItem"><a href="#toc_issue_6">6. <span class="tocTitle">[New issue] stack trace reported out of order by top level exception handler</span> <span class="anchorMarker">↓</span></a></div></div><h4>ISSUES</h4><div class="topic"><a name="toc_issue_1"></a><div class="topicHeader"><span class="topicTitle">1. [New comment] types.FunctionType(...) raise NotImplementedError</span> <a href="http://ironpython.codeplex.com/workitem/35180">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<p>partial fix (only 34932) in b24c9301b3eb2f90a0fa9eaca9fb4bdc145dbe5f</p>"</p></div><div class="topic"><a name="toc_issue_2"></a><div class="topicHeader"><span class="topicTitle">2. [New comment] byte and string should be interchengable as arguments of string methods</span> <a href="http://ironpython.codeplex.com/workitem/35212">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<p>fixed in b24c9301b3eb2f90a0fa9eaca9fb4bdc145dbe5f</p>"</p></div><div class="topic"><a name="toc_issue_3"></a><div class="topicHeader"><span class="topicTitle">3. [New comment] byte and string should be interchengable as arguments of string methods</span> <a href="http://ironpython.codeplex.com/workitem/35212">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<p>oops, fixed in 83ea081cb8659c8589a87534d9b51f47f7daff4c</p>"</p></div><div class="topic"><a name="toc_issue_4"></a><div class="topicHeader"><span class="topicTitle">4. [New comment] Error when write dicom file using IronPython</span> <a href="http://ironpython.codeplex.com/workitem/35215">view online</a></div><p>User paweljasinski has commented on the issue:</p><p>"<p>As I tried to explain (but failed to format), you have to <br>1. take dicom 0.9.8<br>2. Edit ```__init__.py```, replace:<br>```<br>in_py3 = sys.version_info[0] &gt; 2<br>```<br>with<br>```<br>in_py3 = sys.version_info[0] &gt; 2 or sys.platform == 'cli'<br>```<br>3. Use fix provided in https://ironpython.codeplex.com/workitem/35212<br>4. Use fix provided here: https://github.com/IronLanguages/main/pull/199</p><p>You can also wait a few days and very likely it will be in ipy-2.7-main branch</p>"</p></div><div class="topic"><a name="toc_issue_5"></a><div class="topicHeader"><span class="topicTitle">5. [Status update] Error when write dicom file using IronPython</span> <a href="http://ironpython.codeplex.com/workitem/35215">view online</a></div><p>User paweljasinski has updated the issue:</p><p>Status has changed from Proposed to Closed.<br /><br /></p></div><div class="topic"><a name="toc_issue_6"></a><div class="topicHeader"><span class="topicTitle">6. [New issue] stack trace reported out of order by top level exception handler</span> <a href="http://ironpython.codeplex.com/workitem/35230">view online</a></div><p>User paweljasinski has proposed the issue:</p><p>"I have discovered it when playing with dicom. If I take dicom version 0.8.9 and try the following script:<br />
<pre><code>import dicom
ds = dicom.read_file("CT_small.dcm")
ds.save_as("foo")</code></pre>

I get the following traceback reported:<br />
<pre><code>Traceback (most recent call last):
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\dataset.py", line 285, in __getitem__
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\values.py", line 188, in convert_value
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\values.py", line 117, in <lambda$214>
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\valuerep.py", line 360, in __new__
  File "di.py", line 3, in <module>
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\dataset.py", line 467, in save_as
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\filewriter.py", line 344, in write_file
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\filewriter.py", line 196, in write_dataset
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\dataelem.py", line 338, in DataElement_fro                           m_raw
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\values.py", line 120, in convert_PN
TypeError: expected IList[Byte], got str</code></pre>

the di.py line reported in the middle make no sense.<br />
<br />
However if I dump traceback myself, things look as expected:<br />
<pre><code>import dicom
import traceback
try:
    ds = dicom.read_file("CT_small.dcm")
    ds.save_as("foo")
except:
    traceback.print_exc()</code></pre>

traceback:<br />
<pre><code>Traceback (most recent call last):
  File "di.py", line 5, in <module>
    ds.save_as("foo")
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\dataset.py", line 467, in save_as
    dicom.write_file(filename, self, WriteLikeOriginal)
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\filewriter.py", line 344, in write_file
    write_dataset(fp, dataset)
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\filewriter.py", line 196, in write_dataset
    write_data_element(fp, dataset[tag], dataset_encoding)
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\dataset.py", line 285, in __getitem__
    self[tag] = DataElement_from_raw(data_elem, character_set)
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\dataelem.py", line 338, in DataElement_from_raw
    value = convert_value(VR, raw, encoding)
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\values.py", line 188, in convert_value
    value = converter(byte_string, is_little_endian, encoding=encoding)
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\values.py", line 120, in convert_PN
    return valtype(splitup[0])
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\values.py", line 117, in <lambda$214>
    valtype = lambda x: PersonName(x, *args)
  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\valuerep.py", line 360, in __new__
    return super(PersonName, cls).__new__(cls, val)
TypeError: expected IList[Byte], got str</code></pre>

"</p></div><div class="footer"><p>You are receiving this email because you subscribed to notifications on CodePlex.</p><p>To report a bug, request a feature, or add a comment, visit <a href="http://ironpython.codeplex.com/workitem/list/basic">IronPython Issue Tracker</a>. You can <a href="http://ironpython.codeplex.com/subscriptions/workitem/project/edit">unsubscribe or change your issue notification settings</a> on CodePlex.com.</p></div></div></body></html>