You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I type in another say_hello to call a the function in the last line of the code listed below, this error comes up.
File "C:\Users\Al\Anaconda3\lib\site-packages\spyder\plugins\completion\fallback\actor.py", line 62, in tokenize
valid = is_prefix_valid(text, offset, language)
File "C:\Users\Al\Anaconda3\lib\site-packages\spyder\plugins\completion\fallback\utils.py", line 122, in is_prefix_valid
current_pos_text = text[offset - 1]
IndexError: string index out of range
File "C:\Users\Al\Anaconda3\lib\site-packages\spyder\plugins\completion\fallback\actor.py", line 155, in handle_msg
msg['current_word'])
File "C:\Users\Al\Anaconda3\lib\site-packages\spyder\plugins\completion\fallback\actor.py", line 62, in tokenize
valid = is_prefix_valid(text, offset, language)
File "C:\Users\Al\Anaconda3\lib\site-packages\spyder\plugins\completion\fallback\utils.py", line 122, in is_prefix_valid
current_pos_text = text[offset -1]
IndexError: string index out of range
The text was updated successfully, but these errors were encountered:
ccordoba12
changed the title
Adding a fourth function call causes an error report, but everything runs okay/
IndexError: string index out of range in fallback plugin
Mar 19, 2020
Description
What steps will reproduce the problem?
When I type in another say_hello to call a the function in the last line of the code listed below, this error comes up.
File "C:\Users\Al\Anaconda3\lib\site-packages\spyder\plugins\completion\fallback\actor.py", line 62, in tokenize
valid = is_prefix_valid(text, offset, language)
File "C:\Users\Al\Anaconda3\lib\site-packages\spyder\plugins\completion\fallback\utils.py", line 122, in is_prefix_valid
current_pos_text = text[offset - 1]
IndexError: string index out of range
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: