Infinite recursion when calling cli with nonexistant command #26

Open
opened 2020-06-16 15:20:59 +00:00 by phryk · 0 comments
phryk commented 2020-06-16 15:20:59 +00:00 (Migrated from rnd.phryk.net)

Originally from github issue:

Reproduction example:
./example.py asdasddsadsaasd

This might be an upstream bug in flask or click, but more probable caused by
self.cli = flask.cli.FlaskGroup(create_app=lambda x:self) in poobrains/__init__.py

The same or a similar infinite recursion also happens when invoking the CLI without any commands. Fix it.

Originally from github issue: > Reproduction example: > `./example.py asdasddsadsaasd` > > This might be an upstream bug in flask or click, but more probable caused by > ` self.cli = flask.cli.FlaskGroup(create_app=lambda x:self)` in `poobrains/__init__.py` The same or a similar infinite recursion also happens when invoking the CLI without any commands. Fix it.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: phryk-evil-mad-sciences-llc/poobrains#26
No description provided.