Package: treil
Version: 1.3-1
Severity: important

Some, not all, directories don't work with 'treil';
for example:

    % treil -v Desktop/foobar_dir/ /tmp/output.png ; echo $? 
    Reader: DirReader
    Writer: CairoPNGWriter
    failed to generate `/tmp/output.png': bignum too big to convert into `long'
    /usr/lib/ruby/1.8/treil/reader.rb:97:in `new'
    /usr/lib/ruby/1.8/treil/reader.rb:97:in `read'
    /usr/bin/treil:155
    1

    # its parent directory gives a somewhat different error.
    % treil -v Desktop/ /tmp/output.png ; echo $? 
    Reader: ChangeLogReader
    Writer: CairoPNGWriter
    failed to generate `/tmp/output.png': divided by 0
    /usr/lib/ruby/1.8/treil/reader.rb:110:in `/'
    /usr/lib/ruby/1.8/treil/reader.rb:110:in `set_background_by_timestamp'
    /usr/lib/ruby/1.8/treil/reader.rb:326:in `read'
    /usr/bin/treil:155
    1

    # another dir works as expected.
    % treil -v Desktop/baz_dir/ /tmp/output.png ; echo $? 
    Reader: DirReader
    Writer: CairoPNGWriter
    `/tmp/output.png' generated
    0

Hope this helps...


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

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages treil depends on:
ii  libc6                        2.7-5       GNU C Library: Shared libraries
ii  libcairo-ruby1.8             1.5.0-1     Cairo bindings for the Ruby langua
ii  libexpat1                    1.95.8-4    XML parsing C library - runtime li
ii  libruby1.8                   1.8.6.111-2 Libraries necessary to run Ruby 1.
ii  libtreil0                    1.3-1       A shared library for treil (tree s
ii  ruby                         1.8.2-2     An interpreter of object-oriented 

treil recommends no packages.

-- debconf-show failed



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

Reply via email to