Re: [RDD] Running shell commands via RML

2017-04-25 Thread Kit Raymond Haskins

sudo usermod -a -G dialout $USER

I had to do this with serial access issues with programs like minicom ...

Might it work here ???

---
Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .
k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...
Hey Rob,

This is a long shot, but is SELinux or AppArmor enabled on that box.
Neither of these security tools is enabled by default on Debian 8, but...

Also, since Debian 8 is now initialized with systemd(8), this is also a
possible detail that the devil has taken control of...

It's quite weird that 'scott' can write /dev/ttyUSB0, but 'scott' can't. :)

  ~David


On 4/25/17 7:38 AM, Rob Landry wrote:
> On Mon, 24 Apr 2017, Sherrod Munday wrote:
> 
>> One idea is that you could add a script line that simply executes a
>> 'who am i' (or 'whoami' depending on your OS) command and redirect the
>> output to a world-writeable directory (or pre-created and 'chmod 777'd
>> file).
> 
> I did that, and it's running as 'scott'. Weird; the script run from the
> command line (also as 'scott') fires the relays, but not from Rivendell
> unless the permissions for /dev/ttyUSB0 are set to 777.
> 
> I have decided to throw in the towel and set up a udev rule so the
> KMTronic box always comes up with 777 permissions. Now the relays fire,
> and everybody will be happy.
> 
> This must be some sort of quick in Debian 8; the last time I used a
> KMTronic box it was under Debian 7.
> 
> 
> Rob
> 
> 
> 
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> 



signature.asc
Description: OpenPGP digital signature
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] /tmp files not getting deleted with 2.15.3...

2017-04-11 Thread Kit Raymond Haskins

Fred,

Wow better support here then with NexGen or Wide Orbit ...  Very much 
appreciate all that you do.


-Kit

---
Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .
k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...


Thank you.  Fixed in Git ?stable?.

Cheers!


|--|
| Frederick F. Gleason, Jr. |  Chief Developer |
|   |  Paravel Systems |
|--|
| A room without books is like a body without a soul. |
| -- Cicero |
|--|



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] /tmp files not getting deleted with 2.15.3...

2017-04-09 Thread Kit Raymond Haskins
I just tried it with Centos 6.8 and Rivendell 2.15.3 with rdimport with 
mp3's and with wav's ...


In my case I did:
rdimport --verbose MUSIC *.wav (or even *.mp3)

I've noticed the /tmp directory is still populated with the files after 
the task is completed.  I did this with the rdimport approach as I 
populated the library from files from other Rivendell installs I have, and 
not with a CD via the rip route ...


I hope this helps provide more information for those troubleshooting this 
undocumented "feature"  :)


---
Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .
k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...

On Fri, 7 Apr 2017, Tim Elwell wrote:

One last thing, someone commented earlier they didn't notice it with 
rdimport. I haven't tried it with rdimport, but might give that a shot to see 
if it narrows down where this may lie. All mine rips have been done with 
RDLibrary and the CD Ripper in there.


Tim


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Bug in rdairplay? No.

2017-02-27 Thread Kit Raymond Haskins

Centos 6.5 with the latest "yum upgrade"
2.6.32-642.13.1.el6.x86_64

Rivendell 2.10.0 & hpklinux 3.08.05

Is my combo, when I went above 2.10.0 I also found problems with compiling 
the HPK library.  I realize the HPK version I am using is not the latest 
and greatest.  I also noticed after 2.5.1 Rivendell my Now & Next doesn't 
work with the UDP connection to my RDS encoder.


I'm sure I've overlooked something while searching the discussion groups 
for solutions, these versions are where I've found stopping points until I 
could further research my compiling issues, a "to-do" project coming later 
this summer when time allows ...


--Kit


By the way, the latest ASI HPI driver (4.18.3, I think) doesn't compile 
on 

Centos 6; it needs at least a 3.2 kernel.

I'm running 4.10.15, which I copied from a machine I built two or three years 
ago and recompiled; but does anyone know which is the latest driver that will 
run on a 2.6 kernel?


Thanks,


Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.

On Sun, 26 Feb 2017, David Klann wrote:


Hi Rob,

I regularly see those "Database connection" events in rdimport.log files
(nearly every time a new file appears in a dropbox directory). This is
on Debian 8 (Jessie) running the Tryphon-packaged Rivendell version 2.10.3.

I also see similar messages from rdairplay on version 2.10.3 as well,
but not nearly as often. Most frequently near midnight when the next
day's log is loaded (with an explicit LL macro call, not a "chain to").

I had chalked it up to a bug in version 2.10.3, so it's interesting to
know that you're experiencing it on a more recent version and on a
different Linux distribution.

 ~David


On 02/26/2017 10:04 PM, Rob Landry wrote:


I've just installed RD 2.15.2 (compiled from source) on a new PC running
CentOS 6 (64-bit).

When I start rdairplay and go to load a log, the name of the log appears
under Main Log at the bottom of the screen, as it should, but the log
never loads, and no events appear on the left or right half of the
rdairplay screen.

rdairplay.log (I always set Rivendell to maintain separate log files)
shows:

26/02/2017 - 22:42:22.609 : Database connection failed : select
`bs_LOG`.ID,`bs_LOG`.CART_NUMBER,`bs_LOG`.START_TIME,`bs_LOG`.TIME_TYPE,`bs_LOG`.TRANS_TYPE,`bs_LOG`.START_POINT,`bs_LOG`.END_POINT,`bs_LOG`.SEGUE_START_POINT,`bs_LOG`.SEGUE_END_POINT,CART.TYPE,CART.GROUP_NAME,CART.TITLE,CART.ARTIST,CART.ALBUM,CART.YEAR,CART.LABEL,CART.CLIENT,CART.AGENCY,CART.USER_DEFINED,CART.CONDUCTOR,CART.SONG_ID,CART.FORCED_LENGTH,CART.CUT_QUANTITY,CART.LAST_CUT_PLAYED,CART.PLAY_ORDER,CART.ENFORCE_LENGTH,CART.PRESERVE_PITCH
,`bs_LOG`.TYPE,`bs_LOG`.COMMENT,`bs_LOG`.LABEL,`bs_LOG`.GRACE_TIME,`bs_LOG`.POST_POINT,`bs_LOG`.SOURCE,`bs_LOG`.EXT_START_TIME,`bs_LOG`.EXT_LENGTH,`bs_LOG`.EXT_DATA,`bs_LOG`.EXT_EVENT_ID,`bs_LOG`.EXT_ANNC_TYPE,`bs_LOG`.EXT_CART_NAME,CART.ASYNCRONOUS,`bs_LOG`.FADEUP_POINT,`bs_LOG`.FADEUP_GAIN,`bs_LOG`.FADEDOWN_POINT,`bs_LOG`.FADEDOWN_GAIN,`bs_LOG`.SEGUE_GAIN,CART.PUBLISHER,CART.COMPOSER,CART.USAGE_CODE,CART.AVERAGE_SEGUE_LENGTH,`bs_LOG`.LINK_EVENT_NAME,`bs_LOG`.LINK_START_TIME,`bs_LOG`.LINK_LENGTH,`bs_LOG`.LINK_ID,
`bs_LOG`.LINK_EMBEDDED,`bs_LOG`.ORIGIN_USER,`bs_LOG`.ORIGIN_DATETIME,CART.VALIDITY,
`bs_LOG`.LINK_START_SLOP,`bs_LOG`.LINK_END_SLOP,
`bs_LOG`.DUCK_UP_GAIN,`bs_LOG`.DUCK_DOWN_GAIN,CART.START_DATETIME,CART.END_DATETIME,`bs_LOG`.EVENT_LENGTH,CART.USE_EVENT_LENGTH,CART.NOTES
from `bs_LOG` left join CART on `bs_LOG`.CART_NUMBER=CART.NUMBER order
by COUNT
26/02/2017 - 22:42:22.610 : Database connection restored.

I've never seen this behavior in rdairplay before. Why would the
database connection fail and then come back .02 seconds later?

Weird,  huh?


Rob



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDXport error

2017-02-22 Thread Kit Raymond Haskins

Much the same with the SElinux people.



amen ...
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDXport error

2017-02-22 Thread Kit Raymond Haskins

I understood the setup was for the placement of the cgi scripts as
./configure --libexecdir=/var/www/html

/var/snd is where the .wav files live ...
/var/www/html is where the cgi files live ..


The only other similar case I found so far was from 2011 when someone was
compiling Rivendell from source and forgot to set --libexecdir=/var/snd/.
Would there be something I need to correct on this? If so, how?___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDXport error

2017-02-22 Thread Kit Raymond Haskins

Tom,

I've noticed the grey out time remaining to be a side-effect with httpd 
not having permissions set up, or apache is running as a different user.


Check and see if the apache service is indeed working.  Something like
ps -eaf |grep httpd  <- should spit back some PID's for a running daemon.

Looking in the /etc/httpd/logs directory with error_log and access_log 
have shown me some error messages while the CGI file is called.  Mine 
where ExecCGI messages in which ExecCGI wasn't set-up with the options for 
the folder that rdXport.cgi lives in ...   Is rdXport.cgi doing anything 
when you go to the link with a browser directly ???


lynx http://localhost/rdxport.cgi  <-  should burp back "invalid web 
method" if you're using a web browser.  Or does this return an error 
message like "not found" or some permission error message, of which I 
can't provide an exact quote to the phrase it returns.


(Lynx is a CLI based web browser, in case you are not familar with the 
command, I'm a CLI kinda of guy and do enjoy my  VI, I'm even using Pine 
to compose this message)


--Kit Haskins



Kit, you were right - the time is greyed out at the bottom of the library.
So where should I look now?___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDXport error

2017-02-15 Thread Kit Raymond Haskins
Sorry for the add-on here.  With a partial install, might even see if the 
HTTPD server ie: apache2 is installed, running, alive:


ps -eaf |grep httpd

Again thinking here with RDXport errors, could be the apache server isn't 
playing nice in the sand box, being a possible partial install ... 
Guessing here ...


---
Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .
k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...

On Wed, 15 Feb 2017, Kit Raymond Haskins wrote:


Might I suggest a quick peek at either the

/etc/httpd/logs/error_log

 or even the

/etc/httpd/logs/access_log


And see if the "rdXport returned an error" could have some detail such as 
CGIEXEC is turned off, or maybe more specific errors in permissions of the 
rdxport.cgi file ...


Another symptom might be also be noticed is if you open up rdlibrary and look 
at the button center and observe if the "Free: " box shows a valid time left 
for storage.  Such as "3056h:41m"  or is this grey'ed out and blank ???


I've noticed this sometimes while building my boxes, also related to 
permissions as well ...


---
Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .
k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...

On Tue, 14 Feb 2017, Tom Van Gorkom wrote:


Yes, /var/snd is mounted locally.. The library populates and I can play any
of it from the server on the local machine but it does not show the audio
wave form in Edit and another symptom is that only way to configure
rdalsaconfig is from the terminal. The app in the menu only asks for the PW
and then does nothing Something must be missing still.

The problem is that this is a brand new lenovo i5 computer and the only way
to get the DVD appliance to load is to use legacy boot on the DVD but then
it will not boot off the hard drive when loaded. When I use UEFI on the DVD
it jumps past the Rivendell selection menu and doesn't seem to completely
install Rivendell but will reboot. Do you have any tricks to get the hard
drive to boot after loading it? I would much rather use the appliance
install to be sure it all is there and works.

Thanks,

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Tue, Feb 14, 2017 at 3:40 PM, Robert Jeffares 
<jeffares.rob...@gmail.com>

wrote:


Have you created a local /var/snd and exported /var/snd from the server
then mounted it locally.

You must have changed localhost in /etc/rd.conf to the address of your
server

regards


Robert

On 15/02/17 10:14, Tom Van Gorkom wrote:

Riv 2.15.2 on CentOS 6.8, client on server.

I had to download and install Rivendell from the repository because of
BIOS issues preventing the DVD appliance from working right so have had to
install  missing components for audio and codecs. It now sees the server
and plays but gives an error when I click on Edit Markers in the library:

 "Unable to download peak data, error was: 'RDXport service returned an
error'".

What might I still be missing? Now that I have formated and successfully
installed CentOS and it reboots, might it work to install Rivendell from
the DVD now?

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150 <(956)%20380-8150>
Cell: 865-803-7427 <(865)%20803-7427>

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539


___
Rivendell-dev mailing 
listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev



--
*Communication Consultants*
64 Warner Park Avenue

Laingholm

Auckland 0604

09 8176358

0221693124

06 650 6087

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] RDXport error

2017-02-15 Thread Kit Raymond Haskins

Might I suggest a quick peek at either the

/etc/httpd/logs/error_log

 or even the

/etc/httpd/logs/access_log


And see if the "rdXport returned an error" could have some detail such as 
CGIEXEC is turned off, or maybe more specific errors in permissions of the 
rdxport.cgi file ...


Another symptom might be also be noticed is if you open up rdlibrary and 
look at the button center and observe if the "Free: " box shows a valid 
time left for storage.  Such as "3056h:41m"  or is this grey'ed out and 
blank ???


I've noticed this sometimes while building my boxes, also related to 
permissions as well ...


---
Thru the Ethernet, past the Gateway, off the modem pool, nothing but NET .
k...@ka0wuc.org

When I was 10, I caught the radio bug, it appears to be over ...

On Tue, 14 Feb 2017, Tom Van Gorkom wrote:


Yes, /var/snd is mounted locally.. The library populates and I can play any
of it from the server on the local machine but it does not show the audio
wave form in Edit and another symptom is that only way to configure
rdalsaconfig is from the terminal. The app in the menu only asks for the PW
and then does nothing Something must be missing still.

The problem is that this is a brand new lenovo i5 computer and the only way
to get the DVD appliance to load is to use legacy boot on the DVD but then
it will not boot off the hard drive when loaded. When I use UEFI on the DVD
it jumps past the Rivendell selection menu and doesn't seem to completely
install Rivendell but will reboot. Do you have any tricks to get the hard
drive to boot after loading it? I would much rather use the appliance
install to be sure it all is there and works.

Thanks,

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150
Cell: 865-803-7427

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539

On Tue, Feb 14, 2017 at 3:40 PM, Robert Jeffares 
wrote:


Have you created a local /var/snd and exported /var/snd from the server
then mounted it locally.

You must have changed localhost in /etc/rd.conf to the address of your
server

regards


Robert

On 15/02/17 10:14, Tom Van Gorkom wrote:

Riv 2.15.2 on CentOS 6.8, client on server.

I had to download and install Rivendell from the repository because of
BIOS issues preventing the DVD appliance from working right so have had to
install  missing components for audio and codecs. It now sees the server
and plays but gives an error when I click on Edit Markers in the library:

 "Unable to download peak data, error was: 'RDXport service returned an
error'".

What might I still be missing? Now that I have formated and successfully
installed CentOS and it reboots, might it work to install Rivendell from
the DVD now?

Tom Van Gorkom
Radio Esperanza Engineering, KRIO AM/FM, KOIR FM
Office: 956-380-8150 <(956)%20380-8150>
Cell: 865-803-7427 <(865)%20803-7427>

Rio Grande Bible Institute
4300 S US Hwy 281
Edinburg, TX 78539


___
Rivendell-dev mailing 
listRivendell-dev@lists.rivendellaudio.orghttp://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


--
*Communication Consultants*
64 Warner Park Avenue

Laingholm

Auckland 0604

09 8176358

0221693124

06 650 6087

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev