bisohns / bisohns/search-engine-parser

`RuntimeError: There is no current event loop in thread 'Thread-2'.`

Open
#183 1 comment 1 reaction 0 assignees View on GitHub
bug
Dominant language
Python
Stars
491
Forks
87
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When I use search-engine-parser with flask, I get this error: `RuntimeError: There is no current event loop in thread 'Thread-2'.`

**To Reproduce**
Steps to reproduce the behavior:
1. Create a web server with the flask module
2. Import search_engine_parser
3. Search using search_engine_parse
4. See error

**Screenshots**
![image](https://github.com/bisohns/search-engine-parser/assets/96385330/18e6cc0c-a39e-4c95-9812-2d50f7b7562c)

**Desktop (please complete the following information):**
- OS: Ubuntu (Linux)
- Python Version 3.9.10
- Search-engine-parser version git+https://github.com/bisoncorps/search-engine-parser@0c2f4bde7dd21c10e64c9204417d9a228e96c187

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.