Skip to content

TypeError: unorderable types: str() < int() #1

@mkevac

Description

@mkevac
$ pcp2pdf --version
pcp2pdf version 3.11.3
$ pcp2pdf -a /var/log/pcp/pmlogger/fedora/20160701.12.35
Parsing: 20160701.12.35
Parsing archive: [########## 100.0%] - 1.54s
Creating graphs: [######## 80.9%]multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/usr/lib64/python3.5/multiprocessing/pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "/usr/lib64/python3.5/multiprocessing/pool.py", line 44, in mapstar
    return list(map(*args))
  File "/usr/lib/python3.5/site-packages/pcp2pdf/stats.py", line 111, in graph_wrapper
    ret = pcpstats_obj.create_graph(fname, label, metrics, indomres)
  File "/usr/lib/python3.5/site-packages/pcp2pdf/stats.py", line 656, in create_graph
    for indom in sorted(values):
TypeError: unorderable types: str() < int()
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/bin/pcp2pdf", line 16, in <module>
    main()
  File "/usr/lib/python3.5/site-packages/pcp2pdf/__main__.py", line 182, in main
    pcpstats.output()
  File "/usr/lib/python3.5/site-packages/pcp2pdf/stats.py", line 852, in output
    metrics_rets = pool.map(graph_wrapper, l)
  File "/usr/lib64/python3.5/multiprocessing/pool.py", line 260, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/usr/lib64/python3.5/multiprocessing/pool.py", line 608, in get
    raise self._value
TypeError: unorderable types: str() < int()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions