Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while render devs-effort plot with devs stats as input #396

Open
syberside opened this issue Jun 2, 2024 · 0 comments
Open

Error while render devs-effort plot with devs stats as input #396

syberside opened this issue Jun 2, 2024 · 0 comments

Comments

@syberside
Copy link

Hi!

I'm trying to draw devs-effor graph using dockerized version of tool.

When I run following command: docker run --rm -v <path_to_repo>:/repo srcd/hercules hercules --devs /repo | docker run --rm -i -v ./:/io srcd/hercules labours -m devs-efforts -o /io/devs.png I receive error

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Reading the input... done
Running: devs-efforts
matplotlib: backend is agg
Traceback (most recent call last):
  File "/usr/local/bin/labours", line 33, in <module>
    sys.exit(load_entry_point('labours==10.7.2', 'console_scripts', 'labours')())
  File "/usr/local/lib/python3.6/dist-packages/labours/cli.py", line 449, in main
    modes[mode]()
  File "/usr/local/lib/python3.6/dist-packages/labours/cli.py", line 363, in devs_efforts
    max_people=args.max_people,
  File "/usr/local/lib/python3.6/dist-packages/labours/modes/devs.py", line 305, in show_devs_efforts
    for tick in pyplot.gca().yaxis.iter_ticks():
AttributeError: 'YAxis' object has no attribute 'iter_ticks'

I got exactly the same behavior for all repositories that I've tried.

Other commands (e.g. replace devs-effort with old-vs-new) work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant