Lists: | pgsql-hackers |
---|
From: | Seçkin Alan <seckinalan(at)gmail(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | pgAdmin4 Bug fix or my Fault ? |
Date: | 2015-05-13 21:11:15 |
Message-ID: | CAJZJJmrpD90qgDWJni5cZ1ZPt-L1CqUL4wePyy9t9LmiBCg97Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi,
I am using Debian Jessie and install pgAdmin4 Required modules.
after I clone pgAdmin4 from
http://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary ,
First of, ıf I want run setup.py, I must fix bug .
after I want run pgadmin4.py, I must fix gravatar import line.
In this case,
There are really bugs?
or
is it my fault ?
Thank you.
diff --git a/web/pgadmin/browser/views.py b/web/pgadmin/browser/views.py
index 07637be..f336f31 100644
--- a/web/pgadmin/browser/views.py
+++ b/web/pgadmin/browser/views.py
@@ -11,7 +11,7 @@
MODULE_NAME = 'browser'
from flask import Blueprint, Response, current_app, render_template, url_for
-from flaskext.gravatar import Gravatar
+from flask_gravatar import Gravatar
from flask.ext.security import login_required
from flask.ext.login import current_user
from inspect import getmoduleinfo, getmembers
@@ -223,4 +223,4 @@ def get_nodes():
return resp
-
\ No newline at end of file
+
diff --git a/web/setup.py b/web/setup.py
index c7398f5..da6652e 100644
--- a/web/setup.py
+++ b/web/setup.py
@@ -59,7 +59,9 @@ def do_setup():
db.create_all()
user_datastore.create_role(name='Administrators',
description='pgAdmin Administrators Role')
user_datastore.create_user(email=email, password=password)
+ db.session.commit()
user_datastore.add_role_to_user(email, 'Administrators')
+
# Get the user's ID and create the default server group
user = User.query.filter_by(email=email).first()
@@ -138,4 +140,5 @@ if os.path.isfile(config.SQLITE_PATH):
do_upgrade()
else:
print "The configuration database %s does not exist.\nEntering
initial setup mode...\n" % config.SQLITE_PATH
- do_setup()
\ No newline at end of file
+ do_setup()
--
Seçkin ALAN
http://sckn.org
From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Seçkin Alan <seckinalan(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Dave Page <dpage(at)pgadmin(dot)org> |
Subject: | Re: pgAdmin4 Bug fix or my Fault ? |
Date: | 2015-05-13 23:32:40 |
Message-ID: | 20150513233240.GA31546@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
I think you want PGAdmin support:
http://www.pgadmin.org/support/list.php
Also, why isn't the non-subscribe email address listed on that webpage?
---------------------------------------------------------------------------
On Thu, May 14, 2015 at 12:11:15AM +0300, Seçkin Alan wrote:
> Hi,
> I am using Debian Jessie and install pgAdmin4 Required modules.
> after I clone pgAdmin4 from
> http://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary ,
>
> First of, ıf I want run setup.py, I must fix bug .
> after I want run pgadmin4.py, I must fix gravatar import line.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
From: | Seçkin Alan <seckinalan(at)gmail(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Dave Page <dpage(at)pgadmin(dot)org> |
Subject: | Re: pgAdmin4 Bug fix or my Fault ? |
Date: | 2015-05-14 06:44:32 |
Message-ID: | CAJZJJmqgSAYaB3Si3sW3OF4J-CrOYhvqY0ea_CdR1chkhwZ8rA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Bruce,
Thank you for "webpage" trick, I send subscrible mail to
pgadmin-hackers-request.
Actually I want to developer for pgadmin4.
I talk with Dave,
He say, "... You should use "git
diff" to create patches and then submit them to
pgadmin-hackers ..."
So,
If I want run pgadmin4 in Debian Jessie, need the patch code.
I send git diff beacause,
cant run pgadmin4-git-cloned version in jessie.
There are really bugs?
or
is it my fault ?
Sorry my English is not good,
I hope you understood my problem.
On Thu, May 14, 2015 at 2:32 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> I think you want PGAdmin support:
>
> http://www.pgadmin.org/support/list.php
>
> Also, why isn't the non-subscribe email address listed on that webpage?
>
> ---------------------------------------------------------------------------
>
> On Thu, May 14, 2015 at 12:11:15AM +0300, Seçkin Alan wrote:
>> Hi,
>> I am using Debian Jessie and install pgAdmin4 Required modules.
>> after I clone pgAdmin4 from
>> http://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary ,
>>
>> First of, ıf I want run setup.py, I must fix bug .
>> after I want run pgadmin4.py, I must fix gravatar import line.
>
> --
> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
> EnterpriseDB http://enterprisedb.com
>
> + Everyone has their own god. +
--
Seçkin ALAN
http://sckn.org
From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Seçkin Alan <seckinalan(at)gmail(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgAdmin4 Bug fix or my Fault ? |
Date: | 2015-05-14 08:46:51 |
Message-ID: | CA+OCxoyGXJYUFd=z1LbfO24nYhkDC1ehgmsSw9x4yd8TRRZd5A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi
On Thu, May 14, 2015 at 7:44 AM, Seçkin Alan <seckinalan(at)gmail(dot)com> wrote:
> Bruce,
> Thank you for "webpage" trick, I send subscrible mail to
> pgadmin-hackers-request.
>
> Actually I want to developer for pgadmin4.
> I talk with Dave,
> He say, "... You should use "git
> diff" to create patches and then submit them to
> pgadmin-hackers ..."
pgadmin-hackers(at)postgresql(dot)org != pgsql-hackers(at)postgresql(dot)org :-)
> So,
> If I want run pgadmin4 in Debian Jessie, need the patch code.
>
> I send git diff beacause,
> cant run pgadmin4-git-cloned version in jessie.
> There are really bugs?
> or
> is it my fault ?
>
>
> Sorry my English is not good,
> I hope you understood my problem.
>
>
>
>
> On Thu, May 14, 2015 at 2:32 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>>
>> I think you want PGAdmin support:
>>
>> http://www.pgadmin.org/support/list.php
>>
>> Also, why isn't the non-subscribe email address listed on that webpage?
>>
>> ---------------------------------------------------------------------------
>>
>> On Thu, May 14, 2015 at 12:11:15AM +0300, Seçkin Alan wrote:
>>> Hi,
>>> I am using Debian Jessie and install pgAdmin4 Required modules.
>>> after I clone pgAdmin4 from
>>> http://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary ,
>>>
>>> First of, ıf I want run setup.py, I must fix bug .
>>> after I want run pgadmin4.py, I must fix gravatar import line.
>>
>> --
>> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
>> EnterpriseDB http://enterprisedb.com
>>
>> + Everyone has their own god. +
>
>
>
> --
> Seçkin ALAN
> http://sckn.org
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From: | Seçkin Alan <seckinalan(at)gmail(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pgAdmin4 Bug fix or my Fault ? |
Date: | 2015-05-14 08:55:02 |
Message-ID: | CAJZJJmr1+xncBW2YFtUXe_kfREFg7=yxuNkhcRVsNAsQzFwy7w@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Hi,
owww So sorry :(
On Thu, May 14, 2015 at 11:46 AM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> Hi
>
> On Thu, May 14, 2015 at 7:44 AM, Seçkin Alan <seckinalan(at)gmail(dot)com> wrote:
>> Bruce,
>> Thank you for "webpage" trick, I send subscrible mail to
>> pgadmin-hackers-request.
>>
>> Actually I want to developer for pgadmin4.
>> I talk with Dave,
>> He say, "... You should use "git
>> diff" to create patches and then submit them to
>> pgadmin-hackers ..."
>
> pgadmin-hackers(at)postgresql(dot)org != pgsql-hackers(at)postgresql(dot)org :-)
>
>> So,
>> If I want run pgadmin4 in Debian Jessie, need the patch code.
>>
>> I send git diff beacause,
>> cant run pgadmin4-git-cloned version in jessie.
>> There are really bugs?
>> or
>> is it my fault ?
>>
>>
>> Sorry my English is not good,
>> I hope you understood my problem.
>>
>>
>>
>>
>> On Thu, May 14, 2015 at 2:32 AM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>>>
>>> I think you want PGAdmin support:
>>>
>>> http://www.pgadmin.org/support/list.php
>>>
>>> Also, why isn't the non-subscribe email address listed on that webpage?
>>>
>>> ---------------------------------------------------------------------------
>>>
>>> On Thu, May 14, 2015 at 12:11:15AM +0300, Seçkin Alan wrote:
>>>> Hi,
>>>> I am using Debian Jessie and install pgAdmin4 Required modules.
>>>> after I clone pgAdmin4 from
>>>> http://git.postgresql.org/gitweb/?p=pgadmin4.git;a=summary ,
>>>>
>>>> First of, ıf I want run setup.py, I must fix bug .
>>>> after I want run pgadmin4.py, I must fix gravatar import line.
>>>
>>> --
>>> Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
>>> EnterpriseDB http://enterprisedb.com
>>>
>>> + Everyone has their own god. +
>>
>>
>>
>> --
>> Seçkin ALAN
>> http://sckn.org
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
--
Seçkin ALAN
http://sckn.org