Hi ironpython,

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

In today's digest:ISSUES

1. [New issue] Quoted IRONPYTHONPATH causes error with "import"
2. [New issue] missleading error message for bytes(unicode, encoding)
3. [New issue] Run IronPyhton application as a service
4. [New issue] Include some way to discover IronPython path

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

ISSUES

1. [New issue] Quoted IRONPYTHONPATH causes error with "import"
http://ironpython.codeplex.com/workitem/34687
User FranzLichal has proposed the issue:

"Description: When the IRONPYTHONPATH is quoted, the import of most libraries 
fails.
This is the sequence:
C:>set IRONPYTHONPATH="C:\some\path"
C:>ipy
Traceback (most recent call last):
ValueError: Illegal characters in path.IronPython 2.7.3 (2.7.0.40) on .NET 
4.0.30319.18052 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.



import os.path
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Illegal characters in path.



>>>
For some reason 



import sys



>>>
works also with quoted IRONPYTHONPATH. 

The issue is solved for me now, but the question remains whether there is a 
reason for not accepting a quoted IRONPYTHONPATH. Even if it is necessary for 
conformance to some standard or the like I suggest to point out the problem 
directly in the error message. I spent quite a time modifying the PATH variable 
in various ways ...

Remark: I tested and found out that Iron Python is tolerant to quotes in PATH 
sections."-----------------

2. [New issue] missleading error message for bytes(unicode, encoding)
http://ironpython.codeplex.com/workitem/34689
User paweljasinski has proposed the issue:

"In PythonOps.cs the following does not show the offending code but zero.
        public static byte[] MakeByteArray(this string s) {
            byte[] ret = new byte[s.Length];
            for (int i = 0; i < s.Length; i++) {
                if (s[i] < 0x100) ret[i] = (byte)s[i];
                else throw PythonOps.UnicodeEncodeError("'ascii' codec can't 
decode byte {0:X} in position {1}: ordinal not in range", (int)ret[i], i);
            }
            return ret;
        }
"-----------------

3. [New issue] Run IronPyhton application as a service
http://ironpython.codeplex.com/workitem/34690
User javierpr19 has proposed the issue:

"I think it coud be very interesting than we can run an IronPython application 
as a Windows service."-----------------

4. [New issue] Include some way to discover IronPython path
http://ironpython.codeplex.com/workitem/34692
User javierpr19 has proposed the issue:

"It could be great if from external applicactions we can know the entire path 
where IronPython is installed.

As a suggestion, it could be added in IronPython Installer"
----------------------------------------------



----------------------------------------------
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
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to