[pyar] rst2pdf

Daniel dmlistapython en gmail.com
Mar Sep 20 11:57:36 ART 2011


Estoy tratando de hacer funcionar rst2pdf
pero no puedo lograrlo

no se si el bug lo tiene el rst2pdf o yo :)

tengo este error:
-------------------------------------------------------------------------------------
cat template.txt | rst2pdf -o readme.pdf
Traceback (most recent call last):
  File "/usr/local/bin/rst2pdf", line 8, in <module>
    load_entry_point('rst2pdf==0.16', 'console_scripts', 'rst2pdf')()
  File "/usr/local/lib/python2.7/site-packages/rst2pdf-0.16-py2.7.egg/rst2pdf/createpdf.py",
line 1452, in main
    numbered_links=options.numbered_links,
  File "/usr/local/lib/python2.7/site-packages/rst2pdf-0.16-py2.7.egg/rst2pdf/createpdf.py",
line 169, in __init__
    get_language (self.language)
TypeError: get_language() takes exactly 2 arguments (1 given)

--------------------------------------------------------------------------------------
o por el otro método:

rst2pdf template.txt -o prueba.pdf
Traceback (most recent call last):
  File "/usr/local/bin/rst2pdf", line 8, in <module>
    load_entry_point('rst2pdf==0.16', 'console_scripts', 'rst2pdf')()
  File "/usr/local/lib/python2.7/site-packages/rst2pdf-0.16-py2.7.egg/rst2pdf/createpdf.py",
line 1452, in main
    numbered_links=options.numbered_links,
  File "/usr/local/lib/python2.7/site-packages/rst2pdf-0.16-py2.7.egg/rst2pdf/createpdf.py",
line 169, in __init__
    get_language (self.language)
TypeError: get_language() takes exactly 2 arguments (1 given)

------------------------------------------------------------------------------------------

alguna idea?

-- 
Daniel Malisani



More information about the pyar mailing list