Обсуждение: No module named 'logging'

Поиск
Список
Период
Сортировка

No module named 'logging'

От
Johann Spies
Дата:
I am (again) trying out pgadmin4 on Debian.

I have managed to install it as standalone version and managed to work
using it for two days.  Then I did shutdown my computer over the weekend.
Now, when I try to start it the same way I did earlier, I get "No module
named 'logging'".

Before I got it working in the first place I got this error several
times and after several recompilations and starting over again in the
end got it working. I am not willing to start over every time I want to
use it.

This is one big frustration which makes me think that pgadmin4 is not
yet ready for production use.  It is wasting my time.

Regards
Johann
-- 
Johann Spies                            Telefoon: 021-808 4699
Databestuurder /  Data manager        Faks: 021-883 3691

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

The integrity and confidentiality of this e-mail is governed by these terms / Die integriteit en vertroulikheid van
hierdiee-pos word deur die volgende bepalings gere��l. http://www.sun.ac.za/emaildisclaimer
 


Re: No module named 'logging'

От
Khushboo Vashi
Дата:
Hi,

Please provide below details:

1. pgAdmin 4 version
2. Steps you followed to install pgAdmin 4
3. pgadmin4.log file (Please empty this file and then reproduce the error)

Thanks,
Khushboo

On Mon, Jan 22, 2018 at 12:43 PM, Johann Spies <jspies@sun.ac.za> wrote:
I am (again) trying out pgadmin4 on Debian.

I have managed to install it as standalone version and managed to work
using it for two days.  Then I did shutdown my computer over the weekend.
Now, when I try to start it the same way I did earlier, I get "No module
named 'logging'".

Before I got it working in the first place I got this error several
times and after several recompilations and starting over again in the
end got it working. I am not willing to start over every time I want to
use it.

This is one big frustration which makes me think that pgadmin4 is not
yet ready for production use.  It is wasting my time.

Regards
Johann
--
Johann Spies                            Telefoon: 021-808 4699
Databestuurder /  Data manager          Faks: 021-883 3691

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology
Universiteit Stellenbosch.

The integrity and confidentiality of this e-mail is governed by these terms / Die integriteit en vertroulikheid van hierdie e-pos word deur die volgende bepalings gereël. http://www.sun.ac.za/emaildisclaimer


Re: No module named 'logging'

От
Khushboo Vashi
Дата:
Please keep the pgAdmin group in the loop.

On Mon, Jan 22, 2018 at 3:54 PM, Johann Spies <jspies@sun.ac.za> wrote:
On Mon, Jan 22, 2018 at 02:15:08PM +0530, Khushboo Vashi wrote:
> Hi,
>
> Please provide below details:
>
> 1. pgAdmin 4 version

4-2.1

> 2. Steps you followed to install pgAdmin 4

https://humandata.associates/blog/data-engineering/installing-pgadmin-4-runtime-mode

> 3. pgadmin4.log file (Please empty this file and then reproduce the error)
>
I did that.

The log is empty.

On the screen:

(pgadmin4) js@sitasie ~/v/pgadmin4 12:19:59> ~/pgadmin4-2.1/runtime/pgAdmin4
Traceback (most recent call last):
  File "/home/js/pgadmin4-2.1/web/pgAdmin4.py", line 34, in <module>
    import config
  File "/home/js/pgadmin4-2.1/web/config.py", line 14, in <module>
    import logging
ModuleNotFoundError: No module named 'logging'


I suspect your virtual environment or PYTHONPATH have not configured properly.

Regards
Johann
--
Johann Spies                            Telefoon: 021-808 4699
Databestuurder /  Data manager          Faks: 021-883 3691

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology
Universiteit Stellenbosch.

The integrity and confidentiality of this e-mail is governed by these terms / Die integriteit en vertroulikheid van hierdie e-pos word deur die volgende bepalings gereël. http://www.sun.ac.za/emaildisclaimer