[Ironpython-users] IronPython, Daily Digest 5/15/2014

CodePlex no_reply at codeplex.com
Fri May 16 09:23:03 CEST 2014


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] Error when write dicom file using IronPython
2. [New comment] Error when write dicom file using IronPython
3. [New comment] Error when write dicom file using IronPython
4. [New issue] bytes "can only join an iterable of bytes"

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

ISSUES

1. [New comment] Error when write dicom file using IronPython
http://ironpython.codeplex.com/workitem/35215
User paweljasinski has commented on the issue:

"<p>1. I have pulled sources from dicom version 0.9.8 and tried. It looks like you are using different version. Can you upgrade to the latest?</p><p>2. I tried my luck and in __init__.py of the dicom changed:<br>```in_py3 = sys.version_info[0] > 2```<br>to<br>```in_py3 = sys.version_info[0] > 2 or sys.platform == 'cli'```</p><p>3. at this point tried:<br>```<br>import dicom<br>ds = dicom.read_file("CT_small.dcm")<br>ds.save_as("foo")<br>```<br>which discovers real bug in IronPython<br>```<br>Traceback (most recent call last):<br>  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\filewriter.py", line 91, in write_PN<br>  File "di.py", line 3, in <module><br>  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<br>  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<br>  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<br>  File "C:\Users\rejap\AppData\Roaming\Python\IronPython27\site-packages\pydicom-0.9.8-py2.7.egg\dicom\filewriter.py", line 160, in write_data_element<br>TypeError: can only join an iterable of bytes<br>```</p><p><br></p>"-----------------

2. [New comment] Error when write dicom file using IronPython
http://ironpython.codeplex.com/workitem/35215
User paweljasinski has commented on the issue:

"<p>if I could only edit my post ...<br>Anyway, the last issue is reported separately: bytes "can only join an iterable of bytes"</p>"-----------------

3. [New comment] Error when write dicom file using IronPython
http://ironpython.codeplex.com/workitem/35215
User paweljasinski has commented on the issue:

"<p>I mean: https://ironpython.codeplex.com/workitem/35224</p>"-----------------

4. [New issue] bytes "can only join an iterable of bytes"
http://ironpython.codeplex.com/workitem/35224
User paweljasinski has proposed the issue:

"Another cpython/ironpython mismatch when mixing bytes/string.
c:\cygwin64\home\rejap>ipy
IronPython 2.7.5a1 (2.7.0.40) on .NET 4.0.30319.18444 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> b"b".join(["a"])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: can only join an iterable of bytes
>>>
"
----------------------------------------------



----------------------------------------------
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/20140516/229f174c/attachment.html>


More information about the Ironpython-users mailing list