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

Crash/Loop when no text is supplied with --pony flag #274

Open
stephenpope opened this issue Mar 2, 2018 · 0 comments
Open

Crash/Loop when no text is supplied with --pony flag #274

stephenpope opened this issue Mar 2, 2018 · 0 comments

Comments

@stephenpope
Copy link

Version: 3.0.3
Command ran : ponysay --pony rumble
Platform: Built from source on Ubuntu 17.10
What I would expect: An error (as this is not correct argument)
What I got: Program was stuck/blocked/looping - had to use Ctrl+C to get out of it

~$ ponysay --pony rumble
^CTraceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/bin/ponysay/__main__.py", line 154, in <module>
  File "/usr/bin/ponysay/ponysay.py", line 258, in run
  File "/usr/bin/ponysay/ponysay.py", line 309, in __run
  File "/usr/bin/ponysay/ponysay.py", line 893, in printPony
  File "/usr/bin/ponysay/ponysay.py", line 977, in __getMessage
KeyboardInterrupt
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