Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [EXTERNAL] Re: error encountered running run.py
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2014-10-31 14:18:18


On 10/31/14 10:55, Belcourt, Kenneth wrote:
> On Oct 31, 2014, at 11:52 AM, Aparna Kumta<aparna.kumta_at_[hidden]> wrote:
>
>> On 10/31/14 10:49, Belcourt, Kenneth wrote:
>>> On Oct 31, 2014, at 11:31 AM, Aparna Kumta<aparna.kumta_at_[hidden]> wrote:
>>>
>>>> On 10/31/14 10:04, Belcourt, Kenneth wrote:
>>>>> On Oct 31, 2014, at 10:22 AM, Aparna Kumta<aparna.kumta_at_[hidden]> wrote:
>>>>>
>>>>>> On 10/30/14 19:49, Belcourt, Kenneth wrote:
>>>>>>> On Oct 30, 2014, at 5:49 PM, Niklas Angare<li51ckf02_at_[hidden]> wrote:
>>>>>>>
>>>>>>>> "Tom Kent"<lists_at_[hidden]> wrote:
>>>>>>>>> On Wed, Oct 29, 2014 at 7:04 PM, Aparna Kumta<aparna.kumta_at_[hidden]>
>>>>>>>>> wrote:
>>>>>>>>>> I have just downloaded run.py and it is my first time trying to setup and
>>>>>>>>>> run the regression tests.
>>>>>>>> ...
>>>>>>>>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
>>>>>>>>>> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
>>>>>>>>> I've seen this when right clicking on the link from the page and
>>>>>>>>> downloading, instead of copying and pasting only the code from the github
>>>>>>>>> source page.
>>>>>>>>>
>>>>>>>>> Download from this link instead:
>>>>>>>>> https://raw.githubusercontent.com/boostorg/boost/develop/tools/regression/src/run.py
>>>>>>>> The error message actually says that the syntax error is in regression.py, which is normally downloaded by run.py.
>>>>>>>>
>>>>>>>> Can someone update the URL that run.py uses? Noel? René? As I mentioned in the "Link to run.py" thread, I believe URL:s similar to the one above are now preferred.
>>>>>>> It’s in develop commit d3f46b9d87547. Hopefully that will fix the issue.
>>>>>> I assume I would need to download run.py again?
>>>>> Yes, you need a current checkout of run.py from develop. The —tag option to run.py specifies which branch to test, for example:
>>>>>
>>>> I just downloaded run.py from
>>>>
>>>> https://raw.githubusercontent.com/boostorg/boost/develop/tools/regression/src/run.py
>>>>
>>>> and as before ran
>>>> python run.py --runner=firsttest --toolset=sun --tag=develop
>>>>
>>>> I am still seeing the same error.
>>>>
>>>> As mentioned previously, the error seems to come from the first line in regression.py
>>> This is on Sun? What version of python is this?
>> Yes, on Sun Python version is 2.6.8
> Okay, old Python. So basically the Python interpreter is unable to correctly handle the DTD validation. If you remove that line, does the testing startup okay?
When I run

python run.py --runner=firsttest --toolset=sun --tag=develop

it recreates the tools_regression_src directory, and copies over the
regression.py file which contains the DTD line, and fails right away.
So removing the offending line doesn't seem to help.

Thanks,

Aparna
>
> — Noel
>


Boost-testing list run by mbergal at meta-comm.com