On Friday, December 2, 2016, Dave Page <dp...@pgadmin.org> wrote: > Hi > > On Mon, Nov 28, 2016 at 3:46 PM, Surinder Kumar > <surinder.ku...@enterprisedb.com <javascript:;>> wrote: > > Hi Dave, > > > > The issues for RM#1986 & RM#1940 has been fixed and combined into a > single > > patch as they are related. > > > > This patch is tested on Mac OSX, Ubuntu and Windows (py27 and py35). > > Everything is working fine. > > If there is still any issue. Please let me know. > > > > Please find updated patch and review. > > Thanks. It's looking good for me too on py27/macOS (all I have here),
And the patch is applied, to resolve the issues fixed thus far. > except.... > > >> 1) Sometimes when opening the file manager to open a file, I get the > >> following exception. It appears (but I'm not certain) to be when I've > >> already opened a file with non-ASCII chars in the name and I've been > >> prompted to discard the changes. > >> > >> 2016-11-25 09:42:20,087: INFO werkzeug: 127.0.0.1 - - [25/Nov/2016 > >> 09:42:20] "GET /file_manager/ HTTP/1.1" 500 - > >> Traceback (most recent call last): > >> File > >> "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > >> line 2000, in __call__ > >> return self.wsgi_app(environ, start_response) > >> File > >> "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > >> line 1991, in wsgi_app > >> response = self.make_response(self.handle_exception(e)) > >> File > >> "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > >> line 1567, in handle_exception > >> reraise(exc_type, exc_value, tb) > >> File > >> "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > >> line 1988, in wsgi_app > >> response = self.full_dispatch_request() > >> File > >> "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > >> line 1643, in full_dispatch_request > >> response = self.process_response(response) > >> File > >> "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > >> line 1864, in process_response > >> self.save_session(ctx.session, response) > >> File > >> "/Users/dpage/.virtualenvs/pgadmin4/lib/python2.7/site- > packages/flask/app.py", > >> line 926, in save_session > >> return self.session_interface.save_session(self, session, response) > >> File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/session.py", line > >> 267, in save_session > >> self.manager.put(session) > >> File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/session.py", line > >> 144, in put > >> self.parent.put(session) > >> File "/Users/dpage/git/pgadmin4/web/pgadmin/utils/session.py", line > >> 220, in put > >> f > >> RuntimeError: dictionary changed size during iteration > > > > I tried to reproduce with given steps. but unfortunately I couldn't > > reproduce. If possible please provide more information. > > For this; which still seems to occur periodically, but I cannot > reliably reproduce it yet. Whilst it seems unrelated to encoding, it > does seem to cause operations to fail; e.g. a file open operation > won't complete. > > Can you please spend some more time to try to reproduce it please? I > wonder if it's happening if a dashboard graph update occurs during the > file operation, and that causes a new connection to be made or > something. > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company