Re: Last few steps for pgadmin4 on RHEL 6

From: Devrim Gündüz <devrim(at)gunduz(dot)org>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Last few steps for pgadmin4 on RHEL 6
Date: 2017-03-24 11:57:15
Message-ID: 1490356635.12309.11.camel@gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers


Hi,

On Mon, 2017-03-20 at 12:10 +0000, Dave Page wrote:
> Hey, I know "someone"! Let's call him Devrim :-)

:-)

> So, I think the easy way to do this is just install whatever is
> available from the dependency list, regardless of version. Then, add
> the packages you've built for anything that doesn't exist at all.
> Then, just try running pgAdmin, and see what happens. It may be that
> it just works, or it may be that we can fix any issues in code.

It first failed with passlib:

self._from_dict(kwds)
File "/usr/lib/python2.6/site-packages/passlib/context.py", line 473, in _from_dict
raise KeyError("known scheme in deprecated list: %r" % (scheme,))
KeyError: "known scheme in deprecated list: 'auto'"

This went away after upgrading to my version. Following that, pgadmin4 failed with:

  File "/usr/lib/python2.6/site-packages/pgadmin4-web/pgadmin/utils/driver/psycopg2/__init__.py", line 28, in <module>
    from pgadmin.utils.crypto import decrypt
  File "/usr/lib/python2.6/site-packages/pgadmin4-web/pgadmin/utils/crypto.py", line 15, in <module>
    from Crypto import Random
ImportError: cannot import name Random

...and error goes away when I update python-crypto package.

Regards,
--
Devrim Gündüz
EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-03-24 13:14:19 Re: Last few steps for pgadmin4 on RHEL 6
Previous Message Dave Page 2017-03-24 11:51:32 Re: Javascript translations