Re: [translate-pootle] Pootle 1.2.0 fail building rpm
Yes sure: python -V Python 2.4.2 rpmbuild --version RPM versión 4.3.3 Regards Normando F Wolff escribió: > On Ma, 2008-10-20 at 23:33 -0200, Normando Hall wrote: > >> Hi Friedel >> >> I have building under "SME Server", based on Centos 4, similar to >> rhel4. >> >> regards >> Normando >> > > Thanks Normando > > I was able to check that we got this problem on an Ubuntu build machine > with Python 2.5.2 and RPM version 4.4.2.1, which is what initiated the > change. Can you perhaps give the versions of these pieces of software? > > Python --version > rpmbuild --version > > Keep well > Friedel > -- > Recently on my blog: > http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Translate-pootle mailing list > Translate-pootle@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/translate-pootle > > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Pootle 1.2.0 fail building rpm
On Ma, 2008-10-20 at 23:33 -0200, Normando Hall wrote: > Hi Friedel > > I have building under "SME Server", based on Centos 4, similar to > rhel4. > > regards > Normando Thanks Normando I was able to check that we got this problem on an Ubuntu build machine with Python 2.5.2 and RPM version 4.4.2.1, which is what initiated the change. Can you perhaps give the versions of these pieces of software? Python --version rpmbuild --version Keep well Friedel -- Recently on my blog: http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Pootle 1.2.0 fail building rpm
Hi Friedel I have building under "SME Server", based on Centos 4, similar to rhel4. regards Normando F Wolff escribió: > On Sa, 2008-10-18 at 18:05 -0300, Normando Hall wrote: > >> Running the command >> >> ./pootlesetup.py bdist_rpm >> >> give me this error: >> >> + python setup.py build >> python: can't open file 'setup.py': [Errno 2] No such file or directory >> >> >> I have Pootle 1.1.0 and build ok, so I compared between the two >> pootlesetup.py file (1.1.0 and 1.2.0) and give me this diff: >> >> 203a204 >> > pootlefiles.append(listfiles(join('Pootle', 'html', 'js', 'jquery'))) >> 245a247,249 >> > print >>file, "prune virtaal" >> > print >>file, "prune spelt" >> > print >>file, "prune corpuscatcher" >> 290c294 >> < fix_bdist_rpm(os.path.basename(__file__)) >> --- >> > #fix_bdist_rpm(os.path.basename(__file__)) >> 328c332 >> < author="David Fraser, translate.org.za", >> --- >> > author="Translate.org.za", >> 330,331c334,335 >> < url="http://translate.sourceforge.net/";, >> < >> download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=97082";, >> --- >> > url="http://translate.sourceforge.net/wiki/pootle/index";, >> > >> download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=144807";, >> >> >> So, I uncomment the line: >> >> from >> #fix_bdist_rpm(os.path.basename(__file__)) >> >> to >> fix_bdist_rpm(os.path.basename(__file__)) >> >> >> and now compile ok. >> >> Is this correct? >> >> regards >> Normando >> > > Hallo Normando > > It seems right (especially if it works for you), but I'll want to check > why this is commented. The machine we used for building is not available > at the moment, and I'd want to check it there in the clean environment > we used for building. There was obviously some reason, but I can't > recall right now what it was. Somewhere "pootlesetup.py" was being > replaced with "pootlepootlesetup.py", but I can't remember exactly what > the issue was. > > By the way, on what platform are you doing this? > > I'll try to get back to you. > > Keep well > Friedel > -- > Recently on my blog: > http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Translate-pootle mailing list > Translate-pootle@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/translate-pootle > > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
Re: [translate-pootle] Pootle 1.2.0 fail building rpm
On Sa, 2008-10-18 at 18:05 -0300, Normando Hall wrote: > Running the command > > ./pootlesetup.py bdist_rpm > > give me this error: > > + python setup.py build > python: can't open file 'setup.py': [Errno 2] No such file or directory > > > I have Pootle 1.1.0 and build ok, so I compared between the two > pootlesetup.py file (1.1.0 and 1.2.0) and give me this diff: > > 203a204 > > pootlefiles.append(listfiles(join('Pootle', 'html', 'js', 'jquery'))) > 245a247,249 > > print >>file, "prune virtaal" > > print >>file, "prune spelt" > > print >>file, "prune corpuscatcher" > 290c294 > < fix_bdist_rpm(os.path.basename(__file__)) > --- > > #fix_bdist_rpm(os.path.basename(__file__)) > 328c332 > < author="David Fraser, translate.org.za", > --- > > author="Translate.org.za", > 330,331c334,335 > < url="http://translate.sourceforge.net/";, > < > download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=97082";, > --- > > url="http://translate.sourceforge.net/wiki/pootle/index";, > > > download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=144807";, > > > So, I uncomment the line: > > from > #fix_bdist_rpm(os.path.basename(__file__)) > > to > fix_bdist_rpm(os.path.basename(__file__)) > > > and now compile ok. > > Is this correct? > > regards > Normando Hallo Normando It seems right (especially if it works for you), but I'll want to check why this is commented. The machine we used for building is not available at the moment, and I'd want to check it there in the clean environment we used for building. There was obviously some reason, but I can't recall right now what it was. Somewhere "pootlesetup.py" was being replaced with "pootlepootlesetup.py", but I can't remember exactly what the issue was. By the way, on what platform are you doing this? I'll try to get back to you. Keep well Friedel -- Recently on my blog: http://translate.org.za/blogs/friedel/en/content/autocompletion-during-translation - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle
[translate-pootle] Pootle 1.2.0 fail building rpm
Running the command ./pootlesetup.py bdist_rpm give me this error: + python setup.py build python: can't open file 'setup.py': [Errno 2] No such file or directory I have Pootle 1.1.0 and build ok, so I compared between the two pootlesetup.py file (1.1.0 and 1.2.0) and give me this diff: 203a204 > pootlefiles.append(listfiles(join('Pootle', 'html', 'js', 'jquery'))) 245a247,249 > print >>file, "prune virtaal" > print >>file, "prune spelt" > print >>file, "prune corpuscatcher" 290c294 < fix_bdist_rpm(os.path.basename(__file__)) --- > #fix_bdist_rpm(os.path.basename(__file__)) 328c332 < author="David Fraser, translate.org.za", --- > author="Translate.org.za", 330,331c334,335 < url="http://translate.sourceforge.net/";, < download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=97082";, --- > url="http://translate.sourceforge.net/wiki/pootle/index";, > download_url="http://sourceforge.net/project/showfiles.php?group_id=91920&package_id=144807";, So, I uncomment the line: from #fix_bdist_rpm(os.path.basename(__file__)) to fix_bdist_rpm(os.path.basename(__file__)) and now compile ok. Is this correct? regards Normando - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle