bb-Ricardo/fritzinfluxdb

DeprecationWarning: There is no current event loop

Closed this issue · 3 comments

I am not sure, whether this will become relevant, but I noticed that upon starting fritzinfluxdb on my Ubuntu 22.04 LTS server, the following message appears in the log:

Jul 02 09:53:52 ghost fritzinfluxdb[1071496]: /opt/fritzinfluxdb/fritzinfluxdb.py:141: DeprecationWarning: There is no current event loop
Jul 02 09:53:52 ghost fritzinfluxdb[1071496]: loop = asyncio.get_event_loop()

Next to this when I installed it as a service, Ubuntu was complaining about the fritzinfluxdb.service file, that "user" and "group" shouldn't have such values. Once I changed them to my user, the message was gone.

Regards,
Torsten

Hi Torsten,

thank you for the information. Will have a look into it.

thank you and fixed in next-release branch