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

web suggest StackOverflow search error using more than one word #495

Open
verajosemanuel opened this issue Dec 30, 2020 · 0 comments
Open

Comments

@verajosemanuel
Copy link

Stack Overflow search only works when a single word is used. When multiwords are typed, an error is raised:

18:10:39.972 StackOverflow.StackOverflow: multiline rstudio snippet
18:10:39.987 ** ERROR: StackOverflow.StackOverflow: Could not send request:  URL can't contain control characters. '/2.2/search?site=stackoverflow&order=desc&sort=activity&pagesize=10&intitle=multiline rstudio snippet' (found at least ' ')
18:10:39.987 ** ERROR: Error from StackOverflow.StackOverflow.on_suggest: <class 'UnboundLocalError'>: local variable 'response' referenced before assignment
Traceback (most recent call last):
  File "C:\Users\joe\Programas\Keypirinha\portable\Profile\InstalledPackages\StackOverflow.keypirinha-package\stackoverflow.py", line 50, in on_suggest
  File "C:\Users\joe\Programas\Keypirinha\portable\Profile\InstalledPackages\StackOverflow.keypirinha-package\stackoverflow.py", line 68, in get_query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant