Sonic853 / Pulsoid-to-VRChat-OSC

MIT License
12 stars 0 forks source link

crash after around 4-5 hours #2

Open Honzackcz opened 9 months ago

Honzackcz commented 9 months ago

I had issue that the app crashes after around 4-5 hours of working. I found out that it is caused by Windows Terminal cannot handle that many lines of text that accumulate over the time by reporting "Got heart rate: --- bpm" and just close.

Adding a "console.clear()" before logging new bpm value should fix it. I haven't tested this yet, but clearing the Terminal from batch script every hour fixed it, so this should too.

Sonic853 commented 9 months ago

Hi, I created "maxconsolelog.txt" to execute the "console.clear()" command when the terminal outputs a certain number of lines of logs. Currently, the default is to execute "console.clear()" when the number of lines reaches 1000.

pulsoid-to-vrchat-osc_v0.2.4_b1.zip

Honzackcz commented 9 months ago
  1. you left your Pulsiod token in the zip
  2. after deleting the token.txt and re-entering my new token I am just getting this:
    data: [object Object]
    Failed to parse data from Pulsoid. Skipping parameter update...