Boost logo

Boost Testing :

Subject: Re: [Boost-testing] proxy issues with downloading regression scripts
From: Aparna Kumta (aparna.kumta_at_[hidden])
Date: 2014-12-11 16:19:20

No, the quotes do not seem to help.
I modified to just print the proxy as follows:


# Copyright Rene Rivera 2007-2013
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at

import os
import os.path
import shutil
import sys
import urllib

proxy = None
for a in sys.argv[1:]:
if a.startswith('--proxy='):
proxy = {'https' : a.split('=')[1] }
print '--- %s' %(proxy['https'])
%python --runner=oracle --toolsets=sun --tag=develop --proxy=

Now it prints the proxy!



----- Original Message -----
From: grafikrobot_at_[hidden]
To: boost-testing_at_[hidden]
Sent: Thursday, December 11, 2014 12:13:44 PM GMT -08:00 US/Canada Pacific
Subject: Re: [Boost-testing] proxy issues with downloading regression scripts

On Thu, Dec 11, 2014 at 1:56 PM, Aparna Kumta < aparna.kumta_at_[hidden] > wrote:

I seem to have trouble in downloading the regression scripts.
My earlier thread on this issue is

I have copied in my directory and invoke the script as follows:
python --runner=oracle --toolsets=sun --tag=develop --proxy= --bjam-toolset=sun --pjl-toolset=sun "--bjam-options=-j16"

The error message I see is:
# Running regressions in /net/pontus/export/users/akumta/boost_proxy...
# Creating regression scripts at /net/pontus/export/users/akumta/boost_proxy/boost_regression_src...
# Downloading regression scripts from ..
Traceback (most recent call last):
File "", line 70, in <module>
from regression import runner
File "/net/pontus/export/users/akumta/boost_proxy/boost_regression_src/", line 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " ">
SyntaxError: invalid syntax

I don't see line #60 getting executed:

print '--- %s' %(proxy['https'])

Which suggests that for some reason it's not correctly recognizing the proxy option. Could you put quotes around the proxy option. Maybe something in the shell is mucking with the option.

-- Rene Rivera 
-- Grafik - Don't Assume Anything 
-- Robot Dreams - 
-- rrivera/ (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

Boost-testing list run by mbergal at