Re: My pgAdmin is broken - Mailing list pgadmin-support

From Derek Ealy
Subject Re: My pgAdmin is broken
Date
Msg-id CAKmA-3P2Knb5zSCtALnyFRVqhwxqpN6=qXapsJCbA7N8rR7w1g@mail.gmail.com
Whole thread Raw
In response to Re: My pgAdmin is broken  (Isaias Sanchez <isaias.sanchez.l@gmail.com>)
Responses Re: My pgAdmin is broken
List pgadmin-support
Allriiigghht Isaias!!!!!!!!!!

Man thanks, I was so freakin' annoyed at this upgrade not working and how frustrating recovering from it was. I'm glad you figured out what the problem was, I had never even heard of pycrypto before to day.

Awesomesauce

On Thu, Apr 19, 2018 at 8:57 AM, Isaias Sanchez <isaias.sanchez.l@gmail.com> wrote:

I also had this problem, but the issue is some incompatibilities in pycryptodome and pycrypto:

1. Install v3.0:

pip install ./pgadmin4-3.0-py2.py3-none-any.whl

2. Unistall pycryptodome:

pip uninstall pycryptodome

3. Uninstall/Install pgcrypto:

pip uninstall pycrypto

pip3 install pycrypto

4. Start pgadmin4:

python /usr/local/lib/python/site-packages/pgadmin4/pgAdmin4.py &

Go to: http://127.0.0.1:5050

After that v3.0 works just fine.

Cheers,

Isaias S.

Derek Ealy wrote on 04/19/2018 03:18 PM:
A couple of days ago I tried upgrading to v3.0. This never worked for me. Normally I activate the python environment and then install the latest wheel file to upgrade. I was never able to login successfully on v3.0.

So I gave up and tried to go back to v2.1, again I did so by reinstalling the v2.1 wheel file. However afterwards I can't launch pgAdmin. I get this error message: 

alembic.util.exc.CommandError: Can't locate revision identified by '50aad68f99c2'

I've now burned several hours on trying to fix this. What is the best way to at least get back to a working system with v2.1? In the future is there some better way to upgrade or revert to a previous version when things go wrong?

Thanks, Derek

--
dme


Derek Ealy
Sr. Software Architect

NovaWurks, Inc. 
10772 Noel Street 
Los Alamitos, CA 90720
F: 877.353.7537  

........................................
CONFIDENTIALITY NOTICE: This e-mail, including attachments, is company confidential information proprietary to NovaWurks Corporation or its customers and may be confidential, legally privileged, and protected by law. If you are not the intended recipient you may not use, disclose, distribute, copy, print, or rely on this e-mail. If you have received this transmission in error please notify the sender and destroy the original transmission and its attachments without reading or saving. Thank you.




--
dme


Derek Ealy
Sr. Software Architect

NovaWurks, Inc. 
10772 Noel Street 
Los Alamitos, CA 90720
F: 877.353.7537  

........................................
CONFIDENTIALITY NOTICE: This e-mail, including attachments, is company confidential information proprietary to NovaWurks Corporation or its customers and may be confidential, legally privileged, and protected by law. If you are not the intended recipient you may not use, disclose, distribute, copy, print, or rely on this e-mail. If you have received this transmission in error please notify the sender and destroy the original transmission and its attachments without reading or saving. Thank you.

pgadmin-support by date:

Previous
From: Isaias Sanchez
Date:
Subject: Re: My pgAdmin is broken
Next
From: Isaias Sanchez
Date:
Subject: Re: My pgAdmin is broken