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

Package errors out when I attempt to load a page with an empty string #223

Open
MachineThing opened this issue Feb 14, 2020 · 0 comments
Open

Comments

@MachineThing
Copy link

Log:

Wikipedia page: 
Traceback (most recent call last):
  File "wikilinkvis.py", line 9, in <module>
    page = wikipedia.page(page)
  File "/home/mason/.local/lib/python3.7/site-packages/wikipedia/wikipedia.py", line 270, in page
    results, suggestion = search(title, results=1, suggestion=True)
  File "/home/mason/.local/lib/python3.7/site-packages/wikipedia/util.py", line 28, in __call__
    ret = self._cache[key] = self.fn(*args, **kwargs)
  File "/home/mason/.local/lib/python3.7/site-packages/wikipedia/wikipedia.py", line 109, in search
    raise WikipediaException(raw_results['error']['info'])
wikipedia.exceptions.WikipediaException: An unknown error occured: "The "srsearch" parameter must be set.". Please report it on GitHub!

Issue is most likely related to #200

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

1 participant