Mailing List Archive

mythconverg_backup.pl broken in 0.34-fixes
It returns the following errors:

> ./mythconverg_backup.pl: 11: use: not found
> ./mythconverg_backup.pl: 12: use: not found
> ./mythconverg_backup.pl: 15: =: not found
> ./mythconverg_backup.pl: 16: =: not found
> ./mythconverg_backup.pl: 19: Syntax error: word unexpected (expecting ")")


Is this script now deprecated or will it be updated?

Steve Greene
(301) 842-8923
historicity.co
An independent archival professional specializing in still photography,
moving images and recorded sound.
Re: mythconverg_backup.pl broken in 0.34-fixes [ In reply to ]
On 3/29/24 08:44 AM, Steve Greene wrote:
> Is this script now deprecated or will it be updated?

Steve,

I upgraded from .29 to 34 a couple month ago and I don't see any errors
when running mythconverg_backup.pl on Debian 12 from a self-compiled
version of mythtv.  The version I have is:

# Script info
   $NAME           = 'MythTV Database Backup Script';
   $VERSION        = '1.0.13';


Doug
Re: mythconverg_backup.pl broken in 0.34-fixes [ In reply to ]
> On Mar 29, 2024, at 20:44, Steve Greene <sgreene820@gmail.com> wrote:
>
> It returns the following errors:
> ./mythconverg_backup.pl: 11: use: not found
> ./mythconverg_backup.pl: 12: use: not found
> ./mythconverg_backup.pl: 15: =: not found
> ./mythconverg_backup.pl: 16: =: not found
> ./mythconverg_backup.pl: 19: Syntax error: word unexpected (expecting ")")
>
> Is this script now deprecated or will it be updated?

Steve I don’t get any errors. Once upon a time mythconverg_restore.pl left you with a working system. Now I find I have to do stuff like set ip and configure capture cards. Also my restored videos are devoid of artwork until a [scan] which restores it all.
[but the artwork-less videos do play]

James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythconverg_backup.pl broken in 0.34-fixes [ In reply to ]
On Friday 29 March 2024 05:20:11 PM (-05:00), James Linder wrote:

>
>
> > On Mar 29, 2024, at 20:44, Steve Greene <sgreene820@gmail.com> wrote:
> >
> > It returns the following errors:
> > ./mythconverg_backup.pl: 11: use: not found
> > ./mythconverg_backup.pl: 12: use: not found
> > ./mythconverg_backup.pl: 15: =: not found
> > ./mythconverg_backup.pl: 16: =: not found
> > ./mythconverg_backup.pl: 19: Syntax error: word unexpected (expecting ")")
> >
> > Is this script now deprecated or will it be updated?
>
> Steve I don’t get any errors. Once upon a time mythconverg_restore.pl left you with a working system. Now I find I have to do stuff like set ip and configure capture cards. Also my restored videos are devoid of artwork until a [scan] which restores it all.
> [but the artwork-less videos do play]
>
> James


Is the 1st line of the program: #!/usr/bin/perl -w ?
No leading spaces etc. Could be a copy/paste
issue where leading characters were included.
--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythconverg_backup.pl broken in 0.34-fixes [ In reply to ]
> On Mar 30, 2024, at 06:28, Bill Meek <keemllib@gmail.com> wrote:
>
>
>
>
> On Friday 29 March 2024 05:20:11 PM (-05:00), James Linder wrote:
>
>>
>>
>>> On Mar 29, 2024, at 20:44, Steve Greene <sgreene820@gmail.com> wrote:
>>>
>>> It returns the following errors:
>>> ./mythconverg_backup.pl: 11: use: not found
>>> ./mythconverg_backup.pl: 12: use: not found
>>> ./mythconverg_backup.pl: 15: =: not found
>>> ./mythconverg_backup.pl: 16: =: not found
>>> ./mythconverg_backup.pl: 19: Syntax error: word unexpected (expecting ")")
>>>
>>> Is this script now deprecated or will it be updated?
>>
>> Steve I don’t get any errors. Once upon a time mythconverg_restore.pl left you with a working system. Now I find I have to do stuff like set ip and configure capture cards. Also my restored videos are devoid of artwork until a [scan] which restores it all.
>> [but the artwork-less videos do play]
>>
>> James
>
>
> Is the 1st line of the program: #!/usr/bin/perl -w ?
> No leading spaces etc. Could be a copy/paste
> issue where leading characters were included.

Bill
I build from src, so I just moved the git-downloads to /usr/local/bin

So yup, hash-bang is correct.

[sandypit] /home/jam [502]% mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v34.0+fixes.202403232351.7d560c1949~ubuntu22.04.1
MythTV Branch : fixes/34
Network Protocol : 91
Library API : 34.20220913-1
QT Version : 5.15.3
Options compiled in:

James

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: mythconverg_backup.pl broken in 0.34-fixes [ In reply to ]
On Friday 29 March 2024 05:45:55 PM (-05:00), James Linder wrote:

>
>
> > On Mar 30, 2024, at 06:28, Bill Meek <keemllib@gmail.com> wrote:
> >
> >
> >
> >
> > On Friday 29 March 2024 05:20:11 PM (-05:00), James Linder wrote:
> >
> >>
> >>
> >>> On Mar 29, 2024, at 20:44, Steve Greene <sgreene820@gmail.com> wrote:
> >>>
> >>> It returns the following errors:
> >>> ./mythconverg_backup.pl: 11: use: not found
> >>> ./mythconverg_backup.pl: 12: use: not found
> >>> ./mythconverg_backup.pl: 15: =: not found
> >>> ./mythconverg_backup.pl: 16: =: not found
> >>> ./mythconverg_backup.pl: 19: Syntax error: word unexpected (expecting ")")
> >>>
> >>> Is this script now deprecated or will it be updated?
> >>
> >> Steve I don’t get any errors. Once upon a time mythconverg_restore.pl left you with a working system. Now I find I have to do stuff like set ip and configure capture cards. Also my restored videos are devoid of artwork until a [scan] which restores it all.
> >> [but the artwork-less videos do play]
> >>
> >> James
> >
> >
> > Is the 1st line of the program: #!/usr/bin/perl -w ?
> > No leading spaces etc. Could be a copy/paste
> > issue where leading characters were included.
>
> Bill
> I build from src, so I just moved the git-downloads to /usr/local/bin
>
> So yup, hash-bang is correct.
>
> [sandypit] /home/jam [502]% mythbackend --version
> Please attach all output as a file in bug reports.
> MythTV Version : v34.0+fixes.202403232351.7d560c1949~ubuntu22.04.1
> MythTV Branch : fixes/34
> Network Protocol : 91
> Library API : 34.20220913-1
> QT Version : 5.15.3
> Options compiled in:
>
> James

OK, then you probably saw it was last modified in 2017. git log programs/scripts/database/mythconverg_backup.pl

Another copy? Try: type mythconverg_backup.pl or maybe locate mythconverg_backup.pl
or perl --version

The output is exactly what happens when it executes as a shell script.
--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org