On Fri, Mar 24, 2017 at 11:57 AM, Devrim Gündüz <dev...@gunduz.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


-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to