public inbox for [email protected]  
help / color / mirror / Atom feed
From: Albe Laurenz <[email protected]>
To: 'Ashesh Vashi  *EXTERN*' <[email protected]>
Cc: Dave Page *EXTERN* <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: pgAdmin 4 as Web application
Date: Fri, 2 Sep 2016 12:45:24 +0000
Message-ID: <A737B7A37273E048B164557ADEF4A58B538979B6@ntex2010i.host.magwien.gv.at> (raw)
In-Reply-To: <CAG7mmoxDD35hq+L8nTMW80CbrZa=MpNVX17ExCr-KuLYN8+-gQ@mail.gmail.com>
References: <A737B7A37273E048B164557ADEF4A58B5388A845@ntex2010i.host.magwien.gv.at>
	<CA+OCxoxsg-1z0X28586R2PXF-To0UwNZKm3FH+1-uj0pZDLATQ@mail.gmail.com>
	<A737B7A37273E048B164557ADEF4A58B5388C341@ntex2010i.host.magwien.gv.at>
	<CAG7mmoxDD35hq+L8nTMW80CbrZa=MpNVX17ExCr-KuLYN8+-gQ@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-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

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


view thread (14+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: pgAdmin 4 as Web application
  In-Reply-To: <A737B7A37273E048B164557ADEF4A58B538979B6@ntex2010i.host.magwien.gv.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox