Bug 713696

Summary: [abrt] rst2pdf-0.16-4.fc15: createpdf.py:169:__init__:TypeError: get_language() takes exactly 1 argument (2 given)
Product: [Fedora] Fedora Reporter: MARTIN Damien <damien>
Component: rst2pdfAssignee: Sergio Pascual <sergio.pasra>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: damien, sergio.pasra
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:22be13445bb615dc64af325e649f02dc18c6a8d3
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-07 18:35:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description MARTIN Damien 2011-06-16 09:29:30 UTC
abrt version: 2.0.1
architecture:   i686
cmdline:        /usr/bin/python /usr/bin/rst2pdf cv.rst
component:      rst2pdf
executable:     /usr/bin/rst2pdf
kernel:         2.6.38.7-30.fc15.i686
os_release:     Fedora release 15 (Lovelock)
package:        rst2pdf-0.16-4.fc15
reason:         createpdf.py:169:__init__:TypeError: get_language() takes exactly 1 argument (2 given)
time:           Thu Jun 16 11:25:30 2011
uid:            500
username:       damien

backtrace:
:createpdf.py:169:__init__:TypeError: get_language() takes exactly 1 argument (2 given)
:
:Traceback (most recent call last):
:  File "/usr/bin/rst2pdf", line 9, in <module>
:    load_entry_point('rst2pdf==0.16', 'console_scripts', 'rst2pdf')()
:  File "/usr/lib/python2.7/site-packages/rst2pdf/createpdf.py", line 1452, in main
:    numbered_links=options.numbered_links,
:  File "/usr/lib/python2.7/site-packages/rst2pdf/createpdf.py", line 169, in __init__
:    get_language (self.language, None)
:TypeError: get_language() takes exactly 1 argument (2 given)
:
:Local variables in innermost frame:
:footnote_backlinks: True
:smarty: '0'
:inline_footnotes: False
:inlinelinks: False
:style_path: []
:numbered_links: False
:breakside: 'any'
:blank_first_page: False
:self: <rst2pdf.createpdf.RstToPdf object at 0x94eb5ec>
:basedir: '/home/damien/Projets/pelican-martin-damien.fr/src'
:header: None
:show_frame: False
:floating_images: False
:background_fit_mode: 'center'
:def_dpi: 300
:real_footnotes: False
:repeat_table_rows: False
:baseurl: 'file:///home/damien/Projets/pelican-martin-damien.fr/src/'
:stylesheets: []
:font_path: []
:highlightlang: 'python'
:splittables: True
:custom_cover: 'cover.tmpl'
:sphinx: False
:language: 'en'
:footer: None
:fit_mode: 'shrink'
:breaklevel: 0

Comment 1 Sergio Pascual 2011-06-16 10:57:03 UTC
This is strange, because in this function call, my version has 2 arguments and it works. What is your version of docutils?

Comment 2 MARTIN Damien 2011-06-16 11:05:16 UTC
% rpm -q python-docutils
python-docutils-0.8-0.1.20110517svn7036.fc15.noarch

Comment 3 Sergio Pascual 2011-06-24 04:42:38 UTC
I can't reproduce your problem. Please try by removing rst2pdf and docutils and
reinstalling again. 

Perphaps you have a different docutils 0.7 package installed somewhere in your
system (such as ~/.local/lib/python2.7/site-packages/)

Comment 4 Fedora End Of Life 2012-08-07 18:35:08 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping