Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-09-05 Thread Ashesh Vashi
On Mon, Sep 5, 2016 at 8:15 PM, Albe Laurenz 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'. >

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-09-05 Thread Albe Laurenz
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/p

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-09-05 Thread Dave Page
On Mon, Sep 5, 2016 at 8:08 AM, Albe Laurenz wrote: > Dave Page wrote: >> On Fri, Sep 2, 2016 at 1:45 PM, Albe Laurenz wrote: >>> 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

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-09-05 Thread Albe Laurenz
Dave Page wrote: > On Fri, Sep 2, 2016 at 1:45 PM, Albe Laurenz wrote: >> 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/

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-09-02 Thread Dave Page
On Fri, Sep 2, 2016 at 1:45 PM, Albe Laurenz wrote: > 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

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-09-02 Thread Albe Laurenz
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 lates

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-08-10 Thread Ashesh Vashi
On Wed, Aug 10, 2016 at 12:58 PM, Albe Laurenz wrote: > Dave Page wrote: > >> There is no file "pgAdmin4.wsgi" available for download. > >> Did I miss something obvious? > > > > Hmm, no - looks like we did. I know people have been testing in web > > mode, so I wonder how this got missed! > > > >

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-08-10 Thread Albe Laurenz
Dave Page wrote: >> There is no file "pgAdmin4.wsgi" available for download. >> Did I miss something obvious? > > Hmm, no - looks like we did. I know people have been testing in web > mode, so I wonder how this got missed! > > I don't have time to test right now, but I believe something like the

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-08-09 Thread Albe Laurenz
Neel Patel wrote: > We already have condition for QUrlQuery class as below. It will be used only > if Qt version is >= 5.0. > > #if QT_VERSION >= 0x05 > // Extract filename and query from encoded URL > QUrlQuery query_data(reply->url()); > QString file_name = query_data.queryItemV

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-08-09 Thread Neel Patel
Hi, We already have condition for QUrlQuery class as below. It will be used only if Qt version is >= 5.0. #if QT_VERSION >= 0x05 // Extract filename and query from encoded URL QUrlQuery query_data(reply->url()); QString file_name = query_data.queryItemValue("filename"); QStrin

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-08-09 Thread Albe Laurenz
Neel Patel wrote: >> WebViewWindow.h:20:20: error: QWebView: No such file or directory > From the logs, it looks like - Qt webkit component is missing in Qt4 > installation. > Are you building Qt from source, If yes then there will be option in > configure script to build Qt4 > with webkit.

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-08-08 Thread Dave Page
On Mon, Aug 8, 2016 at 4:07 PM, Albe Laurenz wrote: > I'm trying to follow > https://www.pgadmin.org/docs4/dev/server_deployment.html > to install pgAdmin 4 as web application on RHEL 6, but I didn't get very far: > > There is no file "pgAdmin4.wsgi" available for download. > Did I miss something

Re: [pgadmin-hackers] pgAdmin 4 as Web application

2016-08-08 Thread Neel Patel
Hi, >From the logs, it looks like - Qt webkit component is missing in Qt4 installation. Are you building Qt from source, If yes then there will be option in configure script to build Qt4 with webkit. If you are not using source code, try installing webkit with yum (e.g. yum install libqt4-webkit).