aigeano / pympler

Automatically exported from code.google.com/p/pympler
Apache License 2.0
0 stars 0 forks source link

latest svn 10.09.2009 produces 2 errors on Windows system #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. get latest svn
2. python setup.py try

you'll see:

======================================================================
ERROR: Test rendering of graph.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\django-projects\pympler\test\gui\test_garbage.py", line 232, in
test_render
    g.render('garbage.eps')
  File "D:\django-projects\pympler\pympler\gui\graph.py", line 299, in render
    p = Popen((cmd, '-T%s' % format, '-o', filename), stdin=PIPE,
close_fds=True)
  File "d:\python26\lib\subprocess.py", line 553, in __init__
    raise ValueError("close_fds is not supported on Windows "
ValueError: close_fds is not supported on Windows platforms if you redirect
stdin/stdout/stderr

======================================================================
FAIL: Test merging of reference trees.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\django-projects\pympler\test\tracker\test_stats.py", line 139,
in test_merge
    assert fm.size == sz[0] + sz[1], (fm.size, sz[0], sz[1])
AssertionError: (21664, 20808, 784)

----------------------------------------------------------------------
Ran 65 tests in 67.141s

FAILED (failures=1, errors=1)

What version of the product are you using? On what operating system?
latest svn on Windows XP SP3, python2.6.1

pympler 0.1 produced no errors with the same command

Original issue reported on code.google.com by nick...@gmail.com on 10 Aug 2009 at 11:57

GoogleCodeExporter commented 9 years ago
Thank you for reporting the issue. I will commit a fix to both problems as soon 
as
I've tested it works on Windows.

Original comment by lhae...@gmail.com on 19 Aug 2009 at 8:55

GoogleCodeExporter commented 9 years ago
Both problems are fixed in revision 232.

Original comment by lhae...@gmail.com on 25 Aug 2009 at 10:48

GoogleCodeExporter commented 9 years ago
Thank you! Just tested it, "python setup.py try" works fine, all tests passed.

Original comment by nick...@gmail.com on 26 Aug 2009 at 8:11