public inbox for [email protected]
help / color / mirror / Atom feedFrom: Albe Laurenz <[email protected]>
To: 'Neel Patel *EXTERN*' <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: pgAdmin 4 as Web application
Date: Tue, 9 Aug 2016 13:51:14 +0000
Message-ID: <A737B7A37273E048B164557ADEF4A58B5388C035@ntex2010i.host.magwien.gv.at> (raw)
In-Reply-To: <CACCA4P3t7kUrO=7BLUXS03dQjMB385Lrx6JOUfOUjTNdmrPWCQ@mail.gmail.com>
References: <A737B7A37273E048B164557ADEF4A58B5388A845@ntex2010i.host.magwien.gv.at>
<CACCA4P3QZ5vbhDbZre7Dt=fQHHRHwuLqJHzo5BzH3Zqh5RY1XQ@mail.gmail.com>
<A737B7A37273E048B164557ADEF4A58B5388BF93@ntex2010i.host.magwien.gv.at>
<CACCA4P3t7kUrO=7BLUXS03dQjMB385Lrx6JOUfOUjTNdmrPWCQ@mail.gmail.com>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
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 >= 0x050000
> // Extract filename and query from encoded URL
> QUrlQuery query_data(reply->url());
> QString file_name = query_data.queryItemValue("filename");
> QString query = query_data.queryItemValue("query");
> #else
> QUrl url(reply->url());
> QString file_name = url.queryItemValue("filename");
> QString query = url.queryItemValue("query");
> #endif
Oh, I see now, thank you for the help.
I was missing commit dcf5bfc495bea1d5b28c389335cbd89e73468aaa (I downloaded
the pgadmin4-1.0-beta3 source).
After editing the file, I can build it, but when starting "pgadmin4" I get
Full Python path: ""
User Python path: ""
Webapp path: "/MYSQL/mysqldata/fs1/rpmbuild/pgadmin4-1.0-beta3/web/pgAdmin4.py"
Traceback (most recent call last):
File "/MYSQL/mysqldata/fs1/rpmbuild/pgadmin4-1.0-beta3/web/pgAdmin4.py", line 24, in <module>
from pgadmin import create_app
File "/MYSQL/mysqldata/fs1/rpmbuild/pgadmin4-1.0-beta3/web/pgadmin/__init__.py", line 281
arch_keys = {0}
^
SyntaxError: invalid syntax
The same happens when I try to start it as web application.
My system has
Python 2.6.6
Qt 4.6.2
Apache httpd 2.2.15
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]
Subject: Re: pgAdmin 4 as Web application
In-Reply-To: <A737B7A37273E048B164557ADEF4A58B5388C035@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