Comments (9)
Having the same issue. Is it possible that we are making too many HTTP requests and there is an unknown rate limiting that we don't know of?
from random-word.
Same issue here:
Exception: Error occured, No result found. If you think this was a mistake than raise issue at https://github.com/vaibhavsingh97/random-word/issues
from random-word.
I am receiving the same issue:
File "x/x/x/env/lib/python3.7/site-packages/random_word/random_word.py", line 60, in get_random_word
"Error occured, No result found. If you think this was a mistake than raise issue at {}".format(self.issue_url))
Exception: Error occured, No result found. If you think this was a mistake than raise issue at https://github.com/vaibhavsingh97/random-word/issues
Using the following:
random_word = r.get_random_word(hasDictionaryDef="true", includePartOfSpeech="noun,verb", minCorpusCount=1, maxCorpusCount=10, minDictionaryCount=1, maxDictionaryCount=10, minLength=5, maxLength=10)
from random-word.
Same Issue for me as well. Using a quick isolated script to test it out
The Script:
#!/usr/bin/env python3
def word():
from random_word import RandomWords
r = RandomWords()
word = r.get_random_word(hasDictionaryDef="true")
return word
def main():
print(word())
if __name__ == "__main__":
main()
The Result:
Traceback (most recent call last):
File "./randomword", line 13, in <module>
main()
File "./randomword", line 10, in main
print(word())
File "./randomword", line 6, in word
word = r.get_random_word(hasDictionaryDef="true")
File "/usr/local/lib/python3.7/site-packages/random_word/random_word.py", line 60, in get_random_word
"Error occured, No result found. If you think this was a mistake than raise issue at {}".format(self.issue_url))
Exception: Error occured, No result found. If you think this was a mistake than raise issue at https://github.com/vaibhavsingh97/random-word/issues
from random-word.
Same thing is happening to me. I tried to put time.sleep(2)
in between the lines, but it didn't fix it.
from random-word.
I get the same thing too. My current solution is close it down and come back later.
from random-word.
I just got this error, though it doesn't seem to be persistent. I've resorted to using this function.
def make_random_word(self):
words = RandomWords()
word = None
while not word:
try:
word = words.get_random_word()
except:
pass
return word
EDIT: Yeah, didn't test this before posting. It's still just doesn't work. Right now my script is just hanging as it loops over indefinitely
from random-word.
Same issue here.
Exception: Error occured, No result found. If you think this was a mistake than raise issue at https://github.com/vaibhavsingh97/random-word/issues
from random-word.
I had released a new version on PyPI (https://pypi.org/project/Random-Word/1.0.6/), this will fix recent issues.
from random-word.
Related Issues (20)
- pyyaml dependency being ignored HOT 1
- word_of_the_day returning None HOT 1
- ModuleNotFoundError: No module named 'yaml' HOT 2
- Unable to use the method get_random_word( )
- r.get_random_words() sometimes returns an empty list HOT 4
- get_random_word() & get_random_words() return a NoneType....!! HOT 9
- add yaml to dependancies
- Attribution to Wordnik.com and violation of TOS
- Broken package HOT 1
- Can't get compiled with pyinstaller HOT 2
- Broken package on Replit.com HOT 2
- Circular Import
- Timeout Error
- Function .get_random_word returns None too often (% depends of parameters) HOT 2
- ModuleNotFoundError when installing 1.0.8 with pip HOT 4
- maxLength < 5 fails to generate a word.
- Getting A Lot of Nones' HOT 1
- Simple words
- Speed up get_random_word() HOT 1
- Error using keyword arg. in random_word
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from random-word.