Package: doclifter
Version: 2.7-1
Severity: normal

Dear Maintainer,

Given this sample file:

,----[ doclifter-dot-fi.1 ]
| .TH DOCLIFTER-DOT-FI 1 "2012-12-22"
| .nf
| Sample text 
| .fi
`----

doclifter gives this error:

,----[ doclifter -v doclifter-dot-fi.1 ]
| doclifter-dot-fi.1 uses man macros...
| "doclifter-dot-fi.1", line 4: error - exception <type 'exceptions.TypeError'> 
on: .fi
| "doclifter-dot-fi.1", line 4: error - internal error on: .fi
| Traceback (most recent call last):
|   File "/usr/bin/doclifter", line 8030, in <module>
|     sys.exit(main(sys.argv[1:]))
|   File "/usr/bin/doclifter", line 8005, in main
|     transfile("doclifter", arguments, lifter, ".xml")
|   File "/usr/bin/doclifter", line 7940, in transfile
|     outdoc = translate_data(name, ifile, indoc, len(arguments)>1)
|   File "/usr/bin/doclifter", line 2130, in __call__
|     self.interpret_block(toplevel)
|   File "/usr/bin/doclifter", line 1723, in interpret_block
|     elif not self.execute(line, command, tokens):
|   File "/usr/bin/doclifter", line 1626, in execute
|     if interpreter.interpret(line, args, self):
|   File "/usr/bin/doclifter", line 3219, in interpret
|     if nextl and next[0:3] == TroffInterpreter.ctrl + "ft":
| TypeError: 'builtin_function_or_method' object has no attribute '__getitem__'
`----

I'm guessing that either "next" wasn't what was meant here, or it was
supposed to be (and perhaps once was?) a local variable.

I would point out that this prevents processing of such role-model
manpages as pipe(2), but it looks like doclifter dies for some other
reason there... (I guess ESR hasn't heard of test coverage?)

-- System Information:
Debian Release: wheezy/sidu
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
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 doclifter depends on:
ii  python  2.7.3~rc2-1

Versions of packages doclifter recommends:
ii  groff-base  1.21-9
ii  plotutils   2.6-3

Versions of packages doclifter suggests:
ii  python [python-profiler]  2.7.3~rc2-1

-- no debconf information

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to