From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Devrim Gündüz <devrim(at)gunduz(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 13:14:19 |
Message-ID: | CA+OCxoyVUui7D9s5Br8q214Z+iZY3ObKE=W36dDUT09nyWWASg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Fri, Mar 24, 2017 at 11:57 AM, Devrim Gündüz <devrim(at)gunduz(dot)org> wrote:
>
> 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.
OK - please try dropping the updated version of that package into the
web/ directory, and removing it from the system - so you have:
Crypto/
...
web/
pgadmin/
about/
browser/
...
Does that work?
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Ashesh Vashi | 2017-03-24 13:15:05 | Re: [patch] Raise InternalServerError while retrieving table DDL |
Previous Message | Devrim Gündüz | 2017-03-24 11:57:15 | Re: Last few steps for pgadmin4 on RHEL 6 |