Re: python version, desktop mode (pgAdmin4)

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Willy-Bas Loos <willybas(at)gmail(dot)com>
Cc: pgAdmin Support <pgadmin-support(at)postgresql(dot)org>
Subject: Re: python version, desktop mode (pgAdmin4)
Date: 2017-01-12 09:43:18
Message-ID: CA+OCxoypk1WbkX_1sn3yksOVjYvw6-ezHghAqQNsnr-7Q3Q9+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi

On Wed, Jan 11, 2017 at 8:33 PM, Willy-Bas Loos <willybas(at)gmail(dot)com> wrote:
> Hi, i've just installed pgAdmin4 on ubuntu 14.04 using git (and QT4).
> I have 2 newbie questions about it:
>
> I use python3 in my virtualenv, but qmake says "Python2 detected". (i
> installed libqt4-dev with apt-get, so not within the virtualenv, i don't
> think the latter is possible?)
> I have not encountered any problems that i can relate to the deviant python
> version. So is this actually a bogus message? Or should i create an
> environment variable like on windows?

The project file is looking for the python-config (or python3-config)
executable on Linux/Mac. That is not typically in the virtualenv. It's
searching for an executable specified in $PYTHON_CONFIG, otherwise
python-config somewhere in the path, and finally, python3-config,
somewhere in the path.

> Also, the desktop mode still uses the browser. Only it stores my settings in
> a different file, which is stored in my home dir and without a password. And
> i have access to the root filesystem.
> I hear that on windows, this runs as a desktop application. Is there a
> possibility to do this for ubuntu?

Desktop mode *can* use a browser on any platform. It really just
determines how the app will behave (mostly by removing the need for
user accounts and un-sandboxing file access if enabled). If you can
build the Qt runtime on Ubuntu, you should also be able to run pgAdmin
in it. We don't have any Ubuntu packages for this yet, though you can
install the EDB PostgreSQL 9.6 installers which include pgAdmin 4.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Info Optin.mobi 2017-01-12 10:59:53 Enc: Erro não identificado ao tentar efetuar o backup no PgAdmin 4
Previous Message Pooja U 2017-01-12 04:53:09 issue with importing data