Bug#542249: debbugs-local: unable to use due to bug or absent relevent documentation

View: New views
6 Messages — Rating Filter:   Alert me  

Bug#542249: debbugs-local: unable to use due to bug or absent relevent documentation

by Yaroslav Halchenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Package: debbugs-local
Version: 2.4.2~exp0
Severity: normal


Hi,

I am revealing my ignorance about debbugs (never had to run it myself), and I
know that debbugs needs configuration to make it work, but I hoped that
debbugs-local should work within user account and fetch/provide interface to
bugs relevant to a maintainer/user (as specified in DEBEMAIL).

Original announcement was:

  Once debbugs is uploaded to experimental (soon, I promise) and
  progresses through NEW[2], you can play with this by installing the
  debbugs-local package, and running:
 
  local-debbugs --mirror
  local-debbugs --daemon
  local-debbugs --search severity:serious
  local-debbugs --stop

So, I've installed local-debbugs (which installed debbugs-web etc), now,
running it:

$> local-debbugs --mirror
Unable to open configuration file /etc/debbugs/config for reading: No such file or directory at /usr/share/perl5/Debbugs/Config.pm line 995.
Compilation failed in require at /usr/share/perl5/Debbugs/Common.pm line 64.
BEGIN failed--compilation aborted at /usr/share/perl5/Debbugs/Common.pm line 64.
Compilation failed in require at /usr/bin/local-debbugs line 107.
BEGIN failed--compilation aborted at /usr/bin/local-debbugs line 107.

So, it does need initial configuration?

local-debbugs man page doesn't really describe usecases, nor there is
README for debbugs-local (btw -- why cmdline tool is not debbugs-local to match
the package name?)

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debbugs-local depends on:
ii  debbugs-web                   2.4.2~exp0 web scripts for the active Debian
ii  libconfig-simple-perl         4.59-3     simple configuration file class
ii  libdebbugs-perl               2.4.2~exp0 modules used by the active Debian
ii  libuser-perl                  1.6-2      Provides user data in an OS indepe
ii  rsync                         3.0.5-1    fast remote file copy program (lik

debbugs-local recommends no packages.

debbugs-local suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#542249: debbugs-local: unable to use due to bug or absent relevent documentation

by Don Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 18 Aug 2009, Yaroslav Halchenko wrote:
> So, it does need initial configuration?

Just touch /etc/debbugs/config for starters; I've actually fixed this
already, but I get around to making an upload to fix it for a bit.
 
> local-debbugs man page doesn't really describe usecases,

The only usecase is when you want a local mirror of debbugs, which is
what is stated in the first line of the manpage, and in the package
description.

> nor there is README for debbugs-local

The manpage should be the readme; it needs more examples, though, so
patches accepted. [There's a reason why it's in experimental.]

> (btw -- why cmdline tool is not debbugs-local to match the package
> name?)

Because it's a local debbugs; the package name is debbugs-local
because it's the local variant of the debbugs package.


Don Armstrong

--
An elephant: A mouse built to government specifications.
 -- Robert Heinlein _Time Enough For Love_ p244

http://www.donarmstrong.com              http://rzlab.ucr.edu



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#542249: debbugs-local: unable to use due to bug or absent relevent documentation

by Yaroslav Halchenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, 18 Aug 2009, Don Armstrong wrote:
> > So, it does need initial configuration?
> Just touch /etc/debbugs/config for starters; I've actually fixed this
nope

$> sudo touch /etc/debbugs/config
$> ls -ld /etc/debbugs/config
-rw------- 1 root root 0 2009-08-18 16:28 /etc/debbugs/config
$> sudo local-debbugs --mirror  
Error in configuration file: /etc/debbugs/config did not return a true value at (eval 7) line 1.
Compilation failed in require at /usr/share/perl5/Debbugs/Common.pm line 64.
BEGIN failed--compilation aborted at /usr/share/perl5/Debbugs/Common.pm line 64.
Compilation failed in require at /usr/bin/local-debbugs line 107.
BEGIN failed--compilation aborted at /usr/bin/local-debbugs line 107.


> > nor there is README for debbugs-local

> The manpage should be the readme; it needs more examples, though, so
> patches accepted. [There's a reason why it's in experimental.]
sure ;)

> > (btw -- why cmdline tool is not debbugs-local to match the package
> > name?)
> Because it's a local debbugs; the package name is debbugs-local
> because it's the local variant of the debbugs package.

;-) Especially following your reasoning I still do not see much of reason
why cmdline tool is not debbugs-local ;)

--
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]





--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#542249: debbugs-local: unable to use due to bug or absent relevent documentation

by Don Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 18 Aug 2009, Yaroslav Halchenko wrote:

> On Tue, 18 Aug 2009, Don Armstrong wrote:
> > > So, it does need initial configuration?
> > Just touch /etc/debbugs/config for starters; I've actually fixed this
> nope
>
> $> sudo touch /etc/debbugs/config
> $> ls -ld /etc/debbugs/config
> -rw------- 1 root root 0 2009-08-18 16:28 /etc/debbugs/config
> $> sudo local-debbugs --mirror  
> Error in configuration file: /etc/debbugs/config did not return a true value at (eval 7) line 1.
> Compilation failed in require at /usr/share/perl5/Debbugs/Common.pm line 64.
> BEGIN failed--compilation aborted at /usr/share/perl5/Debbugs/Common.pm line 64.
> Compilation failed in require at /usr/bin/local-debbugs line 107.
> BEGIN failed--compilation aborted at /usr/bin/local-debbugs line 107.

echo '1;' > /etc/debbugs/config; rather.
 

Don Armstrong

--
Americans can always be counted on to do the right thing, after they
have exhausted all other possibilities.
 -- W. Churchill

http://www.donarmstrong.com              http://rzlab.ucr.edu



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#542249: debbugs-local: unable to use due to bug or absent relevent documentation

by Yaroslav Halchenko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, 18 Aug 2009, Don Armstrong wrote:
> echo '1;' > /etc/debbugs/config; rather.
thanks! now I got further ;)

$> sudo local-debbugs --mirror
Can't locate HTTP/Server/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /usr/bin/local-debbugs line 196.
BEGIN failed--compilation aborted at /usr/bin/local-debbugs line 196.

$> sudo apt-file search HTTP/Server/Simple.pm
libhttp-server-simple-perl: /usr/share/perl5/HTTP/Server/Simple.pm
libtest-http-server-simple-perl: /usr/share/perl5/Test/HTTP/Server/Simple.pm
$> apt-cache policy libhttp-server-simple-perl                                
libhttp-server-simple-perl:
  Installed: (none)
  Candidate: 0.38-1
  Version table:
     0.38-1 0
        900 http://debian.lcs.mit.edu squeeze/main Packages
        600 http://debian.lcs.mit.edu sid/main Packages
$> apt-cache rdepends libhttp-server-simple-perl
libhttp-server-simple-perl
Reverse Depends:
  libhttp-server-simple-mason-perl
  libwww-mechanize-perl
  libtest-www-mechanize-perl
  libtest-http-server-simple-perl
  libsvn-web-perl
  libjifty-perl
  libhttp-server-simple-static-perl
  libhttp-server-simple-recorder-perl
  libcgi-application-server-perl


installing it helped! so I guess it should be among depends?
> Don Armstrong
--
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]





--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#542249: debbugs-local: unable to use due to bug or absent relevent documentation

by Don Armstrong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 18 Aug 2009, Yaroslav Halchenko wrote:
> installing it helped! so I guess it should be among depends?

Yerp; added.


Don Armstrong

--
I learned really early the difference between knowing the name of
something and knowing something
 -- Richard Feynman "What is Science" Phys. Teach. 7(6) 1969

http://www.donarmstrong.com              http://rzlab.ucr.edu



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...