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

Unbounded recursion in edit-headline command #1086

Closed
edreamleo opened this issue Feb 21, 2019 · 1 comment
Closed

Unbounded recursion in edit-headline command #1086

edreamleo opened this issue Feb 21, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@edreamleo
Copy link
Member

c.executeMinibufferCommand('edit-headline') or Alt-X edit-headline yield:

Traceback (most recent call last):

   File "C:\Users\IH\Leo-Git\leo-editor\leo\core\leoGlobals.py", line 7389, in getScript
    elif w and p == c.p and useSelectedText and w.hasSelection():

   File "C:\Users\IH\Leo-Git\leo-editor\leo\core\leoCommands.py", line 1170, in __get_p
    return c.currentPosition()

   File "C:\Users\IH\Leo-Git\leo-editor\leo\core\leoCommands.py", line 867, in currentPosition
    if hasattr(c, '_currentPosition') and getattr(c, '_currentPosition'):

RecursionError: maximum recursion depth exceeded while calling a Python object
@edreamleo edreamleo added the Bug label Feb 21, 2019
@edreamleo edreamleo added this to the 5.8.1 milestone Feb 21, 2019
@edreamleo edreamleo self-assigned this Feb 21, 2019
@edreamleo
Copy link
Member Author

I am going to close this. Everything works as expected. Perhaps a plugin is involved.

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

No branches or pull requests

1 participant