You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unicode errors in various tests - not only in test_glob:
test_glob
test test_glob failed -- Traceback (most recent call last):
File "c:\svn\py3k\lib\test\test_glob.py", line 87, in
test_glob_directory_names
eq(self.glob('*', '*a'), [])
File "c:\svn\py3k\lib\test\test_glob.py", line 41, in glob
res = glob.glob(p)
File "c:\svn\py3k\lib\glob.py", line 16, in glob
returnlist(iglob(pathname))
File "c:\svn\py3k\lib\glob.py", line 42, in iglob
for name in glob_in_dir(dirname, basename):
File "c:\svn\py3k\lib\glob.py", line 56, in glob1
names = os.listdir(dirname)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 27-31:
unexpected end of data
Activity
theller commentedon Aug 28, 2007
Unicode errors in various tests - not only in test_glob:
test_glob test test_glob failed -- Traceback (most recent call last): File "c:\svn\py3k\lib\test\test_glob.py", line 87, in test_glob_directory_names eq(self.glob('*', '*a'), []) File "c:\svn\py3k\lib\test\test_glob.py", line 41, in glob res = glob.glob(p) File "c:\svn\py3k\lib\glob.py", line 16, in glob return list(iglob(pathname)) File "c:\svn\py3k\lib\glob.py", line 42, in iglob for name in glob_in_dir(dirname, basename): File "c:\svn\py3k\lib\glob.py", line 56, in glob1 names = os.listdir(dirname) UnicodeDecodeError: 'utf8' codec can't decode bytes in position 27-31: unexpected end of datatiran commentedon Oct 27, 2007
I think the problem is solved now. I haven't seen glob crashing for a while.
tiran commentedon Nov 8, 2007
I'm unable to reproduce the error and I haven't seen it for a long time.
Closing