public inbox for [email protected]
help / color / mirror / Atom feedFrom: Ashesh Vashi <[email protected]>
To: Albe Laurenz <[email protected]>
Cc: Dave Page *EXTERN* <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: pgAdmin 4 as Web application
Date: Mon, 5 Sep 2016 20:31:28 +0530
Message-ID: <CAG7mmoydW4U=ZjLTiXE53oRUWXBEpMi6jXSS+qgioOh_y_rHUA@mail.gmail.com> (raw)
In-Reply-To: <A737B7A37273E048B164557ADEF4A58B53898AC8@ntex2010i.host.magwien.gv.at>
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>
<A737B7A37273E048B164557ADEF4A58B538979B6@ntex2010i.host.magwien.gv.at>
<CA+OCxoyR4X=OfGCjj8CP=4N-T0ooOpL3WND3u-rRcJzcVR5idQ@mail.gmail.com>
<A737B7A37273E048B164557ADEF4A58B5389814A@ntex2010i.host.magwien.gv.at>
<CA+OCxoyV-WqkeOQkukaUkvBPtp5zWgL7e_XP7+S6V9bOKEUkdQ@mail.gmail.com>
<A737B7A37273E048B164557ADEF4A58B53898AC8@ntex2010i.host.magwien.gv.at>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
On Mon, Sep 5, 2016 at 8:15 PM, Albe Laurenz <[email protected]>
wrote:
> Dave Page wrote:
> >>>> 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.
> >>>
> >>> No, but there should be a pgadmin/utils/paths.py file. Is that there?
> >>
> >> Yes, there is, and it is readable to everyone.
> >>
> >> I don't know much about Python - could it be that version 2.7 handles
> this
> >> line differently from 3?
> >
> > No - I do all my development on 2.7 and it works fine (as do most of
> > the other devs I believe). 3.x is definitely less well tested, and 2.6
> > is behind that.
> >
> > Ashesh, any ideas what could be causing this?
>
I can think of existing .pyc files, which can cause this kind of problems.
--
Thanks & Regards,
Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com/;
*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi;
>
> Must have been something weird; a web server restart fixed the problem.
>
> Thanks for the help; it is working now.
>
> I'm kind of surprised that pgAdmin4 is already a release candidate, I still
> find lots of bugs just randomly clicking around.
> I'll report them of course.
>
> Yours,
> Laurenz Albe
>
view thread (14+ messages)
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: <CAG7mmoydW4U=ZjLTiXE53oRUWXBEpMi6jXSS+qgioOh_y_rHUA@mail.gmail.com>
* 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