TwoToneDetect New TwoToneDetect in the works - Python based

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
The TTD 73l exclude times is not working. the county fire I am monitoring does daily 7 pm test pages for all of the county. I am using Windows 10 with TTD 73l. I set the exclude times from 6:58 pm to 7:05 pm and it still sends the test pages through even with the exclude times set.
Shoot, I thought that was fixed. Are you using the browser-based GUI to enter the times? Are 18:58 and 19:05 (24 hour time) showing up in the tones.cfg file as expected?

Andy
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
I am using Browser based GUI. It does put it as 24 hour in the tones.cfg file and is correct just for some reason does not work
What kind of alerts are you receiving during that time? Email alerts or IaR alerts? Only email-based alerts use the exclude time feature. IaR alerts bypass that function.

Also, do you have the email addresses that you don't want to send alerts to during that time interval specified in the "exclude emails" section?

Andy
 

MikeOrlando02

Member
Joined
Oct 8, 2015
Messages
97
PROBLEM: SFTP Host Key w/Audio NOT Uploading

Dreamhost recently mandated SFTP for uploading files to their servers using port 22. Everything was going great with TTD until my audio files stopped uploading. I reset my password and double checked my file paths with no success.

I left TTD running in debug mode and noted the following after every attempt to upload audio I saw the following:
FTP UPLOAD STARTS HERE
RETURNING AND REMOVING STUFF HERE at 1644152769.1988828
Unhandled exception in thread started by <function uploadSFTP at 0x0DDC14F8>
Traceback (most recent call last):
File "TwoToneDetect73l.py", line 1272, in uploadSFTP
[]
File "pysftp\__init__.py", line 64, in __init__
pysftp.exceptions.HostKeysException: No Host Keys Found


SOLUTION: Save the FTP server's public key to known_hosts file
Source: https://serverfault.com/a/321181

You have to save the FTP server's public/host key to the known_hosts file in TTD to recognize the server's fingerprint when using SFTP. Run this at a command prompt:
Code:
ssh-keyscan -t rsa YOURFTPSERVERDOMAIN_OR_IP

From the result, ignore the first line that starts with a # and copy everything from the second line on to the logfiles/known_hosts files in your TTD directory. Hope this helps anyone else with a struggle.
 

CDTbolt10033

Member
Joined
May 6, 2020
Messages
250
Location
Waterloo Region, ON
What kind of alerts are you receiving during that time? Email alerts or IaR alerts? Only email-based alerts use the exclude time feature. IaR alerts bypass that function.

Also, do you have the email addresses that you don't want to send alerts to during that time interval specified in the "exclude emails" section?

Andy

Nope, I have the email in the exclude list for today's test and they still came through (all 12 pages) for the daily test and the exclude time is also set for all of the 12 tones.
 

AFD103

Member
Premium Subscriber
Joined
Nov 17, 2020
Messages
33
With the 64-bit version of Raspberry Pi OS now out of Beta, has there been any testing of TTD on that platform?
 

Gadget987

Newbie
Joined
Feb 17, 2022
Messages
1
I am getting email-based alerts even when I use the exclude times. I have the email addresses that you don't want to send alerts to during that time interval specified in the "exclude emails" section. I am using version 73l.
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
For those having issues with the exclude time @Gadget987 @CDTbolt10033 :

1) Is this happening for emails with audio files, text-only emails, or both?
2) Log files showing the issue would be helpful. You can post them here or email them to andyknitt at gmail

I did some testing tonight and it seems to be working for me. However, I did notice something that could be what's causing your problems. The entry for the email address in the "Exclude Emails" feed needs to exactly match what's in the other field(s). So if you have this in one field:

<Joe Firefighter>joe@firefighter.com

And either of these in the other field:
<Joe>joe@firefighter.com
joe@firefighter.com

It's not going to work. It needs to be exactly the same in both fields.

Andy
 

Andy2712

Member
Feed Provider
Joined
Jul 19, 2005
Messages
67
Location
Lombard, IL
I've got a couple of versions 73L running on Pi 4's that even though I can see it seeing the correct tone sets, the program isn't triggering the correct emails or recognizing that the tones have come through. Any idea what might be going on?
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,564
Location
Massachusetts
I've got a couple of versions 73L running on Pi 4's that even though I can see it seeing the correct tone sets, the program isn't triggering the correct emails or recognizing that the tones have come through. Any idea what might be going on?
Can you post a logfile?
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Here you go. I'd appreciate any help. I haven't run in this and I can't figure it out.
There's an issue in the tones.cfg file, it looks like there's a comma used in a tone frequency that should be a period.
should be

Code:
Traceback (most recent call last):
  File "TwoToneDetect73l.py", line 1077, in readtones
  File "configparser.py", line 823, in getfloat
ValueError: could not convert string to float: '1472,9'
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,564
Location
Massachusetts
Here you go. I'd appreciate any help. I haven't run in this and I can't figure it out.
The error message "ValueError: could not convert string to float: '1472,9'" indicates to me that you got a comma rather than a decimal in one of your tone sets. Check your Tones.cfg file or the Tones Editor. In fact, check them all.
 

Andy2712

Member
Feed Provider
Joined
Jul 19, 2005
Messages
67
Location
Lombard, IL
There's an issue in the tones.cfg file, it looks like there's a comma used in a tone frequency that should be a period. should be

Code:
Traceback (most recent call last):
  File "TwoToneDetect73l.py", line 1077, in readtones
  File "configparser.py", line 823, in getfloat
ValueError: could not convert string to float: '1472,9'

Stupid commas. Thanks guys!! That fixed it!
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,564
Location
Massachusetts
Ok guys, this one has me stumped. I have a pi4 running two instances of v73l, one for IaR and one for non-IaR subscribers. About 2 AM on Mar 1 both went down (I received alerts based on the heartbeat signal.). By the time that I got to them TTD had done its daily restart. And appeared to be running fine. The 2 AM logfile shows nothing unusual, just no more audio samples. This pi receives audio from a Motorola 1550 and usb sound card. This has been an excellent arrangement for months. Now the pi is receiving no audio from the 1550. The sound card checks out, the radio shows that it is receiving signal, but nothing. Everything is aligned properly in pavucontrol But the volume bar shows no response.

That is part one. Now for part two. I had formerly used an sdr stick and rtlsdr_airband on this unit so I switched back. Now I am getting good audio to the pi as shown by the level meters in both pavucontrol and in TTD. The audio is streaming out from the unit just fine. TTD is hearing and decoding tone sets just fine. The problem now is that the audio files recorded and saved to the /audio folder contain only dead air, no message. If I watch the TTD GUI as it is decoding, the level meter shows that it is hearing the entire message.

521.670731707317 1877 1646163019.6703393
984.1829268292682 5924 1646163019.9100096
989.560975609756 6107 1646163019.965544
989.560975609756 6146 1646163020.2112544
989.560975609756 6196 1646163020.4813201
989.560975609756 6033 1646163020.5413547
989.560975609756 6018 1646163020.7908616
1597.280487804878 6041 1646163021.0320282
1597.280487804878 4409 1646163021.0916421
1597.280487804878 4416 1646163021.331378
1597.280487804878 4473 1646163021.572378
1597.280487804878 4391 1646163021.635169
1597.280487804878 4380 1646163021.9012482
FD_Fire Tone Set Found
starting new alert at 1646163021.9505754
[[['Tone13', 'FD_Fire', 1646163021.9101553, 0]]]
1597.280487804878 4393 1646163021.9651604
delay timer FD_Fire 14:30:22 on 03/01/22
0.0
-0.09600377082824707
1646163022.0067284
1646163021.9101553
delay done FD_Fire 14:30:22 on 03/01/22
waiting for audio FD_Fire 14:30:22 on 03/01/22
threshold value: 2.0705298476827547
threshold exceeded
recording audio FD_Fire 14:30:22 on 03/01/22
iterations: 269
1597.280487804878 4419 1646163022.2296302
1597.280487804878 4470 1646163022.46955
1597.280487804878 4453 1646163022.526872
1597.280487804878 4491 1646163022.7615538
1597.280487804878 4452 1646163022.990901
1597.280487804878 4424 1646163023.2603679
1597.280487804878 4448 1646163023.3217509
1597.280487804878 4377 1646163023.5911298
1597.280487804878 4409 1646163023.6520965
1597.280487804878 4426 1646163023.912432
521.670731707317 1868 1646163024.1608968
521.670731707317 1840 1646163024.223025
521.670731707317 1868 1646163024.4908967
521.670731707317 1879 1646163024.7307794
521.670731707317 3487 1646163024.7908247
925.0243902439024 803 1646163025.0219126
263.5243902439024 11368 1646163025.2807171
247.390243902439 2295 1646163026.6008527
344.1951219512195 1953 1646163026.661866
973.4268292682926 1955 1646163026.9292505
462.5121951219512 3403 1646163026.9856513
424.8658536585366 3805 1646163027.2292466
1242.3292682926829 4543 1646163027.449617
.
.
.
989.560975609756 2079 1646163039.7406282
1979.121951219512 2163 1646163039.9810858
527.0487804878048 3325 1646163040.0410478
279.6585365853659 11753 1646163040.311018
Waiting for Silence FD_Fire 14:30:47 on 03/01/22
247.390243902439 2221 1646163066.225921
521.670731707317 1898 1646163066.4698067
.
.
.
677.6341463414634 5527 1646163080.341136
521.670731707317 1873 1646163080.6104321
435.6219512195122 6276 1646163080.6720915
462.5121951219512 2737 1646163080.9382718
424.8658536585366 4232 1646163081.2110188
430.2439024390244 4877 1646163081.2750878
763.6829268292682 5587 1646163081.540037
344.1951219512195 3362 1646163081.5996227
311.9268292682927 11343 1646163081.834717
290.4146341463415 11174 1646163082.0757668
Done recording FD_Fire 14:31:42 on 03/01/22
./audio/FD_Fire_2022_03_01_14_30_21.wav
done writing WAV FD_Fire 14:31:43 on 03/01/22
done converting to MP3 FD_Fire 14:31:43 on 03/01/22
done converting to AMR FD_Fire 14:31:44 on 03/01/22

RETURNING AND REMOVING STUFF HERE at 1646163134.9514759
[]
Adding FD_Fire back to detection list after 60.0 second delay
258.1463414634146 2295 1646163509.7104864
349.5731707317073 1947 1646163509.7709627


my recording length is set for 25 sec and release time is 1. The blank audio files are all about 26 sec long.


any ideas?
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,305
Ok guys, this one has me stumped. I have a pi4 running two instances of v73l, one for IaR and one for non-IaR subscribers. About 2 AM on Mar 1 both went down (I received alerts based on the heartbeat signal.). By the time that I got to them TTD had done its daily restart. And appeared to be running fine. The 2 AM logfile shows nothing unusual, just no more audio samples. This pi receives audio from a Motorola 1550 and usb sound card. This has been an excellent arrangement for months. Now the pi is receiving no audio from the 1550. The sound card checks out, the radio shows that it is receiving signal, but nothing. Everything is aligned properly in pavucontrol But the volume bar shows no response.

That is part one. Now for part two. I had formerly used an sdr stick and rtlsdr_airband on this unit so I switched back. Now I am getting good audio to the pi as shown by the level meters in both pavucontrol and in TTD. The audio is streaming out from the unit just fine. TTD is hearing and decoding tone sets just fine. The problem now is that the audio files recorded and saved to the /audio folder contain only dead air, no message. If I watch the TTD GUI as it is decoding, the level meter shows that it is hearing the entire message.

521.670731707317 1877 1646163019.6703393
984.1829268292682 5924 1646163019.9100096
989.560975609756 6107 1646163019.965544
989.560975609756 6146 1646163020.2112544
989.560975609756 6196 1646163020.4813201
989.560975609756 6033 1646163020.5413547
989.560975609756 6018 1646163020.7908616
1597.280487804878 6041 1646163021.0320282
1597.280487804878 4409 1646163021.0916421
1597.280487804878 4416 1646163021.331378
1597.280487804878 4473 1646163021.572378
1597.280487804878 4391 1646163021.635169
1597.280487804878 4380 1646163021.9012482
FD_Fire Tone Set Found
starting new alert at 1646163021.9505754
[[['Tone13', 'FD_Fire', 1646163021.9101553, 0]]]
1597.280487804878 4393 1646163021.9651604
delay timer FD_Fire 14:30:22 on 03/01/22
0.0
-0.09600377082824707
1646163022.0067284
1646163021.9101553
delay done FD_Fire 14:30:22 on 03/01/22
waiting for audio FD_Fire 14:30:22 on 03/01/22
threshold value: 2.0705298476827547
threshold exceeded
recording audio FD_Fire 14:30:22 on 03/01/22
iterations: 269
1597.280487804878 4419 1646163022.2296302
1597.280487804878 4470 1646163022.46955
1597.280487804878 4453 1646163022.526872
1597.280487804878 4491 1646163022.7615538
1597.280487804878 4452 1646163022.990901
1597.280487804878 4424 1646163023.2603679
1597.280487804878 4448 1646163023.3217509
1597.280487804878 4377 1646163023.5911298
1597.280487804878 4409 1646163023.6520965
1597.280487804878 4426 1646163023.912432
521.670731707317 1868 1646163024.1608968
521.670731707317 1840 1646163024.223025
521.670731707317 1868 1646163024.4908967
521.670731707317 1879 1646163024.7307794
521.670731707317 3487 1646163024.7908247
925.0243902439024 803 1646163025.0219126
263.5243902439024 11368 1646163025.2807171
247.390243902439 2295 1646163026.6008527
344.1951219512195 1953 1646163026.661866
973.4268292682926 1955 1646163026.9292505
462.5121951219512 3403 1646163026.9856513
424.8658536585366 3805 1646163027.2292466
1242.3292682926829 4543 1646163027.449617
.
.
.
989.560975609756 2079 1646163039.7406282
1979.121951219512 2163 1646163039.9810858
527.0487804878048 3325 1646163040.0410478
279.6585365853659 11753 1646163040.311018
Waiting for Silence FD_Fire 14:30:47 on 03/01/22
247.390243902439 2221 1646163066.225921
521.670731707317 1898 1646163066.4698067
.
.
.
677.6341463414634 5527 1646163080.341136
521.670731707317 1873 1646163080.6104321
435.6219512195122 6276 1646163080.6720915
462.5121951219512 2737 1646163080.9382718
424.8658536585366 4232 1646163081.2110188
430.2439024390244 4877 1646163081.2750878
763.6829268292682 5587 1646163081.540037
344.1951219512195 3362 1646163081.5996227
311.9268292682927 11343 1646163081.834717
290.4146341463415 11174 1646163082.0757668
Done recording FD_Fire 14:31:42 on 03/01/22
./audio/FD_Fire_2022_03_01_14_30_21.wav
done writing WAV FD_Fire 14:31:43 on 03/01/22
done converting to MP3 FD_Fire 14:31:43 on 03/01/22
done converting to AMR FD_Fire 14:31:44 on 03/01/22

RETURNING AND REMOVING STUFF HERE at 1646163134.9514759
[]
Adding FD_Fire back to detection list after 60.0 second delay
258.1463414634146 2295 1646163509.7104864
349.5731707317073 1947 1646163509.7709627


my recording length is set for 25 sec and release time is 1. The blank audio files are all about 26 sec long.


any ideas?
Ah the joys of the RasPi audio system. It sounds like whatever caused the crash may have also messed up something with pulseaudio or the audio device index numbers. I've had some Pis that get really wonky and change the device index numbers after the program starts, etc. I've never been able to get it to be a consistent enough of a problem to track it down or figure out a solution.

TTD does tone detection using the same audio input stream for the duration of execution. Each alert fires up a new input audio stream, using the same index number as the original audio input. If the OS has changed the audio index numbers while TTD is running, that can cause issues where it detects the tones but doesn't record the audio.

So I've seen a lot of what you're describing but haven't been able to sort out how to fix it. Usually as I'm messing with things to try to understand root cause it suddenly starts behaving and then I'm not able to go back and reproduce it...once it fixes itself it seems to stay happy. Sorry I'm not more help.

Andy
 

WebsterEMA

Member
Joined
Sep 15, 2017
Messages
36
I had a setup that was working for the most part. But due to the way Windows Home does updates and encourages signing in with a Microsoft account all the time, it was causing the system to not work after regular restarts. So, I fresh installed Windows with a Professional license, now the system is Windows 10 Pro. But I'm not able to get it to work regularly.

If I'm sitting there watching the system, and have my dispatch do a test page, it's all good. But when I leave, and I assume the computer / program does things, it stops working. I come back to the computer and TwoTone is frozen. The blue Audio Level bar isn't moving, and if I hit anything like Edit Tone or Edit Config it just says loading. I ran the debug version and I've included the Command Prompt info.

I have the power settings set so that it does not go to sleep or hibernate. Windows Edge is my default browser, but I was having the issue when I was using Chrome as the default browser too. I had 73g in the previous setup, and tried it on the new system. I then downloaded l, then now j. Any help would be appreciated. I've used this for years with only occasional problems, and on multiple systems. Whatever I'm missing HAS to be something simple I've dealt with before. Or else Windows and TwoTone are conspiring to just mess with me and make me look like an idiot to my organization lol

Thank you for any help anyone can give.

Code:
STARTING IMPORTS
DONE IMPORTING
Version: TwoToneDetect73j_debug
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil      55. 34.101 / 55. 34.101
libavcodec     57. 64.101 / 57. 64.101
libavformat    57. 56.101 / 57. 56.101
libavdevice    57.  1.100 / 57.  1.100
libavfilter     6. 65.100 /  6. 65.100
libswscale      4.  2.100 /  4.  2.100
libswresample   2.  3.100 /  2.  3.100
libpostproc    54.  1.100 / 54.  1.100
FFMPEG FOUND
using audio device from config.cfg

Successfully retrieved local tone info at 08:25:19 on 03/05/22
tone config has changed & will now be updated
no alerts active - updating tone config at 1646490319.2216818
{2: 'Microsoft Sound Mapper - Output', 4: 'Digital Audio (S/PDIF) (High De'}
Microsoft Sound Mapper - Output
279.6585365853659 100 1646490467.9283822
419.4878048780488 102 1646490557.651888
290.4146341463415 817 1646491437.9767182
311.9268292682927 103 1646491480.5237513
419.4878048780488 99 1646491899.214095
371.0853658536585 100 1646491945.2840557
301.1707317073171 121 1646492572.9635236
371.0853658536585 137 1646492573.1480882
1037.9634146341464 138 1646492573.3484251
532.4268292682926 192 1646492573.5330327
484.0243902439024 194 1646492582.619824
484.0243902439024 203 1646492582.8040264
537.8048780487804 116 1646492582.9885979
1312.2439024390244 147 1646492729.934557
962.670731707317 156 1646492730.1186733
1602.658536585366 110 1646492730.2972963
1253.0853658536585 141 1646492730.4818633
516.2926829268292 148 1646492730.6816902
661.5 158 1646492730.8663905
1398.2926829268292 132 1646492731.0509582
1193.9268292682927 139 1646492731.2361689
1403.6707317073171 123 1646492731.4212925
1392.9146341463415 116 1646492731.599848
548.560975609756 167 1646492733.0865026
527.0487804878048 174 1646492733.286776
650.7439024390244 177 1646492733.4709961
596.9634146341464 156 1646492733.63952
263.5243902439024 205 1646492736.2551045
Successfully retrieved local tone info at 09:25:19 on 03/05/22
tone config is unchanged
Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.py", line 926, in _bootstrap_inner
  File "threading.py", line 870, in run
  File "pystray\_base.py", line 186, in setup_handler
  File "TwoToneDetect73j.py", line 2542, in setup
  File "TwoToneDetect73j.py", line 2464, in start
  File "TwoToneDetect73j.py", line 140, in delete_old_files
PermissionError: [WinError 5] Access is denied: './logfiles\\heartbeat (2021_03_12 20_09_39 UTC).log'
 

WebsterEMA

Member
Joined
Sep 15, 2017
Messages
36
I had a setup that was working for the most part. But due to the way Windows Home does updates and encourages signing in with a Microsoft account all the time, it was causing the system to not work after regular restarts. So, I fresh installed Windows with a Professional license, now the system is Windows 10 Pro. But I'm not able to get it to work regularly.

If I'm sitting there watching the system, and have my dispatch do a test page, it's all good. But when I leave, and I assume the computer / program does things, it stops working. I come back to the computer and TwoTone is frozen. The blue Audio Level bar isn't moving, and if I hit anything like Edit Tone or Edit Config it just says loading. I ran the debug version and I've included the Command Prompt info.

I have the power settings set so that it does not go to sleep or hibernate. Windows Edge is my default browser, but I was having the issue when I was using Chrome as the default browser too. I had 73g in the previous setup, and tried it on the new system. I then downloaded l, then now j. Any help would be appreciated. I've used this for years with only occasional problems, and on multiple systems. Whatever I'm missing HAS to be something simple I've dealt with before. Or else Windows and TwoTone are conspiring to just mess with me and make me look like an idiot to my organization lol

Thank you for any help anyone can give.

Code:
STARTING IMPORTS
DONE IMPORTING
Version: TwoToneDetect73j_debug
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil      55. 34.101 / 55. 34.101
libavcodec     57. 64.101 / 57. 64.101
libavformat    57. 56.101 / 57. 56.101
libavdevice    57.  1.100 / 57.  1.100
libavfilter     6. 65.100 /  6. 65.100
libswscale      4.  2.100 /  4.  2.100
libswresample   2.  3.100 /  2.  3.100
libpostproc    54.  1.100 / 54.  1.100
FFMPEG FOUND
using audio device from config.cfg

Successfully retrieved local tone info at 08:25:19 on 03/05/22
tone config has changed & will now be updated
no alerts active - updating tone config at 1646490319.2216818
{2: 'Microsoft Sound Mapper - Output', 4: 'Digital Audio (S/PDIF) (High De'}
Microsoft Sound Mapper - Output
279.6585365853659 100 1646490467.9283822
419.4878048780488 102 1646490557.651888
290.4146341463415 817 1646491437.9767182
311.9268292682927 103 1646491480.5237513
419.4878048780488 99 1646491899.214095
371.0853658536585 100 1646491945.2840557
301.1707317073171 121 1646492572.9635236
371.0853658536585 137 1646492573.1480882
1037.9634146341464 138 1646492573.3484251
532.4268292682926 192 1646492573.5330327
484.0243902439024 194 1646492582.619824
484.0243902439024 203 1646492582.8040264
537.8048780487804 116 1646492582.9885979
1312.2439024390244 147 1646492729.934557
962.670731707317 156 1646492730.1186733
1602.658536585366 110 1646492730.2972963
1253.0853658536585 141 1646492730.4818633
516.2926829268292 148 1646492730.6816902
661.5 158 1646492730.8663905
1398.2926829268292 132 1646492731.0509582
1193.9268292682927 139 1646492731.2361689
1403.6707317073171 123 1646492731.4212925
1392.9146341463415 116 1646492731.599848
548.560975609756 167 1646492733.0865026
527.0487804878048 174 1646492733.286776
650.7439024390244 177 1646492733.4709961
596.9634146341464 156 1646492733.63952
263.5243902439024 205 1646492736.2551045
Successfully retrieved local tone info at 09:25:19 on 03/05/22
tone config is unchanged
Exception in thread Thread-1:
Traceback (most recent call last):
  File "threading.py", line 926, in _bootstrap_inner
  File "threading.py", line 870, in run
  File "pystray\_base.py", line 186, in setup_handler
  File "TwoToneDetect73j.py", line 2542, in setup
  File "TwoToneDetect73j.py", line 2464, in start
  File "TwoToneDetect73j.py", line 140, in delete_old_files
PermissionError: [WinError 5] Access is denied: './logfiles\\heartbeat (2021_03_12 20_09_39 UTC).log'


I forgot to mention that I also can't seem to get it to start with Windows. I have the shortcut in my startup folder, and most of the time it just doesn't run. If I use that shortcut to manually start it, it's fine.
 
Top