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-4    HTML/XML template library for Ruby
ii  libdbm-ruby1.8                1.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-1    Interface to Berkeley DB for Ruby 
pn  rcs                           <none>     (no description available)

aswiki suggests no packages.

-- no debconf information

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

Attachment: signature.asc
Description: Digital signature

Reply via email to