Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5pLt-00085h-2a for pgadmin-hackers@arkaria.postgresql.org; Wed, 03 May 2017 08:09:37 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d5pLs-0002uH-3P for pgadmin-hackers@arkaria.postgresql.org; Wed, 03 May 2017 08:09:36 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d5pLq-0002u7-Qp for pgadmin-hackers@postgresql.org; Wed, 03 May 2017 08:09:35 +0000 Received: from mail-io0-x22b.google.com ([2607:f8b0:4001:c06::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d5pLm-0000WZ-8e for pgadmin-hackers@postgresql.org; Wed, 03 May 2017 08:09:32 +0000 Received: by mail-io0-x22b.google.com with SMTP id p24so1331352ioi.0 for ; Wed, 03 May 2017 01:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=U8CZMryicabCgg6G87KV8BRaP3J0CX3IEfec4A2hZEg=; b=brA5LTiu78EaYarBzc5B3PdUA4isMif34YE0vdWA7QDupj/XiRm5VnRP3vKI27uNU9 w2KT0Bhd64AdC7XIgyY9ESwT8gA7FKC3Oj9xyVSs4I3lFmtpUSJzpkjYYSn2PUC0Iwf2 tVawVt99uNjXa3MUPcjKm7cLZ+pknkY4QXiFHusFtrNpUs02yaRf5vb0vD7fahCe/ZOi qXDy2DpQSLyAEy6AaRYXZ6pjQ7S/w1MlIkeu3hnjWiWKjnNki49MyYl2vu0p27FMOpnp mShBcDbl3ZyRP01Angvwo/ohCyid4u08ov+ivCfka3BqcLIALO7+H/WXf6OXLY80Z3Lh T70Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=U8CZMryicabCgg6G87KV8BRaP3J0CX3IEfec4A2hZEg=; b=hLnG2MI0ucpW3hEp3zo/eryMQhHP3AxvpGN7eES7+IulbfG8r0tt9ogQuzg5odXSUB r29bzafx2tSwVFnO+y+iTOSDI9epxnVfqP1WOVcFwI+0n+QUl746wULvobPEGProV4/G uY14r1FNmWpBXwTUe9sfb08tP4fFu8sWPwn6IebQYSog7oVR80apH6BXztQKR1znwZQh o9S6m1iiF+MG3EKCLpJXdsOMD2hM7adnDzGSyjQo3ozGhNpztkul0ePXhsKHZR5QAo57 yg7l/AnY/Cd/xoN6NggwKT4nOzAb0HD+fTWBrZNWOsGWS+4ZczJAHbjh2b1t4pdMCnlT wYcg== X-Gm-Message-State: AN3rC/6znUB+iDMA/4imxh3v0Qv/EArpwVmcM53aqz8RaqzHW7BHezF1 oS987NCVfFAN2yCFg25J9q7zVbbseg== X-Received: by 10.107.173.14 with SMTP id w14mr33481046ioe.232.1493798968650; Wed, 03 May 2017 01:09:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.174.167 with HTTP; Wed, 3 May 2017 01:09:27 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Wed, 3 May 2017 09:09:27 +0100 Message-ID: Subject: Re: pgAdmin4: Test-suite OS compatability issue To: Navnath Gadakh Cc: pgadmin-hackers , Kanchan Mohitey , Ikram Khan Content-Type: multipart/alternative; boundary=001a114409e4e48a4d054e9a2cbb X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a114409e4e48a4d054e9a2cbb Content-Type: text/plain; charset=UTF-8 10.12.3 (Sierra), 16GB MBP. Running in a virtualenv built from the system Python installation. Packages are: (pgadmin4)piranha:~ dpage$ pip freeze alabaster==0.7.10 alembic==0.9.1 args==0.1.0 Babel==1.3 beautifulsoup4==4.4.1 blinker==1.3 chromedriver-installer==0.0.6 click==6.6 clint==0.5.1 dateutils==0.6.6 docutils==0.13.1 extras==1.0.0 fixtures==3.0.0 Flask==0.11.1 Flask-Babel==0.11.1 Flask-Gravatar==0.4.2 Flask-HTMLmin==1.2 Flask-Login==0.3.2 Flask-Mail==0.9.1 Flask-Migrate==2.0.3 Flask-Principal==0.4.0 Flask-Script==2.0.5 Flask-Security==1.7.5 Flask-SQLAlchemy==2.1 Flask-WTF==0.12 html5lib==1.0b3 htmlmin==0.1.10 imagesize==0.7.1 importlib==1.0.3 itsdangerous==0.24 Jinja2==2.7.3 linecache2==1.0.0 Mako==1.0.6 MarkupSafe==0.23 minify==0.1.4 passlib==1.6.2 pbr==2.0.0 pkginfo==1.4.1 psycopg2==2.6.2 pycrypto==2.6.1 Pygments==2.2.0 pyperclip==1.5.27 pyrsistent==0.12.1 python-dateutil==2.5.0 python-editor==1.0.3 python-mimeparse==1.6.0 pytz==2014.10 requests==2.13.0 requests-toolbelt==0.7.1 selenium==3.3.1 simplejson==3.6.5 six==1.10.0 snowballstemmer==1.2.1 speaklater==1.3 Sphinx==1.5.3 SQLAlchemy==1.0.14 sqlparse==0.1.19 testscenarios==0.5.0 testtools==2.0.0 traceback2==1.4.0 unittest2==1.1.0 Werkzeug==0.9.6 WTForms==2.0.2 On Wed, May 3, 2017 at 7:13 AM, Navnath Gadakh < navnath.gadakh@enterprisedb.com> wrote: > Hi Dave, > > I have applied and run this patch on Mac and it ran successfully > without hang up. > > I used different OS: > OS X Yosemite Version 10.10.2 > OS X EI Capitan Version 10.11.6 > > What is your system config? > > > > > On Tue, May 2, 2017 at 4:39 PM, Dave Page wrote: > >> Hi >> >> When testing on Mac, the testsuite never exits with this patch applied. >> It just hangs after printing the result summary. >> >> On Fri, Apr 28, 2017 at 2:51 PM, Navnath Gadakh < >> navnath.gadakh@enterprisedb.com> wrote: >> >>> Hi Dave, >>> >>> Please find the patch for OS compatability issue of test-suite. >>> >>> *Code Changes:* >>> >>> 1. Minor code changes done related to os module in >>> *pgadmin4/web/regression/feature_utils/app_starter.py* >>> 2. Code added in pgadmin4/*web/pgadmin/utils/tests/test_versioned_template_loader.py >>> *to handle path for SQL file. >>> 3. Code added to convert unicode to string in some .py files. >>> >>> *Note:* >>> With python2.6.6 test-suite is failed to execute. I have >>> created the RM 2367 >>> >>> Thank you! >>> >>> >>> >>> -- >>> Regards, >>> Navnath Gadakh >>> >>> EnterpriseDB Corporation >>> The Enterprise PostgreSQL Company >>> >>> >>> >>> >>> -- >>> Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) >>> To make changes to your subscription: >>> http://www.postgresql.org/mailpref/pgadmin-hackers >>> >>> >> >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company >> > > > > -- > Regards, > Navnath Gadakh > > EnterpriseDB Corporation > The Enterprise PostgreSQL Company > > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a114409e4e48a4d054e9a2cbb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
10.12.3 (Sierra), 16GB MBP. Running in a virtualenv built = from the system Python installation. Packages are:

= (pgadmin4)piranha:~ dpage$ pip freeze
alabaster=3D=3D0.7.10
=
alembic=3D=3D0.9.1
args=3D=3D0.1.0
Babel=3D=3D1.3<= /div>
beautifulsoup4=3D=3D4.4.1
blinker=3D=3D1.3
ch= romedriver-installer=3D=3D0.0.6
click=3D=3D6.6
clint=3D= =3D0.5.1
dateutils=3D=3D0.6.6
docutils=3D=3D0.13.1
extras=3D=3D1.0.0
fixtures=3D=3D3.0.0
Flask=3D=3D= 0.11.1
Flask-Babel=3D=3D0.11.1
Flask-Gravatar=3D=3D0.4.= 2
Flask-HTMLmin=3D=3D1.2
Flask-Login=3D=3D0.3.2
Flask-Mail=3D=3D0.9.1
Flask-Migrate=3D=3D2.0.3
Flask= -Principal=3D=3D0.4.0
Flask-Script=3D=3D2.0.5
Flask-Sec= urity=3D=3D1.7.5
Flask-SQLAlchemy=3D=3D2.1
Flask-WTF=3D= =3D0.12
html5lib=3D=3D1.0b3
htmlmin=3D=3D0.1.10
imagesize=3D=3D0.7.1
importlib=3D=3D1.0.3
itsdangero= us=3D=3D0.24
Jinja2=3D=3D2.7.3
linecache2=3D=3D1.0.0
Mako=3D=3D1.0.6
MarkupSafe=3D=3D0.23
minify=3D= =3D0.1.4
passlib=3D=3D1.6.2
pbr=3D=3D2.0.0
pk= ginfo=3D=3D1.4.1
psycopg2=3D=3D2.6.2
pycrypto=3D=3D2.6.= 1
Pygments=3D=3D2.2.0
pyperclip=3D=3D1.5.27
p= yrsistent=3D=3D0.12.1
python-dateutil=3D=3D2.5.0
python= -editor=3D=3D1.0.3
python-mimeparse=3D=3D1.6.0
pytz=3D= =3D2014.10
requests=3D=3D2.13.0
requests-toolbelt=3D=3D= 0.7.1
selenium=3D=3D3.3.1
simplejson=3D=3D3.6.5
six=3D=3D1.10.0
snowballstemmer=3D=3D1.2.1
speaklate= r=3D=3D1.3
Sphinx=3D=3D1.5.3
SQLAlchemy=3D=3D1.0.14
sqlparse=3D=3D0.1.19
testscenarios=3D=3D0.5.0
te= sttools=3D=3D2.0.0
traceback2=3D=3D1.4.0
unittest2=3D= =3D1.1.0
Werkzeug=3D=3D0.9.6
WTForms=3D=3D2.0.2


On Wed, May 3, 2017 at 7:13 AM, Navnath Gadakh &l= t;navn= ath.gadakh@enterprisedb.com> wrote:
Hi Dave,
=C2=A0
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0I have applied and run this patch on Mac and it ran succes= sfully without hang up.

I used different=C2=A0OS:= =C2=A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0OS X Yosemite Version 10.10= .2
=C2=A0 =C2=A0 =C2=A0 =C2=A0OS X EI Capitan Version 10.11.6

What is your system config?

=


On Tue, May 2, 2017 a= t 4:39 PM, Dave Page <dpage@pgadmin.org> wrote:
Hi

When testing o= n Mac, the testsuite never exits with this patch applied. It just hangs aft= er printing the result summary.

<= div class=3D"gmail_quote">
On Fri= , Apr 28, 2017 at 2:51 PM, Navnath Gadakh <navnath.gadakh@en= terprisedb.com> wrote:
H= i Dave,

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Please find th= e patch for=C2=A0OS compatability issue of test-suite.

=
Code Changes:
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 1. Minor code changes done related to os module in = pgadmin4/web/regression/feature_utils/app_starter.py
<= div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 2. Code added in pgadmin4/web/pgadmin/utils/tests/test_versione= d_template_loader.py to handle path for SQL file.
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 3. Code added to convert unicode to string in s= ome .py files.

Note:<= /b>
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0With python2.6.6 test-suite is failed to execute= . I have created the RM=C2=A02367
=C2=A0
Thank you!


<= br>
--
<= div>
Regards,
Navnath Gadakh

EnterpriseDB Corporation
The Enterprise PostgreSQL Company


<= /div>


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-ha= ckers




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter:= @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreS= QL Company



--
Regards,
Navnath Gadakh

EnterpriseDB Corporation
The = Enterprise PostgreSQL Company





--
=
Dave Page=
Blog: http://= pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprised= b.com
The Enterprise PostgreSQL Company
--001a114409e4e48a4d054e9a2cbb--