Re: Error messages displayed with pgAdmin4.py when user done latest git pull for pgAdmin4

From: Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Error messages displayed with pgAdmin4.py when user done latest git pull for pgAdmin4
Date: 2016-05-13 06:08:25
Message-ID: CAJFwRrNCA+4tpQN8Ct1kK8XvfRNVK0qRZoJC-oYjGUvz-0aRbA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Thanks It's already resolved by Neel and Akshay with minor patch "cStringIO
and StringIO module compatibility in python"

Regards

On Fri, May 13, 2016 at 9:52 AM, Fahar Abbas <fahar(dot)abbas(at)enterprisedb(dot)com>
wrote:

> Hi,
>
> Following error message displayed pgAdmin4.py when user done latest git
> pull for pgAdmin4 on Ubuntu 14.04 64 bit:
> -------------
> python pgAdmin4.py
> Traceback (most recent call last):
> File "pgAdmin4.py", line 56, in <module>
> app = create_app()
> File "/home/fahar/Projects/pgadmin4/web/pgadmin/__init__.py", line 223,
> in create_app
> app.register_blueprint(module)
> File "/home/fahar/venv/lib/python3.4/site-packages/flask/app.py", line
> 62, in wrapper_func
> return f(self, *args, **kwargs)
> File "/home/fahar/venv/lib/python3.4/site-packages/flask/app.py", line
> 889, in register_blueprint
> blueprint.register(self, options, first_registration)
> File "/home/fahar/Projects/pgadmin4/web/pgadmin/utils/__init__.py", line
> 55, in register
> self.submodules = list(app.find_submodules(self.import_name))
> File "/home/fahar/Projects/pgadmin4/web/pgadmin/__init__.py", line 44,
> in find_submodules
> module = import_module(module_name)
> File "/home/fahar/venv/lib/python3.4/importlib/__init__.py", line 109,
> in import_module
> return _bootstrap._gcd_import(name[level:], package, level)
> File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
> File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
> File "<frozen importlib._bootstrap>", line 2226, in
> _find_and_load_unlocked
> File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
> File "<frozen importlib._bootstrap>", line 1129, in _exec
> File "<frozen importlib._bootstrap>", line 1471, in exec_module
> File "<frozen importlib._bootstrap>", line 321, in
> _call_with_frames_removed
> File
> "/home/fahar/Projects/pgadmin4/web/pgadmin/misc/bgprocess/__init__.py",
> line 21, in <module>
> from .processes import BatchProcess
> File
> "/home/fahar/Projects/pgadmin4/web/pgadmin/misc/bgprocess/processes.py",
> line 35, in <module>
> from cStringIO import StringIO
> ImportError: No module named 'cStringIO'
>
> Regards,
>
>
> --
> Syed Fahar Abbas
> Quality Management Group
>
> EnterpriseDB Corporation
> Phone Office: +92-51-835-8874
> Phone Direct: +92-51-8466803
> Mobile: +92-333-5409707
> Skype ID: syed.fahar.abbas
> Website: www.enterprisedb.com
>

--
Syed Fahar Abbas
Quality Management Group

EnterpriseDB Corporation
Phone Office: +92-51-835-8874
Phone Direct: +92-51-8466803
Mobile: +92-333-5409707
Skype ID: syed.fahar.abbas
Website: www.enterprisedb.com

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Neel Patel 2016-05-13 07:04:47 [pgAdmin4][Patch]: Pause/Resume replay of WAL functionality
Previous Message Akshay Joshi 2016-05-13 05:54:17 Re: [pgAdmin4][patch] : cStringIO and StringIO module compatibility in python