pgAdmin 4 commit: Fix the issue where Import/Export was failing in linu

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Fix the issue where Import/Export was failing in linu
Date: 2017-03-09 09:54:58
Message-ID: E1clumg-00073y-2r@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix the issue where Import/Export was failing in linux runtime. Fixes #2166

Issue:
Changes done by Ashesh in pgAdmin4.py file for setting up PYTHONHOME variable to sys.prefix was applicable only for windows only.

Additionally I have also added exception handling for file provided by user for Backup/Restore/Import/Export.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bc63652811f7fdc1080102bf70f0ecc7aae496d6
Author: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>

Modified Files
--------------
web/pgAdmin4.py | 4 +++-
web/pgadmin/misc/bgprocess/processes.py | 2 +-
web/pgadmin/tools/backup/__init__.py | 10 ++++++++--
web/pgadmin/tools/import_export/__init__.py | 6 +++++-
web/pgadmin/tools/restore/__init__.py | 5 ++++-
5 files changed, 21 insertions(+), 6 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-03-09 09:55:06 Re: [pgAdmin4][PATCH] To fix the issue of Import/Export in linux runtime
Previous Message Dave Page 2017-03-09 09:27:52 Re: [pgAdmin4][PATCH] Minor condition code improvement