Thread: pgAdmin4 Bug fix or my Fault ?

pgAdmin4 Bug fix or my Fault ?

From
Seçkin Alan
Date:
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 Gravatarfrom flask.ext.security import login_requiredfrom flask.ext.login import
current_userfrominspect 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
doesnot 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



Re: pgAdmin4 Bug fix or my Fault ?

From
Bruce Momjian
Date:
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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



Re: pgAdmin4 Bug fix or my Fault ?

From
Seçkin Alan
Date:
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@momjian.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@momjian.us>        http://momjian.us
>   EnterpriseDB                             http://enterprisedb.com
>
>   + Everyone has their own god. +



--
Seçkin ALAN
http://sckn.org



Re: pgAdmin4 Bug fix or my Fault ?

From
Dave Page
Date:
Hi

On Thu, May 14, 2015 at 7:44 AM, Seçkin Alan <seckinalan@gmail.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@postgresql.org != pgsql-hackers@postgresql.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@momjian.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@momjian.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



Re: pgAdmin4 Bug fix or my Fault ?

From
Seçkin Alan
Date:
Hi,
owww So sorry :(

On Thu, May 14, 2015 at 11:46 AM, Dave Page <dpage@pgadmin.org> wrote:
> Hi
>
> On Thu, May 14, 2015 at 7:44 AM, Seçkin Alan <seckinalan@gmail.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@postgresql.org != pgsql-hackers@postgresql.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@momjian.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@momjian.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