[IPython-dev] Bug caused by commit 2ccc90d68ac01145ab97

Jörgen Stenarson jorgen.stenarson at bostream.nu
Wed Mar 2 15:59:20 EST 2011


Thomas Kluyver skrev 2011-03-02 21:44:
 >
> I've also rebased the branch, so it's up to date with trunk - can I ask
> you to test again with that? You might have to delete your copy of the
> branch and refetch it.
>
> Thomas

Hi,

these are the errors I get for the IPython.core tests
/Jörgen

======================================================================
ERROR: IPython.core.tests.test_history.test_history
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py", line
183, in runTest
     self.test(*self.arg)
   File 
"c:\python\external\ipython-takluyver\IPython\core\tests\test_history.py"
, line 41, in test_history
     ip.reload_history()
   File 
"c:\python\external\ipython-takluyver\IPython\core\interactiveshell.py",
line 1259, in reload_history
     self.history_manager.reload_history()
   File "c:\python\external\ipython-takluyver\IPython\core\history.py", 
line 176,
  in reload_history
     self.populate_readline_history()
   File "c:\python\external\ipython-takluyver\IPython\core\history.py", 
line 145,
  in populate_readline_history
     h = h.encode(sys.stdin.encoding or "utf-8")
   File "C:\Python26\lib\encodings\cp1252.py", line 12, in encode
     return codecs.charmap_encode(input,errors,encoding_table)
UnicodeEncodeError: 'charmap' codec can't encode characters in position 
6-7: cha
racter maps to <undefined>
-------------------- >> begin captured stdout << ---------------------
test c:\docume~1\jstenar\lokala~1\temp\tmp2fb59q\history.json

--------------------- >> end captured stdout << ----------------------

======================================================================
FAIL: IPython.core.tests.test_completer.test_file_completions
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py", line
183, in runTest
     self.test(*self.arg)
   File 
"c:\python\external\ipython-takluyver\IPython\core\tests\test_completer.p
y", line 152, in test_file_completions
     nt.assert_equal(c, names)
AssertionError: [] != 
['c:\\docume~1\\jstenar\\lokala~1\\temp\\tmpo2gmyx\\foo1',
  'c:\\docume~1\\jstenar\\lokala~1\\temp\\tmpo2gmyx\\foo2']
 >>  raise self.failureException, \
           (None or '%r != %r' % ([], 
['c:\\docume~1\\jstenar\\lokala~1\\temp\\tm
po2gmyx\\foo1', 'c:\\docume~1\\jstenar\\lokala~1\\temp\\tmpo2gmyx\\foo2']))


======================================================================
FAIL: Test various directory handling operations.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"C:\Python26\lib\site-packages\nose-0.11.1-py2.6.egg\nose\case.py", line
183, in runTest
     self.test(*self.arg)
   File 
"c:\python\external\ipython-takluyver\IPython\core\tests\test_magic.py",
line 293, in test_dirops
     nt.assert_equal(curpath(), ipdir)
AssertionError: '/python/external/ipython-takluyver/IPython' != 
u'C:\\Documents
and Settings\\jstenar\\.ipython'
 >>  raise self.failureException, \
           (None or '%r != %r' % 
('/python/external/ipython-takluyver/IPython', u
'C:\\Documents and Settings\\jstenar\\.ipython'))

-------------------- >> begin captured stdout << ---------------------
[Error 123] Felaktig syntax för filnamn, katalognamn eller volymetikett: 
'"C:/Do
cuments and Settings/jstenar/.ipython"'
C:\python\external\ipython-takluyver\IPython

--------------------- >> end captured stdout << ----------------------

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



More information about the IPython-dev mailing list