[Bug 1413394] Review Request: python-memory_profiler - Module for monitoring memory usage of a python program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1413394



--- Comment #1 from Athos Ribeiro <athoscribeiro@xxxxxxxxx> ---
Hello, Igor

One of the tests raises an UnicodeEncodeError and terminates the build.

/usr/bin/python2 -m memory_profiler test/test_unicode.py
Filename: test/test_unicode.py
Line #    Mem usage    Increment   Line Contents
================================================
     3   13.199 MiB    0.000 MiB   @profile
     4                             def test_unicode(txt):
     5                                 # test when unicode is present
Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/builddir/build/BUILD/memory_profiler-0.43/memory_profiler.py", line
1149, in <module>
    show_results(prof, precision=options.precision, stream=out_file)
  File "/builddir/build/BUILD/memory_profiler-0.43/memory_profiler.py", line
702, in show_results
    stream.write(unicode(tmp, 'UTF-8'))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u06cc' in position
60: ordinal not in range(128)
make: *** [Makefile:12: test] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.OlvCjS (%check)
    Bad exit status from /var/tmp/rpm-tmp.OlvCjS (%check)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/mockbuild/trace_decorator.py", line
89, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.5/site-packages/mockbuild/util.py", line 578, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" %
(command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps
/builddir/build/SPECS/python-memory_profiler.spec
Mock Version: 1.3.3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]