<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font style="" face="Tahoma,sans-serif" color="#000000">Greg,<br><br> Please try the attached script. I hacked it up a bit. You can rename the current file to tts_audio.sh.old and then put this in as tts_audio.sh and make it executable.<br><br>I don't think voicerss needs small file sizes like google did and that code was still in there.<br id="FontBreak"></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="stopSpelling">To: kb1ncj@gmail.com<br>Date: Sun, 24 Jul 2016 11:37:36 -0400<br>Subject: Re: [arm-allstar] tts help<br>From: arm-allstar@hamvoip.org<br>CC: doug@crompton.com; arm-allstar@hamvoip.org<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr"><font style="" face="Tahoma,sans-serif" color="#000000">First of all the SD card size has nothing to do with it. It looks like you are might be exceeding the /tmp filesize. This might be OK to a degree but the ram is 1 GB and other things including the system reside there.<br><br>When you get into this problem do an ls -ls /tmp or the same on a directory in /tmp. You could also use du on /tmp.<br><br>Something is not getting cleaned up or the filesize that is being created exceeds the available size. I suspect when Chris wrote the tts script it was not intended for extremely large files but rather shorter conversions. While it could be written to the SD card instead of /tmp in the long run that would not be a good idea. You could change all references to /tmp/... in the script to /root/... and see what happens. I would not leave it that way though.<br></font><br><b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br></font><font style="font-size:16pt;" size="4">http://www.crompton.com/hamradio</font></b><font style="font-size:16pt;" size="4"><br></font><br><br><div><hr id="ecxstopSpelling">Subject: Re: [arm-allstar] tts help<br>To: doug@crompton.com<br>From: kb1ncj@gmail.com<br>Date: Sun, 24 Jul 2016 11:14:18 -0400<br><br>
<div class="ecxmoz-cite-prefix">This is tough.. looking through the
script. I tested some urls manually with content duplicating the
curl option in the script. It works to download an mp3. I am
confused with the "\"'s in the url in the script. The webpage
seems to want those to go away.. I download the file if I remove
most of them and if I don't it sees \ as part of the api key and
rejects. I assume those are stripped by curl? I wish this was
broken or fixed but with it working "sometimes" I am stumped..<br>
Also it was not the issue, the tmp file.. I rebooted and thought
it was fixed but the .ul was not generated.. The tts_audio.sh with
a text file still outputs the error I reported. <br>
<br>
root@bbb-allstar ~]# df -h<br>
Filesystem Size Used Avail Use% Mounted on<br>
/dev/root 7.2G 1.4G 5.5G 20% /<br>
devtmpfs 236M 0 236M 0% /dev<br>
tmpfs 248M 0 248M 0% /dev/shm<br>
tmpfs 248M 4.3M 244M 2% /run<br>
tmpfs 248M 0 248M 0% /sys/fs/cgroup<br>
tmpfs 248M 404K 248M 1% /tmp<br>
tmpfs 50M 252K 50M 1% /var/log<br>
tmpfs 50M 0 50M 0% /run/user/0<br>
<br>
<br>
<br>
On 07/24/2016 10:28 AM, Doug Crompton wrote:<br>
</div>
<blockquote cite="mid:BLU171-W115D4F8D044614D84597114BA0C0@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr"><font style="" face="Tahoma,sans-serif" color="#000000">Greg,<br>
<br>
I cannot imagine why that would be happening other than
running out of space. The /tmp directory is a tmpfile system
and stored in ramdisk. Look at it more closely and see if
something like that is happening. Are there any stale files in
there growing in size? Either it is that or you have bad ram.
I have never seen or had either reported.<br id="ecxFontBreak">
</font><br>
<b><font style="font-size:16pt;" size="4">73 Doug</font><font style="font-size:16pt;" size="4"><br>
</font><font style="font-size:16pt;" size="4">WA3DSP</font><font style="font-size:16pt;" size="4"><br>
</font><font style="font-size:16pt;" size="4"><a class="ecxmoz-txt-link-freetext" href="http://www.crompton.com/hamradio" target="_blank">http://www.crompton.com/hamradio</a></font></b><font style="font-size:16pt;" size="4"><br>
</font><br>
<br>
<div>> Subject: Re: [arm-allstar] tts help<br>
> To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:doug@crompton.com">doug@crompton.com</a><br>
> CC: <a class="ecxmoz-txt-link-abbreviated" href="mailto:arm-allstar@hamvoip.org">arm-allstar@hamvoip.org</a><br>
> From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:kb1ncj@gmail.com">kb1ncj@gmail.com</a><br>
> Date: Sun, 24 Jul 2016 10:19:04 -0400<br>
> <br>
> The error appears to be an issue with writing to the /tmp
directory <br>
> after a while. I switched to paid account on voicerss.org
and nothing <br>
> changed. A reboot fixes. I wonder if there is a way to
fix besides reboots?<br>
> <br>
> Thanks<br>
> Greg<br>
> <br>
</div>
</div>
</blockquote>
<br>
<br></div> </div>
<br>_______________________________________________
arm-allstar mailing list
arm-allstar@hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB and RPi2 web page - http://hamvoip.org</div> </div></body>
</html>