Re: [pgadmin-support] 4th Try: pgadmin4 install, launch fail

2017-01-31 Thread Dave Page
On Tue, Jan 31, 2017 at 12:39 AM, stancs3  wrote:
>
> If I launch via:
>
> /usr/lib/python3.5/site-packages/pgadmin4-web/pgAdmin4.py
>
> it launches the web app, and says to got to localhost:5050. This works.
>
>
> If I launch via the Desktop app launcher, it sends the command:
>
> /usr/pgadmin4-v1/runtime/pgAdmin4
>
> This results in the error in email below. I have tried all combinations
> of different commands in the launcher, even the first one above, and it
> produces the same error. The runtime pgAdmin4 does not have a .py
> extension. If I run the runtime/pgAdmin4 directly, same error.
>
>
> If there was some way to run:
>
> /usr/lib/python3.5/site-packages/pgadmin4-web/pgAdmin4.py, and have it
> launch the desktop version, that would do it.

I assume the runtime is failing and popping up the dialog box asking
for the python and app paths. What are in those fields?



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

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


-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support


[pgadmin-support] Desktop application don't look well in Windows 10.

2017-01-31 Thread Javier Osvaldo Chércoles
Hi, I'm a new user in PostgreSQL. On last days I installed PostgreSQL 9.6, 
twice. When I try run pgAdmin 4, I can see as must the main screen.


Sorry if this not is the way to ask help.


Thank you.


Javier Chércoles

-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support


Re: [pgadmin-support] Desktop application don't look well in Windows 10.

2017-01-31 Thread Dave Page
On Tue, Jan 31, 2017 at 1:25 PM, Javier Osvaldo Chércoles
 wrote:
> Hi, I'm a new user in PostgreSQL. On last days I installed PostgreSQL 9.6,
> twice. When I try run pgAdmin 4, I can see as must the main screen.

Please see https://www.pgadmin.org/faq.php#6

> Sorry if this not is the way to ask help.

It's exactly the right way to ask for help :-)

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

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


-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support


[pgadmin-support] Building pgadmin4-1.1: Python3 virtual wrapper

2017-01-31 Thread Rich Shepard

  Running Slackware-14.1/32-bit on the server with python-2.7.13 and
python3-3.5.2.

  As root I try to install the virtual environment and wrapper. The former
is installed; the latter not:

# pip3 install virtualenv virtualenv-wrapper
Collecting virtualenv
  Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
100% || 1.8MB 236kB/s 
Collecting virtualenv-wrapper

  Could not find a version that satisfies the requirement virtualenv-wrapper
(from versions: )
No matching distribution found for virtualenv-wrapper

  Can you offer a suggestion to resolve this? I can ask on the python mail
list if that's more appropriate.

Rich


--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support


Re: [pgadmin-support] 4th Try: pgadmin4 install, launch fail

2017-01-31 Thread stancs3
Attached is the desktop launcher copied from /usr/share/applications/.
This was created from the install.

Error resulting:

"An error occurred initialising the application server:

Failed to locate pgAdmin5.py, terminating server thread."


This does not give you much further info. I can provide more debug info
if it will help; I am game to be coached on what/how to collect.

Your previous comment re a WIP for repo install: if it would simply be
better if I was to go the compile route, I am fine with this. I did it
for pgadmin3 a few months ago ... and it was good. On the other hand, a
nice repo install is likely the goal for us user dudes :).


Stan


On Tue, 2017-01-31 at 09:15 +, Dave Page wrote:
> On Tue, Jan 31, 2017 at 12:39 AM, stancs3 
> wrote:
> > 
> > 
> > If I launch via:
> > 
> > /usr/lib/python3.5/site-packages/pgadmin4-web/pgAdmin4.py
> > 
> > it launches the web app, and says to got to localhost:5050. This
> > works.
> > 
> > 
> > If I launch via the Desktop app launcher, it sends the command:
> > 
> > /usr/pgadmin4-v1/runtime/pgAdmin4
> > 
> > This results in the error in email below. I have tried all
> > combinations
> > of different commands in the launcher, even the first one above,
> > and it
> > produces the same error. The runtime pgAdmin4 does not have a .py
> > extension. If I run the runtime/pgAdmin4 directly, same error.
> > 
> > 
> > If there was some way to run:
> > 
> > /usr/lib/python3.5/site-packages/pgadmin4-web/pgAdmin4.py, and have
> > it
> > launch the desktop version, that would do it.
> I assume the runtime is failing and popping up the dialog box asking
> for the python and app paths. What are in those fields?
> 
> 
> 

pgadmin4-v1.desktop
Description: application/desktop

-- 
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support


Re: [pgadmin-support] Building pgadmin4-1.1: Python3 virtual wrapper

2017-01-31 Thread Dan Davis
Rich,

I've been successful installing it into a virtualenv, without using
virtualenv-wrapper.  I create the virtualenv, using -p to select the python
of my choice (Python 3), and then pip install from the saved wheel.

My success though is on a platform that would have supported
virtualenv-wrapper - CentOS 7 x86_64.  If my suggestions do not work for
you, then let me know and I'll try to reproduce this.

On Tue, Jan 31, 2017 at 1:42 PM, Rich Shepard 
wrote:

>   Running Slackware-14.1/32-bit on the server with python-2.7.13 and
> python3-3.5.2.
>
>   As root I try to install the virtual environment and wrapper. The former
> is installed; the latter not:
>
> # pip3 install virtualenv virtualenv-wrapper
> Collecting virtualenv
>   Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
> 100% || 1.8MB 236kB/s Collecting
> virtualenv-wrapper
>   Could not find a version that satisfies the requirement
> virtualenv-wrapper
> (from versions: )
> No matching distribution found for virtualenv-wrapper
>
>   Can you offer a suggestion to resolve this? I can ask on the python mail
> list if that's more appropriate.
>
> Rich
>
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
>