Package: libvpim-ruby1.8 Version: 0.15-1 Severity: normal encode seems to apply "fields" to an array:
/usr/lib/ruby/1.8/vpim/icalendar.rb:246:in `fields': undefined method `fields' for #<Array:0xb77b4988> (NoMethodError) from /usr/lib/ruby/1.8/vpim/icalendar.rb:246:in `each' from /usr/lib/ruby/1.8/vpim/icalendar.rb:246:in `fields' from /usr/lib/ruby/1.8/vpim/icalendar.rb:234:in `encode' from ./main.rb:31 from ./main.rb:17:in `each' from ./main.rb:17 When I try to run this code : cals = Vpim::Icalendar.decode(cal_file) cals.each do |cal| f = File.open(new_cal, 'w') f.write(cal.encode) end -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.26.3-grsec Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages libvpim-ruby1.8 depends on: ii libruby1.8 1.8.5-4etch4 Libraries necessary to run Ruby 1. libvpim-ruby1.8 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org