pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
barman binary not working properly
4+ messages / 3 participants
[nested] [flat]

* barman binary not working properly
@ 2015-06-08 12:38 neeraj tonu <tonuneeraj@gmail.com>
  2015-06-09 02:41 ` Re: barman binary not working properly Devrim Gündüz <devrim@gunduz.org>
  0 siblings, 1 reply; 4+ messages in thread

From: neeraj tonu @ 2015-06-08 12:38 UTC (permalink / raw)
  To: pgsql-admin

Hi All,

I am trying to perform Backup & Recovery using bakup & Recovery
Manager tool barman
As barman is python based, I installed the python package

Later I installed 'Barman' by below commands,
 ./setup.py build
 ./setup.py install
 ./setup.py install --user

Once after barman installation is completed I am trying to see the
help of barman, for which I am getting the below error

-bash-4.1$ barman --help
Traceback (most recent call last):
  File "/usr/bin/barman", line 4, in <module>
    import pkg_resources
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655,
in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse

Can anyone guide where I am doing the mistake.



Thanks & Regards
  Neeraj


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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: barman binary not working properly
  2015-06-08 12:38 barman binary not working properly neeraj tonu <tonuneeraj@gmail.com>
@ 2015-06-09 02:41 ` Devrim Gündüz <devrim@gunduz.org>
  2015-06-10 10:36   ` Re: barman binary not working properly neeraj tonu <tonuneeraj@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Devrim Gündüz @ 2015-06-09 02:41 UTC (permalink / raw)
  To: neeraj tonu <tonuneeraj@gmail.com>; pgsql-admin

Hi,

You need to install python-argparse .

Regards, Devrim

On June 8, 2015 3:38:10 PM GMT+03:00, neeraj tonu <tonuneeraj@gmail.com> wrote:
>Hi All,
>
>I am trying to perform Backup & Recovery using bakup & Recovery
>Manager tool barman
>As barman is python based, I installed the python package
>
>Later I installed 'Barman' by below commands,
> ./setup.py build
> ./setup.py install
> ./setup.py install --user
>
>Once after barman installation is completed I am trying to see the
>help of barman, for which I am getting the below error
>
>-bash-4.1$ barman --help
>Traceback (most recent call last):
>  File "/usr/bin/barman", line 4, in <module>
>    import pkg_resources
>  File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655,
>in <module>
>    working_set.require(__requires__)
>File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in
>require
>    needed = self.resolve(parse_requirements(requirements))
>File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in
>resolve
>    raise DistributionNotFound(req)
>pkg_resources.DistributionNotFound: argparse
>
>Can anyone guide where I am doing the mistake.
>
>
>
>Thanks & Regards
>  Neeraj
>
>
>-- 
>Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-admin

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: barman binary not working properly
  2015-06-08 12:38 barman binary not working properly neeraj tonu <tonuneeraj@gmail.com>
  2015-06-09 02:41 ` Re: barman binary not working properly Devrim Gündüz <devrim@gunduz.org>
@ 2015-06-10 10:36   ` neeraj tonu <tonuneeraj@gmail.com>
  2015-06-10 13:00     ` Re: barman binary not working properly Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 1 reply; 4+ messages in thread

From: neeraj tonu @ 2015-06-10 10:36 UTC (permalink / raw)
  To: Devrim Gündüz <devrim@gunduz.org>; +Cc: pgsql-admin

Hi Devrim,
Thanks for your guidance , I installed python-argparse through yum.

After installing python-argparse also, it is not working properly
Can u guide me clearly.

Regards
Neeraj


On Tue, Jun 9, 2015 at 8:11 AM, Devrim Gündüz <devrim@gunduz.org> wrote:
> Hi,
>
> You need to install python-argparse .
>
> Regards, Devrim
>
>
> On June 8, 2015 3:38:10 PM GMT+03:00, neeraj tonu <tonuneeraj@gmail.com>
> wrote:
>>
>> Hi All,
>>
>> I am trying to perform Backup & Recovery using bakup & Recovery
>> Manager tool barman
>> As barman is python based, I installed the python package
>>
>> Later I installed 'Barman' by below commands,
>>  ./setup.py build
>>  ./setup.py install
>>  ./setup.py install --user
>>
>> Once after barman installation is completed I am trying to see the
>> help of barman, for which I am getting the below error
>>
>> -bash-4.1$ barman --help
>> Traceback (most recent call last):
>>   File "/usr/bin/barman", line 4, in <module>
>>     import pkg_resources
>>   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655,
>> in <module>
>>     working_set.require(__requires__)
>>   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in
>> require
>>     needed = self.resolve(parse_requirements(requirements))
>>   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in
>> resolve
>>     raise DistributionNotFound(req)
>> pkg_resources.DistributionNotFound: argparse
>>
>> Can anyone guide where I am doing the mistake.
>>
>>
>>
>> Thanks & Regards
>>   Neeraj
>>
>
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.


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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: barman binary not working properly
  2015-06-08 12:38 barman binary not working properly neeraj tonu <tonuneeraj@gmail.com>
  2015-06-09 02:41 ` Re: barman binary not working properly Devrim Gündüz <devrim@gunduz.org>
  2015-06-10 10:36   ` Re: barman binary not working properly neeraj tonu <tonuneeraj@gmail.com>
@ 2015-06-10 13:00     ` Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Devrim GÜNDÜZ @ 2015-06-10 13:00 UTC (permalink / raw)
  To: neeraj tonu <tonuneeraj@gmail.com>; +Cc: pgsql-admin


Hi,

On Wed, 2015-06-10 at 16:06 +0530, neeraj tonu wrote:
> Thanks for your guidance , I installed python-argparse through yum.
> 
> After installing python-argparse also, it is not working properly
> Can u guide me clearly.

So please install barman also via yum:

http://yum.PostgreSQL.org

Regards,

-- 
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR




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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2015-06-10 13:00 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08 12:38 barman binary not working properly neeraj tonu <tonuneeraj@gmail.com>
2015-06-09 02:41 ` Devrim Gündüz <devrim@gunduz.org>
2015-06-10 10:36   ` neeraj tonu <tonuneeraj@gmail.com>
2015-06-10 13:00     ` Devrim GÜNDÜZ <devrim@gunduz.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox