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

AttributeError: ’FStringStart’ object has no attribute ’children’ #424

Open
dangom opened this issue Sep 17, 2018 · 1 comment
Open

Comments

@dangom
Copy link

dangom commented Sep 17, 2018

Just started experimenting with LSP for Python in Emacs.
The following code will raise an AttributeError:

import numpy as np

def func(foo, test):
    baz = np.unique(test[f's{foo}'].values)
    return baz

The error happens when the cursor is positioned between e in np.unique and (.
Any idea how to fix this?

Thanks for the project!

@bryango
Copy link

bryango commented Jan 12, 2019

Another example:

# module `helpers.py`
mainfont = 'Anka/Coder Condensed'
argos_fontset = f" | font='{mainfont}'"

Then, from helpers import argos_fontset, pyls crashes (in atom). Same error message in console.

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

2 participants