[Günter Milde, 12.03.2007]
> Version: 0.5.1-1
           ^^^^^^^

version 0.5.1 contains "cmdline_main", not "cmdline.main" - see line 79 in
/usr/share/pycentral/python-pygments/site-packages/pygments/__init__.py

("cmdline.main" is used in leter version, see package from experimental)

> The command line interface for the pygments module `pygmentize` contains a
> leftover from previous version that prevents it from working at all::

You are still using the older version! (see above)

>   [EMAIL PROTECTED]:~/.python/packages > pygmentize pylit.py
>   Traceback (most recent call last):
>     File "/usr/bin/pygmentize", line 4, in ?
>       sys.exit(pygments.cmdline_main(sys.argv))
>   AttributeError: 'module' object has no attribute 'cmdline_main'

Did you try to upgrade to 0.7.1-1 in the meantime?

(it works fine here with both 0.5.1-1 and 0.7.1-1)

-- 
:wq!

Attachment: pgpHllXO59txX.pgp
Description: PGP signature

Reply via email to