Re: pgAdmin 4 as Web application

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Ashesh Vashi *EXTERN*'" <ashesh(dot)vashi(at)enterprisedb(dot)com>
Cc: Dave Page *EXTERN* <dpage(at)pgadmin(dot)org>, "pgadmin-hackers(at)postgresql(dot)org" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: pgAdmin 4 as Web application
Date: 2016-09-02 12:45:24
Message-ID: A737B7A37273E048B164557ADEF4A58B538979B6@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Ashesh Vashi wrote:
>> Now I'm getting to the same error as with the standalone version, see
>> https://www.postgresql.org/message-

> Looks like the Python 2.6 compatibility has been broken.
>
> For now - can you use Python 2.7/3?

I tried again on a RHEL 7 machine with Python 2.7.5 and the
latest development version of pgAdmin4.

Now I get the following error:

mod_wsgi (pid=20880): Target WSGI script '/opt/pgadmin4/pgAdmin4.wsgi' cannot be loaded as Python module.
mod_wsgi (pid=20880): Exception occurred processing WSGI script '/opt/pgadmin4/pgAdmin4.wsgi'.
Traceback (most recent call last):
File "/opt/pgadmin4/pgAdmin4.wsgi", line 8, in <module>
from pgAdmin4 import app as application
File "/opt/pgadmin4/pgAdmin4.py", line 58, in <module>
app = create_app()
File "/opt/pgadmin4/pgadmin/__init__.py", line 204, in create_app
import pgadmin.utils.paths as paths
AttributeError: 'module' object has no attribute 'paths'

Indeed there is no pgadmin/utils/paths directory with a __init__.py in it.

What could be the problem?

Yours,
Laurenz Albe

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-09-02 13:38:41 pgAdmin website commit: 1.0 RC 1
Previous Message Susan Douglas 2016-09-01 18:59:58 Patch for pgAdmin 4