Internal error when using filter #498
Hi there,
When I was trying to use the filter function, below message came up. Is it normal to not have filter path under folder VitalRecorder? I tried other filters and had same error message. Second question I have is I noticed that the instruction for adding filter is gone. Can I still do that to the filters folder under AppData\Roaming\VitalRecorder\python\Lib\site-packages\pyvital\filters. Lastly do I need to instal python to run the filter?
Appreciate your help,
PT
2022-04-08 07:53:49.880 recorder mode
2022-04-08 07:53:50.908 client 1649422430.908947, server 1649422430.000000
2022-04-08 07:53:51.011 client 1649422431.011462, server 1649422430.000000
2022-04-08 07:54:14.881 new pt: []
2022-04-08 08:42:07.370 new pt: [UNSET]
2022-04-08 08:42:34.112 new pt: []
2022-04-08 10:25:16.384 filterpath : C:\Users\Pen Liao\AppData\Roaming\VitalRecorder\filters
2022-04-08 10:25:16.384 filter path not exists
2022-04-08 10:25:16.384 python path : C:\Users\Pen Liao\AppData\Roaming\VitalRecorder\python\python.exe
2022-04-08 10:25:16.384 starting filter server : "C:\Users\Pen Liao\AppData\Roaming\VitalRecorder\python\python.exe" -m pyvital
2022-04-08 10:25:16.390 filter server started
2022-04-08 10:25:19.080 [2022-04-08 10:25:19 -0500] [2980] [INFO] platform: Windows-10-10.0.19044-SP0
2022-04-08 10:25:19.080 [2022-04-08 10:25:19 -0500] [2980] [INFO] packages: sanic-routing==0.7.2
2022-04-08 10:25:19.113 C:\Users\Pen Liao\AppData\Roaming\VitalRecorder\python\Lib\site-packages\sanic\app.py:273: DeprecationWarning: There is no current event loop
return get_event_loop()
2022-04-08 10:25:19.113 [2022-04-08 10:25:19 -0500] [2980] [INFO] Starting worker [2980]
2022-04-08 10:25:30.968 [2078965808] ECG - Heart Rate Variability filter started
2022-04-08 10:25:32.711 ecg_hrv from 2022-04-08 08:42:04 to 2022-04-08 08:47:04 ( 300.0 s) = >
<h1>Internal Server Error</h1>
<p>
The server encountered an internal error and cannot complete
your request.
</p>