Bug#494415: aswiki: package is completely unusable

2008-08-11 Thread Michael Schutte
On Mon, Aug 11, 2008 at 09:38:47AM +0900, TANIGUCHI Takaki wrote:
> > IndexPage
> > /usr/lib/ruby/1.8/aswiki/backup.rb:40:in `ci'
> > /usr/lib/ruby/1.8/aswiki/repository.rb:31:in `save'
> > /usr/lib/ruby/1.8/aswiki/handler.rb:155:in `initialize'
> > /home/schm/public_html/aswiki/aswiki.cgi:50:in `new'
> > /home/schm/public_html/aswiki/aswiki.cgi:50
> > 
> > on saving a page, which was when I gave up.
> 
> This is not a bug. You should install rcs package or set '$USEBACKUP =
> false' in aswiki.conf.

Ah, I see.  Sorry for the false report—I only tried to check aswiki with
regard to the planned libdb-ruby transition [1] and did not take myself
enough time to look into this :-)

[1] http://lists.debian.org/debian-release/2008/08/msg00401.html

Cheers,
-- 
Michael Schutte <[EMAIL PROTECTED]>


signature.asc
Description: Digital signature


Bug#494415: aswiki: package is completely unusable

2008-08-10 Thread TANIGUCHI Takaki
Hi Michael,

At Sat, 9 Aug 2008 11:18:01 +0200,
Michael Schutte wrote:
> 
> [1  ]
> Package: aswiki
> Version: 1.0.4-5
> Severity: grave
> Justification: renders package unusable
> 
> Hi,
> 
> aswiki is broken.  When running it as a CGI script, the following
> exception is shown:
> 
>   wrong number of arguments (1 for 0)
>   /usr/lib/ruby/1.8/aswiki/handler.rb:229:in `initialize'
>   /usr/lib/ruby/1.8/aswiki/handler.rb:229:in `new'
>   /usr/lib/ruby/1.8/aswiki/handler.rb:229:in `makeeditpage'
>   /usr/lib/ruby/1.8/aswiki/handler.rb:257:in `initialize'
>   /home/schm/public_html/aswiki/aswiki.cgi:48:in `new'
>   /home/schm/public_html/aswiki/aswiki.cgi:48
> 
> This is apparently caused by aswiki relying on Digest::MD5.new accepting
> an argument containing the text to digest, which it does not.  After
> fixing this problem by monkey-patching Digest::MD5, aswiki reacted with

This is a bug. Maybe, this caused by Ruby's Digest::MD5 API change.
I will fix it.

>   IndexPage
>   /usr/lib/ruby/1.8/aswiki/backup.rb:40:in `ci'
>   /usr/lib/ruby/1.8/aswiki/repository.rb:31:in `save'
>   /usr/lib/ruby/1.8/aswiki/handler.rb:155:in `initialize'
>   /home/schm/public_html/aswiki/aswiki.cgi:50:in `new'
>   /home/schm/public_html/aswiki/aswiki.cgi:50
> 
> on saving a page, which was when I gave up.

This is not a bug. You should install rcs package or set '$USEBACKUP =
false' in aswiki.conf.

> 
> As aswiki has a low popcon store and is seemingly unmaintained upstream,
> removing it might be the easiest solution.
> 
> -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (700, 'testing'), (500, 'unstable')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
> Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) (ignored: 
> LC_ALL set to de_AT.UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages aswiki depends on:
> ii  libalgorithm-diff-ruby1.8 0.4-5  Ruby conversion of the Perl's 
> Algo
> ii  libamrita-ruby1.8 1.0.2-4HTML/XML template library for 
> Ruby
> ii  libdbm-ruby1.81.8.7.22-2 DBM interface for Ruby 1.8
> ii  libruby1.8 [libstrscan-ruby1. 1.8.7.22-2 Libraries necessary to run Ruby 
> 1.
> ii  ruby1.8   1.8.7.22-2 Interpreter of object-oriented 
> scr
> 
> Versions of packages aswiki recommends:
> ii  libdb4.4-ruby1.8  0.6.2-1Interface to Berkeley DB for 
> Ruby 
> pn  rcs(no description available)
> 
> aswiki suggests no packages.
> 
> -- no debconf information
> 
> Cheers,
> -- 
> Michael Schutte <[EMAIL PROTECTED]>
> [2 Digital signature ]
> 

Thanks,
TANIGUCHI Takaki



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#494415: aswiki: package is completely unusable

2008-08-09 Thread Michael Schutte
Package: aswiki
Version: 1.0.4-5
Severity: grave
Justification: renders package unusable

Hi,

aswiki is broken.  When running it as a CGI script, the following
exception is shown:

wrong number of arguments (1 for 0)
/usr/lib/ruby/1.8/aswiki/handler.rb:229:in `initialize'
/usr/lib/ruby/1.8/aswiki/handler.rb:229:in `new'
/usr/lib/ruby/1.8/aswiki/handler.rb:229:in `makeeditpage'
/usr/lib/ruby/1.8/aswiki/handler.rb:257:in `initialize'
/home/schm/public_html/aswiki/aswiki.cgi:48:in `new'
/home/schm/public_html/aswiki/aswiki.cgi:48

This is apparently caused by aswiki relying on Digest::MD5.new accepting
an argument containing the text to digest, which it does not.  After
fixing this problem by monkey-patching Digest::MD5, aswiki reacted with

IndexPage
/usr/lib/ruby/1.8/aswiki/backup.rb:40:in `ci'
/usr/lib/ruby/1.8/aswiki/repository.rb:31:in `save'
/usr/lib/ruby/1.8/aswiki/handler.rb:155:in `initialize'
/home/schm/public_html/aswiki/aswiki.cgi:50:in `new'
/home/schm/public_html/aswiki/aswiki.cgi:50

on saving a page, which was when I gave up.

As aswiki has a low popcon store and is seemingly unmaintained upstream,
removing it might be the easiest solution.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to de_AT.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aswiki depends on:
ii  libalgorithm-diff-ruby1.8 0.4-5  Ruby conversion of the Perl's Algo
ii  libamrita-ruby1.8 1.0.2-4HTML/XML template library for Ruby
ii  libdbm-ruby1.81.8.7.22-2 DBM interface for Ruby 1.8
ii  libruby1.8 [libstrscan-ruby1. 1.8.7.22-2 Libraries necessary to run Ruby 1.
ii  ruby1.8   1.8.7.22-2 Interpreter of object-oriented scr

Versions of packages aswiki recommends:
ii  libdb4.4-ruby1.8  0.6.2-1Interface to Berkeley DB for Ruby 
pn  rcs(no description available)

aswiki suggests no packages.

-- no debconf information

Cheers,
-- 
Michael Schutte <[EMAIL PROTECTED]>


signature.asc
Description: Digital signature