Your message dated Thu, 25 Oct 2007 05:47:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#447834: fixed in ruby1.8 1.8.6.111-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libruby1.8
Version: 1.8.6.111-1
Severity: important
Tags: patch

I have several programs that use REXML to generate XML documents.
Calling Document.write to output the XML document currently fails
and aborts execution with the following error message.

/usr/lib/ruby/1.8/rexml/document.rb:186:in `write':
undefined local variable or method `transitive' for
<UNDEFINED> ... </>:REXML::Document (NameError)

The API for write in /usr/lib/ruby/1.8/rexml/document.rb
and in the documentation is 

write( output=$stdout, indent=-1, trans=false, ie_hack=false )

But then on line 186 there is
    if transitive
       ...
    else
       ...
    end

"if transitive" should be "if trans".

Here is the simple patch to fix this problem:

===== BEGIN PATCH =====
--- document.rb 2007-10-23 20:10:34.000000000 -0600
+++ document-fix.rb     2007-10-23 20:11:06.000000000 -0600
@@ -183,7 +183,7 @@
         output = Output.new( output, xml_decl.encoding )
       end
       formatter = if indent > -1
-          if transitive
+          if trans
             REXML::Formatters::Transitive.new( indent, ie_hack )
           else
             REXML::Formatters::Pretty.new( indent, ie_hack )
====== END PATCH ======


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.23.1-amd64 (SMP w/2 CPU cores; PREEMPT)
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 libruby1.8 depends on:
ii  libc6                   2.6.1-6          GNU C Library: Shared libraries
ii  libncurses5             5.6+20071013-1   Shared libraries for terminal hand
ii  zlib1g                  1:1.2.3.3.dfsg-6 compression library - runtime

libruby1.8 recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: ruby1.8
Source-Version: 1.8.6.111-2

We believe that the bug you reported is fixed in the latest version of
ruby1.8, which is due to be installed in the Debian FTP archive:

irb1.8_1.8.6.111-2_all.deb
  to pool/main/r/ruby1.8/irb1.8_1.8.6.111-2_all.deb
libdbm-ruby1.8_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/libdbm-ruby1.8_1.8.6.111-2_i386.deb
libgdbm-ruby1.8_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/libgdbm-ruby1.8_1.8.6.111-2_i386.deb
libopenssl-ruby1.8_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/libopenssl-ruby1.8_1.8.6.111-2_i386.deb
libreadline-ruby1.8_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/libreadline-ruby1.8_1.8.6.111-2_i386.deb
libruby1.8-dbg_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/libruby1.8-dbg_1.8.6.111-2_i386.deb
libruby1.8_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/libruby1.8_1.8.6.111-2_i386.deb
libtcltk-ruby1.8_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/libtcltk-ruby1.8_1.8.6.111-2_i386.deb
rdoc1.8_1.8.6.111-2_all.deb
  to pool/main/r/ruby1.8/rdoc1.8_1.8.6.111-2_all.deb
ri1.8_1.8.6.111-2_all.deb
  to pool/main/r/ruby1.8/ri1.8_1.8.6.111-2_all.deb
ruby1.8-dev_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/ruby1.8-dev_1.8.6.111-2_i386.deb
ruby1.8-elisp_1.8.6.111-2_all.deb
  to pool/main/r/ruby1.8/ruby1.8-elisp_1.8.6.111-2_all.deb
ruby1.8-examples_1.8.6.111-2_all.deb
  to pool/main/r/ruby1.8/ruby1.8-examples_1.8.6.111-2_all.deb
ruby1.8_1.8.6.111-2.diff.gz
  to pool/main/r/ruby1.8/ruby1.8_1.8.6.111-2.diff.gz
ruby1.8_1.8.6.111-2.dsc
  to pool/main/r/ruby1.8/ruby1.8_1.8.6.111-2.dsc
ruby1.8_1.8.6.111-2_i386.deb
  to pool/main/r/ruby1.8/ruby1.8_1.8.6.111-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
akira yamada <[EMAIL PROTECTED]> (supplier of updated ruby1.8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 24 Oct 2007 12:21:04 +0900
Source: ruby1.8
Binary: libtcltk-ruby1.8 libruby1.8-dbg rdoc1.8 libgdbm-ruby1.8 ruby1.8-dev 
ruby1.8-elisp ruby1.8-examples libdbm-ruby1.8 irb1.8 ruby1.8 
libreadline-ruby1.8 libopenssl-ruby1.8 libruby1.8 ri1.8
Architecture: source i386 all
Version: 1.8.6.111-2
Distribution: unstable
Urgency: low
Maintainer: akira yamada <[EMAIL PROTECTED]>
Changed-By: akira yamada <[EMAIL PROTECTED]>
Description: 
 irb1.8     - Interactive Ruby (for Ruby 1.8)
 libdbm-ruby1.8 - DBM interface for Ruby 1.8
 libgdbm-ruby1.8 - GDBM interface for Ruby 1.8
 libopenssl-ruby1.8 - OpenSSL interface for Ruby 1.8
 libreadline-ruby1.8 - Readline interface for Ruby 1.8
 libruby1.8 - Libraries necessary to run Ruby 1.8
 libruby1.8-dbg - Debugging symbols for Ruby 1.8
 libtcltk-ruby1.8 - Tcl/Tk interface for Ruby 1.8
 rdoc1.8    - Generate documentation from Ruby source files (for Ruby 1.8)
 ri1.8      - Ruby Interactive reference (for Ruby 1.8)
 ruby1.8    - Interpreter of object-oriented scripting language Ruby 1.8
 ruby1.8-dev - Header files for compiling extension modules for the Ruby 1.8
 ruby1.8-elisp - ruby-mode for Emacsen
 ruby1.8-examples - Examples for Ruby 1.8
Closes: 447834
Changes: 
 ruby1.8 (1.8.6.111-2) unstable; urgency=low
 .
   * applied debian/paches/808_rexml_document_transitive.dpatch:
       - Document#write undefined local variable or method `transitive'.
         (closes: #447834)
Files: 
 4afe903f59a5a63cb3adac4fafe3923c 1061 interpreters optional 
ruby1.8_1.8.6.111-2.dsc
 aa63461f021ee72f56c051e58e316c39 43977 interpreters optional 
ruby1.8_1.8.6.111-2.diff.gz
 57b262f17e9235d93c51e63b7b5a6e14 268150 interpreters optional 
ruby1.8-examples_1.8.6.111-2_all.deb
 4013d83bfad0fb680a955e6a51671f1f 236096 interpreters optional 
ruby1.8-elisp_1.8.6.111-2_all.deb
 5110bb46f267078bccb2d0c9140098fa 1302064 interpreters optional 
ri1.8_1.8.6.111-2_all.deb
 974a84531954969f4ae3545e404c1298 335114 doc optional 
rdoc1.8_1.8.6.111-2_all.deb
 78056089c96b8c2c28d98b790456d87f 261060 interpreters optional 
irb1.8_1.8.6.111-2_all.deb
 34a11f29d1d868bdb98bf7ed1b6473ae 243422 interpreters optional 
ruby1.8_1.8.6.111-2_i386.deb
 b73d4985ed31822c67371f756a732504 1569816 libs optional 
libruby1.8_1.8.6.111-2_i386.deb
 df9dfb48a099e7d5ef3170ca2b4cf5e1 1326242 libdevel extra 
libruby1.8-dbg_1.8.6.111-2_i386.deb
 4270ebe8a77f87115d4fdc3f96ec6b30 743940 devel optional 
ruby1.8-dev_1.8.6.111-2_i386.deb
 81b33048b76a3c10da4e05b3d392c5fc 223066 interpreters optional 
libdbm-ruby1.8_1.8.6.111-2_i386.deb
 049969bac7caf9f067477eb47a7bfd80 222110 interpreters optional 
libgdbm-ruby1.8_1.8.6.111-2_i386.deb
 7815fa32aa2ac04574283013a9e9a722 222046 interpreters optional 
libreadline-ruby1.8_1.8.6.111-2_i386.deb
 218699c415f3f737b00195c1ea7d1264 1886786 interpreters optional 
libtcltk-ruby1.8_1.8.6.111-2_i386.deb
 4c29b32c76a317787cccd0d93be10f8b 320696 interpreters optional 
libopenssl-ruby1.8_1.8.6.111-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHHsCJXzkxpuIT8aARAsiqAJ9UoKwnG/zbli0rEvQ2cnHoYD0ucgCggQDz
aZE0jdJyUnWa6te0WjPnUdo=
=v5Dd
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to