Message63874
Not in the system PATH but in the path where the file is stored:
Here is the original traceback from the bug report for Chandler:
Traceback (most recent call last):
File
"/Development/osaf/chandler_石田リチャード/chandler/release/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2107, in runTest
test, out=new.write, clear_globs=False)
File
"/Development/osaf/chandler_石田リチャード/chandler/release/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 1345, in run
return self.__run(test, compileflags, out)
File
"/Development/osaf/chandler_石田リチャード/chandler/release/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 1236, in __run
got += _exception_traceback(exc_info)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 70:
ordinal not in range(128)
On Mon, Mar 17, 2008 at 10:40 PM, Sean Reifschneider
<report@bugs.python.org> wrote:
>
> Sean Reifschneider <jafo@tummy.com> added the comment:
>
> This may be fixed already, or a bug in FC4. Or perhaps you could
> provide more information on how the bug is invoked. I was able to
> successfully execute a doctest with "\xee" in the path on an F8 box:
>
> Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11)
> [GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2
>
> Also: Please do not quote text in the reply.
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import doctest
> >>> doctest.testfile('foo\xeebar/test.txt')
> (0, 1)
> >>>
> guin:pytest$ cat fo*/test.txt
> The ``example`` module
> ======================
>
> Using ``print``
> -------------------
>
> This is a test example.
>
> >>> print 'Hello world!'
> Hello world!
>
> ----------
> nosy: +jafo
>
>
>
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue1274>
> __________________________________
> |
|
Date |
User |
Action |
Args |
2008-03-18 03:43:01 | bear | set | spambayes_score: 0.171142 -> 0.17114156 recipients:
+ bear, tim.peters, jafo, ilan |
2008-03-18 03:43:00 | bear | link | issue1274 messages |
2008-03-18 03:43:00 | bear | create | |
|