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

ZeroDivisionError in Publish snap to the stable channel 😯 #554

Closed
PawelLipski opened this issue Jun 17, 2022 · 0 comments · Fixed by #556
Closed

ZeroDivisionError in Publish snap to the stable channel 😯 #554

PawelLipski opened this issue Jun 17, 2022 · 0 comments · Fixed by #556
Assignees
Labels
bug Something isn't working build Relates to build process distribute Relates to how machete is distributed and installed
Milestone

Comments

@PawelLipski
Copy link
Collaborator

https://app.circleci.com/pipelines/github/VirtusLab/git-machete/2140/workflows/e0387021-59c2-4e57-b572-d8af5b6c4487/jobs/10054

+ snapcraftctl prime
The interpreter 'python3' for 'bin/git-machete' was resolved to 'usr/bin/python3'.
The command 'bin/git-machete' has been changed to 'usr/bin/python3 $SNAP/bin/git-machete' to safely account for the interpreter.
Snapping |                                                           Snapping /                                                           Snapping -                                                           Snapping \                                                           Snapping |                                                           Snapping /                                                           Snapping -                                                           Snapping \                                                           Snapping |                                                           Snapping /                                                           Snapping -                                                           Snapping \                                                           Snapping |                                                           Snapping /                                                           Snapping -                                                           Snapping \                                                           Snapping |                                                           Snapping /                                                           Snapping |                                                           
Snapped git-machete_3.11.0_multi.snap
Traceback (most recent call last):
  File "/snap/snapcraft/7710/bin/snapcraft", line 8, in <module>
    sys.exit(run())
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/snapcraft/cli.py", line 181, in run
    dispatcher.run()
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/craft_cli/dispatcher.py", line 406, in run
    return self._loaded_command.run(self._parsed_command_args)
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/snapcraft/commands/account.py", line 108, in run
    emit.message(
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/craft_cli/messages.py", line 621, in func
    return wrapped_func(self, *args, **kwargs)
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/craft_cli/messages.py", line 725, in message
    self._printer.show(sys.stdout, text, use_timestamp=use_timestamp)  # type: ignore
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/craft_cli/messages.py", line 374, in show
    self._show(msg)
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/craft_cli/messages.py", line 334, in _show
    self._write_line(msg)
  File "/snap/snapcraft/7710/lib/python3.8/site-packages/craft_cli/messages.py", line 279, in _write_line
    cleaner = " " * (usable - len(text) % width)
ZeroDivisionError: integer division or modulo by zero
@PawelLipski PawelLipski added bug Something isn't working distribute Relates to how machete is distributed and installed build Relates to build process labels Jun 17, 2022
@PawelLipski PawelLipski added this to the v3.11.1 milestone Jun 17, 2022
@amalota amalota linked a pull request Jun 17, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Relates to build process distribute Relates to how machete is distributed and installed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants