internet-equity / netrics

The network measurements scheduling framework
7 stars 3 forks source link

crash after pulling head from integrate-fate with support for python 3.8.10 #16

Closed ggmartins closed 2 years ago

ggmartins commented 2 years ago

This is the message I'm getting when attempting to run netrics debug execute -i {} netrics-ping from the Rpi at the iot lab.

gmartins@netrics:~/new/netrics$ netrics debug execute -i {} netrics-ping
Traceback (most recent call last):
  File "/home/gmartins/.local/bin/netrics", line 5, in <module>
    from netrics import main
  File "/home/gmartins/.local/lib/python3.8/site-packages/netrics/__init__.py", line 1, in <module>
    from .__main__ import main  # noqa: F401
  File "/home/gmartins/.local/lib/python3.8/site-packages/netrics/__main__.py", line 1, in <module>
    import fate
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/__init__.py", line 1, in <module>
    from .cli import main  # noqa: F401
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/cli/__init__.py", line 1, in <module>
    from .base import runcmd  # noqa: F401
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/cli/base/__init__.py", line 1, in <module>
    from .execution import runcmd  # noqa: F401
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/cli/base/execution.py", line 10, in <module>
    import fate.conf
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/conf/__init__.py", line 3, in <module>
    from .base import ConfGroup
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/conf/base.py", line 17, in <module>
    from .path import SystemPrefix
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/conf/path.py", line 117, in <module>
    PrefixPaths._find()._aspairs(),
  File "/home/gmartins/.local/lib/python3.8/site-packages/fate/conf/path.py", line 30, in _find
    if pathlib.Path(__file__).is_relative_to(home):
AttributeError: 'PosixPath' object has no attribute 'is_relative_to'