[mythtv-users] ptune.pl user vs. root/mythtv
Croxon, Nigel
nigel.croxon at hp.com
Tue Aug 3 10:38:14 EDT 2004
Hello All,
I'm not sure this is/was the correct fix, but it fixed it for me.
I'm running the mythbackend as root, not as 'mythtv' user.
-Nigel
On Mon, 2004-08-02 at 08:58, Nigel Croxon wrote:
> Hello All,
>
> Question about ptune.pl
>
> When I run the program as a regular user, I get a different output and
> the channel doesn't change. When I run the program as 'root' or as
> 'mythtv' user, it works fine. Log found below.
> My issue is, as I run the mythfrontend, it doesn't change the channel
> for me.
>
> -Nigel
>
> :~$ ptune.pl 2
> Frequency: 960 15.36
> Setting msp matrix: input = 3, output = 1
> :~$ su
> Password:
> # ptune.pl 2
> Ch.2: 54000 864
> #
>
>
> :~$ sh -x ptune.pl 2
> + use strict
> /usr/bin/ptune.pl: line 5: use: command not found
> /usr/bin/ptune.pl: ptune.pl: line 7: syntax error near unexpected token
> `('
> /usr/bin/ptune.pl: ptune.pl: line 7: `use Getopt::Long qw(:config
> no_ignore_case bundling);'
>
>
>
> :~$ head /usr/bin/ptune.pl
> #!/usr/bin/perl
> #
> # $Header: /cvsroot/ivtv/ivtv/ivtv/utils/ptune.pl,v 1.12 2003/07/16
> 03:30:39 pcxuser Exp $
> #
> use strict;
>
> use Getopt::Long qw(:config no_ignore_case bundling);
> use Video::Frequencies;
> use Video::ivtv 0.12;
> use Config::IniFiles;
>
>
> ______________________________________________________________________
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
--
Nigel Croxon <nigel.croxon at hp.com>
Linux Open Source Lab
Nashua, N.H.
fingerprint = AC25 63B2 09D1 AE8F AD71 89D7 E9FD D83C 151E 5528
We should be careful to get out of an experience only the wisdom that is
in it - and stay there, lest we be like the cat that sits down on a hot
stove-lid. She will never sit down on a hot stove-lid again - and that
is well; but also she will never sit down on a cold one any more.
-- Mark Twain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040803/36e6247c/attachment.pgp
More information about the mythtv-users
mailing list