Skip to content

SDK Runtime error in Django web app #4

@jishnujayakumar

Description

@jishnujayakumar

When the SDK is called inside a Django web application, then the following runtime error shows up.

applicationHandler = Entity(LISTENING_DEVICE_NAME, OWNER_API_KEY)
File "/usr/local/lib/python3.5/dist-packages/ideam/entity.py", line 25, in init
self.event_loop = asyncio.get_event_loop()
File "/usr/lib/python3.5/asyncio/events.py", line 678, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "/usr/lib/python3.5/asyncio/events.py", line 584, in get_event_loop
% threading.current_thread().name)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions