Re: smolt script syntax errors in mythtv package

John Pilkington <[email protected]>
Newsgroups gmane.linux.redhat.rpm.atrpms.general
Message-ID <[email protected]>
On 25/09/12 11:50, Paul wrote:
> On Tue 18/09/2012 7:44 AM, Yeechang Lee wrote:
>> Paul <[email protected]> says:
>>> I've been having issues starting the frontend , when I noticed the
>>> smolt scripts doesn't have the correct bang line
>>>
>>> eg
>>> /usr/share/mythtv/hardwareprofile/sendProfile.py
>>> /usr/bin/python2.7
>>
>> I have identified the issue as within
>> atrpms-rpm-config-200-3. Specifically, I believe that the last line in
>> /usr/lib/rpm/atrpms/python_burninversion.sh, which replaces the
>> shebang line in Python scripts, is not adding #! at the start of the
>> rewritten binary path.
>>
>> Reverting to atrpms-rpm-config-189-1
>> (<URL:ftp://fr2.rpmfind.net/linux/atrpms/f15-86_64/atrpms/stable/atrpms-rpm-config-189-1.noarch.rpm>)
>>
>> resulted in correct python script handling. Presumably, 200-3 is
>> installed on Axel's buildslaves and is the cause of the flawed RPMs
>> the ATrpms repo is currently distributing.
>>
>
> YeeChang,
>   I didn't have this "atrpms-rpm-config" package installed on my box and
> F17 doesn't have an older version so I installed
> atrpms-rpm-config-200-3.noarch
>
> I tried a re-install of " python-MythTV-0.25.2-287.fc17.i686" but looks
> the same.
>
> Paul
>

If you think you have a problem with a python script, and you think you 
know what it is, you ought to be able to edit the script and try your 
new version.  No rebuild needed.  Of course it would be nice if Axel 
could do it, but I get the impression he needs to do other things.

Cheers,

John P
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.