Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arkU6-00079A-Gw for pgadmin-hackers@arkaria.postgresql.org; Sun, 17 Apr 2016 11:03:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1arkU5-0000Aq-31 for pgadmin-hackers@arkaria.postgresql.org; Sun, 17 Apr 2016 11:03:21 +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 1arkTq-0008NX-6o for pgadmin-hackers@postgresql.org; Sun, 17 Apr 2016 11:03:06 +0000 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1arkTm-0005sR-5I for pgadmin-hackers@postgresql.org; Sun, 17 Apr 2016 11:03:04 +0000 Received: by mail-qg0-x229.google.com with SMTP id f52so102909485qga.3 for ; Sun, 17 Apr 2016 04:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3w9LcxOw4Jtr0tyj7Fh52IUxNjuxgXNHPtiypiUh8Z4=; b=tIkvFl/BpfeJXtp+3Spv6rnsrU9vuA8HAbULycbQ3rbeRjvaruscztpA+L6k5YDJ3z BXy+sbZFiFGyJ1tk2PlJ4/fvHTRJvNJl/LAdyv9b8SeQECxnQOSOqfbAemh6VrKArCTb 124B56rTxEnlHvwFFgNhTkUpj7LfzKHCmvEMsQohjYcWzI/MmL/OF9GVIxUNZsr/oePD ojNw+B8ZOuLTa8bOhQEDQ6wzoOA+1TFtau7JSTmdnYATop7JVU6PQsqKQyZqsIeXyqba wnInujZxwcGlhhE81FQNDVC9kbyTWNFA1Y30ywAhC9wItKAKaPCKQXVxBk0YbYzkoY6D dAAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=3w9LcxOw4Jtr0tyj7Fh52IUxNjuxgXNHPtiypiUh8Z4=; b=W2x9odQAv49dR6FtTvRtjhB/JIVmOoPFqovd+FhlCZNcrbwJ8b5zGL4eP7td+8C8qt c4axGpw7GI/E3odAavCgtiFzh4cVYwD/ks21WPsWHSw1UMFaQ7TyjC2jXgsghokft1Hz lDTALDh330cNkQhMTUTuJ2oqFoJ+cRXgXAFN+J4YoIFljpD/XIjfZAzHwMXdENiRMRH4 QBOjJhk3u37CnvJOJzukIflRX5faMRyTpYCVKVpwIiwxTW9DJc0boS2SgZphBcPftr+Q B+EppMIq9JmmJT205SD7P2BAvFsL+1v94+qpX5Hc5ACUuG0mGEo70OSfG+dCvXYIDEsw nPkA== X-Gm-Message-State: AOPr4FVXnCJJj7HIQZ6x01KaKet7edUO1SrlR27vY+PdEO28eq9fq/YxxhF+vcODfk9rQA== X-Received: by 10.140.109.100 with SMTP id k91mr36469462qgf.54.1460890980570; Sun, 17 Apr 2016 04:03:00 -0700 (PDT) Received: from [172.20.0.140] ([64.80.128.12]) by smtp.gmail.com with ESMTPSA id y206sm24167766qhc.0.2016.04.17.04.02.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Apr 2016 04:02:58 -0700 (PDT) Content-Type: multipart/alternative; boundary=Apple-Mail-D8FF356E-91C8-45AA-877A-710F660B18F0 Mime-Version: 1.0 (1.0) Subject: Re: pgAdmin4 - Session file name too large From: Dave Page X-Mailer: iPad Mail (13E238) In-Reply-To: Date: Sun, 17 Apr 2016 12:02:57 +0100 Cc: pgadmin-hackers@postgresql.org, Ashesh Vashi Content-Transfer-Encoding: 7bit Message-Id: <8BE41B9F-05BD-44D5-A2F1-EC85EEF80F7E@pgadmin.org> References: To: eMerzh 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 --Apple-Mail-D8FF356E-91C8-45AA-877A-710F660B18F0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok, good. Please let us know if it reoccurs. Sent from my iPad > On 17 Apr 2016, at 08:26, eMerzh wrote: >=20 > Ok guys I think I found a way to pass the error. > It seems that it was caused by a previous session cookie that was too long= or smth. > Deleting my cookies make the app work again :-) >=20 > Le 17 avr. 2016 12:55 AM, "Dave Page" a =C3=A9crit : > Hi >=20 > Ashesh, can you look at this please? I cannot reproduce it. >=20 >=20 >> On Friday, April 15, 2016, eMerzh wrote: >> Hi, >>=20 >> I was testing pgAdmin4 rev e210d2b5809355a334508436d9f128b78338dfd3 >> on osx python python 2.7,=20 >> but when i tried to log in, i got a error : >>=20 >>>=20 >>> 2016-04-15 13:31:47,820: ERROR werkzeug: Error on request: >>> Traceback (most recent call last): >>> File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/werkzeug/s= erving.py", line 177, in run_wsgi >>> execute(self.server.app) >>> File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/werkzeug/s= erving.py", line 165, in execute >>> application_iter =3D app(environ, start_response) >>> File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/flask/app.= py", line 1836, in __call__ >>> return self.wsgi_app(environ, start_response) >>> File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/flask/app.= py", line 1813, in wsgi_app >>> ctx.push() >>> File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/flask/ctx.= py", line 321, in push >>> self.session =3D self.app.open_session(self.request) >>> File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/flask/app.= py", line 825, in open_session >>> return self.session_interface.open_session(self, request) >>> File "/Users/myuser/pgadmin4/web/pgadmin/utils/session.py", line 209, in= open_session >>> return SqliteSessionStorage(self.directory, sid) >>> File "/Users/myuser/pgadmin4/web/pgadmin/utils/session.py", line 60, in _= _init__ >>> sess_db =3D os.open(self.path, os.O_CREAT, int("600", 8)) >>> OSError: [Errno 63] File name too long: '/Users/myuser/.pgadmin/sessions= /.eJxNkUtvozAUhf_KyOto....' >>=20 >> let me know if i can provide you more informations. >>=20 >> Regards,=20 >>=20 >> Brice >=20 >=20 > --=20 > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake >=20 > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company >=20 --Apple-Mail-D8FF356E-91C8-45AA-877A-710F660B18F0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Ok, good. Please let us know if it reo= ccurs.

Sent from my iPad

On 17 Apr 2016, at 08:26, eMer= zh <merzhin@gmail.com> wrote:=

Ok guys I think&= nbsp; I found a way to pass the error.
It seems that it was caused by a previous session cookie that was too long o= r smth.
Deleting my cookies make the app work again :-)

Le 17 avr. 2016 12:55 AM, "Dave Page" <dpage@pgadmin.org> a =C3=A9crit&nb= sp;:
Hi

A= shesh, can you look at this please? I cannot reproduce it.


On Friday, April 15, 2016, eMerzh <merzhin@gmail.com> wrote:
Hi,

I wa= s testing pgAdmin4 rev e210d2b5809355a334508436d9f128b78338dfd3
on o= sx python python 2.7,
but when i tried to log in, i got a error :<= br>

2016-04-15 13:31= :47,820: ERROR werkzeug: Error on request:
Traceback (most recent call la= st):
File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/werk= zeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
= File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/werkzeug/serv= ing.py", line 165, in execute
application_iter =3D app(environ, start= _response)
File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-package= s/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ,= start_response)
File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-p= ackages/flask/app.py", line 1813, in wsgi_app
ctx.push()
File "/= Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/flask/ctx.py", line 3= 21, in push
self.session =3D self.app.open_session(self.request)
= File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/flask/app.py"= , line 825, in open_session
return self.session_interface.open_sessio= n(self, request)
File "/Users/myuser/pgadmin4/web/pgadmin/utils/session= .py", line 209, in open_session
return SqliteSessionStorage(self.dire= ctory, sid)
File "/Users/myuser/pgadmin4/web/pgadmin/utils/session.py",= line 60, in __init__
sess_db =3D os.open(self.path, os.O_CREAT, int(= "600", 8))
OSError: [Errno 63] File name too long: '/Users/myuser/.pgadmi= n/sessions/.eJxNkUtvozAUhf_KyOto....'

let me= know if i can provide you more informations.

Regards,
Brice


--
Dave PageBlog: http://pgsn= ake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com<= /a>
The Enterprise PostgreSQL Company

= --Apple-Mail-D8FF356E-91C8-45AA-877A-710F660B18F0--