Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1arZ7j-0004ky-54 for pgadmin-hackers@arkaria.postgresql.org; Sat, 16 Apr 2016 22:55:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1arZ7i-0007Ue-OZ for pgadmin-hackers@arkaria.postgresql.org; Sat, 16 Apr 2016 22:55:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1arZ7V-0007GK-Iu for pgadmin-hackers@postgresql.org; Sat, 16 Apr 2016 22:55:17 +0000 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1arZ7R-0007dm-32 for pgadmin-hackers@postgresql.org; Sat, 16 Apr 2016 22:55:17 +0000 Received: by mail-io0-x22f.google.com with SMTP id u185so165581603iod.3 for ; Sat, 16 Apr 2016 15:55:12 -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:date:message-id:subject:from:to :cc; bh=37841A3eBkJYaWKYDvPvG5BQStzmqlr1II45aF7b9hU=; b=t1vFToS6F7LMO00N2fFQpN00cI4X2tOSnIIBH30xmWvKmuxk1GEH3Gl9vFobxdD3Ns S+oQzMZ4K1DGJC88vOTxtDoCgkp3D/qmTGxpIgTAg7Hq9WJZQRY3qTQipRzbRuKLeTSg A+sr4TCXxRsCgf29iqXzbeNk0k+8ZOsQrFuTHtMpCQv3nH+/Xzryzv3ONqvaav30QhiP Oxm9LKPSrJleWr5U/mQBTcX+ClGn0B01OyqZGs6DDVhFR+Vw14gtD/WK8ecNcZCn/Lz9 dgPXMQLGWp6/dJd2ddm+JDWFsW56J2WhJOElaJbwoMHd3hhjESoWGDBIVekhxa2v2cXc mT/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=37841A3eBkJYaWKYDvPvG5BQStzmqlr1II45aF7b9hU=; b=Z3zsFZTGr94Yk96jUJBd408+Og5xQW/1ftQYDZ4hoF1Ng0r3MqQLmyh4b/zEoG1FF4 tNS8FhJJFu3fMk6wIEhTEohxD2Ffynis/FzmazNorHKVrCirSjW/cQHbq/emFDdzGMBI RrOo+TbnSig7aufjb+mM7CUm1J/pJYAwpsibsLH0YZZvmyOpCV9t6jiVqrBGK3jAXNcV LZgpjtsHChS9DjaVm9iBQtuAqX0R1TAxsuU+Ipacp6RK29vcyfff9xhxvIwdljhw6MFV CttAgOgq02HEQLokF9epLTPX+DrGdRER0WtwdNzDUZsbRRS6NoW6A7bVxGR3RC2J+EIT Z02A== X-Gm-Message-State: AOPr4FXMxFjXRPrYpXIB9mABejOazVSkUFzISZu2z9NjjyS0GyjCNXV9yDu2ODJKlijHPEgMDP4S+2H0VAcBJg== MIME-Version: 1.0 X-Received: by 10.107.12.224 with SMTP id 93mr30879094iom.70.1460847311506; Sat, 16 Apr 2016 15:55:11 -0700 (PDT) Received: by 10.64.105.131 with HTTP; Sat, 16 Apr 2016 15:55:11 -0700 (PDT) In-Reply-To: References: Date: Sat, 16 Apr 2016 23:55:11 +0100 Message-ID: Subject: Re: pgAdmin4 - Session file name too large From: Dave Page To: eMerzh Cc: "pgadmin-hackers@postgresql.org" , Ashesh Vashi Content-Type: multipart/alternative; boundary=001a113f91ae12e9a30530a20546 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 --001a113f91ae12e9a30530a20546 Content-Type: text/plain; charset=UTF-8 Hi Ashesh, can you look at this please? I cannot reproduce it. On Friday, April 15, 2016, eMerzh wrote: > Hi, > > I was testing pgAdmin4 rev e210d2b5809355a334508436d9f128b78338dfd3 > on osx python python 2.7, > but when i tried to log in, i got a error : > > >> 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/serving.py", >> line 177, in run_wsgi >> execute(self.server.app) >> File >> "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/werkzeug/serving.py", >> line 165, in execute >> application_iter = 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 = 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 = os.open(self.path, os.O_CREAT, int("600", 8)) >> OSError: [Errno 63] File name too long: >> '/Users/myuser/.pgadmin/sessions/.eJxNkUtvozAUhf_KyOto....' > > > let me know if i can provide you more informations. > > Regards, > > Brice > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a113f91ae12e9a30530a20546 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi

Ashesh, can you look at this please? I cannot reprodu= ce it.

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

I was testing pgAdmi= n4 rev e210d2b5809355a334508436d9f128b78338dfd3
on osx python pyth= on 2.7,
but when i tried to log in, i got a error :


2016-04-15 13:31:47,820: ER= ROR werkzeug: Error on request:
Traceback (most recent call last):
= File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/werkzeug= /serving.py", line 177, in run_wsgi
execute(self.server.app) File "/Users/myuser/pgadmin4/venv/lib/python2.7/site-packages/werkz= eug/serving.py", line 165, in execute
application_iter =3D app(= environ, start_response)
File "/Users/myuser/pgadmin4/venv/lib/py= thon2.7/site-packages/flask/app.py", line 1836, in __call__
ret= urn self.wsgi_app(environ, start_response)
File "/Users/myuser/pg= admin4/venv/lib/python2.7/site-packages/flask/app.py", line 1813, in w= sgi_app
ctx.push()
File "/Users/myuser/pgadmin4/venv/lib/p= ython2.7/site-packages/flask/ctx.py", line 321, in push
self.se= ssion =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, reque= st)
File "/Users/myuser/pgadmin4/web/pgadmin/utils/session.py&quo= t;, line 209, in open_session
return SqliteSessionStorage(self.direc= tory, 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....'

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

Regards,

Brice


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

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise Post= greSQL Company

--001a113f91ae12e9a30530a20546--