TwoToneDetect New TwoToneDetect in the works - Python based

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
Ok so 25 answers. Turn off SSL and STARTTLS and try sending on just port 25.
Waiting for Silence Nowco 19:50:14 on 01/16/18
Done recording Nowco 19:50:17 on 01/16/18
done writing WAV Nowco 19:50:17 on 01/16/18
ffmpeg version N-89674-g57d0c24132 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 8.100 / 7. 8.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from './audio/Nowco_2018_01_16_19_49_46.wav':
Duration: 00:00:30.65, bitrate: 176 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 11025 Hz, mono, s16, 176 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
Output #0, mp3, to './audio/Nowco_2018_01_16_19_49_46.mp3':
Metadata:
TSSE : Lavf58.3.100
Stream #0:0: Audio: mp3 (libmp3lame), 11025 Hz, mono, s16p, 96 kb/s
Metadata:
encoder : Lavc58.9.100 libmp3lame
size= 241kB time=00:00:30.67 bitrate= 64.4kbits/s speed= 102x
video:0kB audio:240kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.272162%
done converting to MP3 Nowco 19:50:18 on 01/16/18
ffmpeg version N-89674-g57d0c24132 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 56. 7.100 / 56. 7.100
libavcodec 58. 9.100 / 58. 9.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 8.100 / 7. 8.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from './audio/Nowco_2018_01_16_19_49_46.wav':
Duration: 00:00:30.65, bitrate: 176 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 11025 Hz, mono, s16, 176 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le (native) -> amr_nb (libopencore_amrnb))
Press [q] to stop, [?] for help
Output #0, amr, to './audio/Nowco_2018_01_16_19_49_46.amr':
Metadata:
encoder : Lavf58.3.100
Stream #0:0: Audio: amr_nb (libopencore_amrnb), 8000 Hz, mono, s16, 10 kb/s
Metadata:
encoder : Lavc58.9.100 libopencore_amrnb
size= 40kB time=00:00:30.65 bitrate= 10.8kbits/s speed=48.4x
video:0kB audio:40kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.014496%
done converting to AMR Nowco 19:50:19 on 01/16/18
setting mail server up
Traceback (most recent call last):
File "TTD70.py", line 72, in mail
File "smtplib.py", line 256, in __init__
gaierror: [Errno 11001] getaddrinfo failed
Email not sent via smtp.nowcofire.org on port 25 using none on attempt 1 trying again in five seconds for Nowco Page Received at 19:49:46 on 01/16/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.nowcofire.org on port 25 using none on attempt 2 trying again in five seconds for Nowco Page Received at 19:49:46 on 01/16/18
Traceback (most recent call last):
File "TTD70.py", line 46, in mail
ValueError: list.remove(x): x not in list
Email not sent via smtp.nowcofire.org on port 25 using none on attempt 3 trying again in five seconds for Nowco Page Received at 19:49:46 on 01/16/18
max retries exceeded, failed to send email
 

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
I wonder if it's possible the mail server isn't answering fast enough so 5 seconds timeout is too fast.
I'm not sure about that, and I don't know if it matters but I can send emails through this isp on outlook and ios mail using the same smtp server settings.
 

jhsands

Member
Feed Provider
Joined
Sep 6, 2006
Messages
510
Location
Texarkana, Arkansas
Login/Password issue? Maybe it doesn't see TTD as a proper mail client.

telnet smtp.nowcofire.org 587 shows the mail.hostingplatform.com banner, so SMTP is *not* being intercepted by your ISP.

make sure your password is encoded:

[Section1]
email_user = ttd@ttd.example.org
email_pwd = dHgvdJ9uXTI= ;
email_server = do.example.com
email_port = 587
email_security = STARTTLS
email_authentication = 1
 

DC31

Member
Feed Provider
Joined
Feb 19, 2011
Messages
1,547
Location
Massachusetts
Code:
ValueError: list.remove(x): x not in list

Do you have an email in your exclude list but the e-mail is not in a to list?

NOwCo,

After making changes in the Configuration window are you clicking on Save and exit, and then exiting TTD using the exit button and restarting TTD?

The configuration changes are only loaded on a restart of the program. And they are only saved if the exit buttons are used, not the X in the corner of the window.
 
Last edited:

webstar22

RenfrewCountyScanner.com
Feed Provider
Joined
Dec 21, 2003
Messages
1,006
Location
Ontario, Canada
NOwCo,

After making changes in the Configuration window are you clicking on Save and exit, and then exiting TTD using the exit button and restarting TTD?

The configuration changes are only loaded on a restart of the program. And they are only saved if the exit buttons are used, not the X in the corner of the window.


Yep I made that mistake before.
 

Nowco21

Member
Joined
Nov 20, 2015
Messages
14
Location
Judsonia, AR
Yep I made that mistake before.
There are not any emails in the excluded list.
And I save and exit then exit and reopen TTD before re trying the page.
And the config file shows the correct information.
I have the same problem on two different computers running TTD70 so this is not isolated to this machine, but I just can't figure this out.
 

ajalbarano

Member
Joined
Sep 26, 2009
Messages
63
Location
Duncansville, PA
Andy, DC31, jhsands, anyone else that can help. Can you please explain this to me and tell me if it makes sense as the problem?

Here's my theory:

Your error mentioned a pushbullet library called pushbullet.py, I searched on github and found this file: https://github.com/randomchars/push...189749cb4780451438b8/pushbullet/pushbullet.py

This library loads channels for the current user and then returns an error "No channel found with channel_tag" when the channel is not found. However I don't see anywhere in the code where it handles multiple pages of results which means this will break if you have more than 20 channels. Whoever wrote that code can fix it or you can have fewer than 20 channels (maybe spread more than that across multiple accounts? but then you'd probably want pro on each one which is lame).

The pushbullet.py code does have some that handles pages, but it looks like it only is used for pushes.

-Chris
Co-Founder, Pushbullet



Sent from my iPhone using Tapatalk
 
Last edited:

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,300
Hey aaknitt

Is there a way to edit what text and link are sent to push bullet. Find on my S7 Android that I can't always download the file from pushbullet so I would like to include a link to the file I have FTP uploaded.

Not currently. In a future release I plan to add this so that the email body and push notification body will all be the same.

Andy
 

aaknitt

Member
Feed Provider
Joined
Aug 27, 2005
Messages
1,300
Verizon Ad

I'm not much of a social media poster, but Verizon's Superbowl ad prompted me to post this:

@Verizon Superbowl ad says it's their job to make sure first responders get the call, yet they're the one carrier that routinely blocks messages from TwoToneDetect, a program designed to do exactly that.

Feel free to do likewise ;)

Andy
 

Westernbound

Member
Joined
Aug 11, 2014
Messages
35
Location
Dickens TX
I'm still having trouble getting v69a to run. I put it on my live machine and when I try to start the program I have to try 3 or 4 times before the program runs. It does not run on every execution of the program file. I went into doss and ran the debug version 5 times in a row and it worked all 5 times. I went back to my TTD program folder and tried to run v69a 3 times in a row and it did not open on those 3 tries. I went to my v68 folder and tried v68 and it opened first try. Went to my v69 folder and ran v69 and it opened first try. Went back again to my v69a folder and tried 3 times and it did not open. Each version folder is in the same directory.

I tried checking the log file, but there is not a log file for the times that the program does not successfully open. Also, I had copied my config.cfg and remote.cfg from v69 to v69a so the settings are the same in both versions. I removed my config.cfg and remote.cfg and put back the program originals and v69a still does not open on every execution of the program file. Not sure why I am having this issue.

This in running on Win7 pro 32 bit. The program seems to work every time on my Win10 pro 64 bit computer that I tested it on.

Andy

I am having the same problem with V70 that I had in V69. TTD will not open on every execution of the program file. Tonight it took 3 tries on my Win7 machine for TTD to start, 5 tries on my Win10 machine. On the Win7 machine, the program dies right after the 2nd instance of TTD appears in task manager, but before it pulls my remotely hosted tones file and it does not create an entry in the log file.
Marvin
 

jhsands

Member
Feed Provider
Joined
Sep 6, 2006
Messages
510
Location
Texarkana, Arkansas
Andy

I am having the same problem with V70 that I had in V69. TTD will not open on every execution of the program file. Tonight it took 3 tries on my Win7 machine for TTD to start, 5 tries on my Win10 machine. On the Win7 machine, the program dies right after the 2nd instance of TTD appears in task manager, but before it pulls my remotely hosted tones file and it does not create an entry in the log file.
Marvin

I posted this and a lot of other goodies up the thread.

Code:
start "" /HIGH /D "C:\Users\Owner\TTD69" "C:\Users\Owner\TTD70\TTD69a.exe"
 

bmarchand

Newbie
Joined
Oct 20, 2014
Messages
8
Upgrading from 68 to 70

Good afternoon all, I tried searching the threads here and checked the FAQ and didn't find anything. I
apologize if there is something in the threads that I missed. Are there any instructions for how to perform the upgrade? I love the software and don't want to break anything in the transition.
Thanks!
Brett
 

jhsands

Member
Feed Provider
Joined
Sep 6, 2006
Messages
510
Location
Texarkana, Arkansas
Kill the program and make a backup. Make another backup just because.
Extract v70 in the directory.
Copy the cfg files from the backup to the v70 folder
Open TTD , go to edit config, save, and exit.
Open tones editor, save, and exit.
Then run TTD as normal.


Sent from my SM-G930V using Tapatalk
 
Top