Bug 883633 - [abrt] python-xhtml2pdf-0.0.3-3.fc17: cssParser.py:922:_parseDeclarationGroup:CSSParseError: Declaration group closing '}' not found:: (u'{ filter: progid', u':DXImageTransform.Mi')
Summary: [abrt] python-xhtml2pdf-0.0.3-3.fc17: cssParser.py:922:_parseDeclarationGroup...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python-xhtml2pdf
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:dbe78138574c18e83f0b2394593...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-05 03:21 UTC by John Schmitt
Modified: 2012-12-14 09:08 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-14 09:08:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: executable (18 bytes, text/plain)
2012-12-05 03:21 UTC, John Schmitt
no flags Details
File: environ (3.50 KB, text/plain)
2012-12-05 03:21 UTC, John Schmitt
no flags Details
File: smolt_data (5.37 KB, text/plain)
2012-12-05 03:21 UTC, John Schmitt
no flags Details
File: core_backtrace (1.91 KB, text/plain)
2012-12-05 03:21 UTC, John Schmitt
no flags Details

Description John Schmitt 2012-12-05 03:21:02 UTC
Description of problem:
http://www.djangobook.com/en/2.0/index.html

Version-Release number of selected component:
python-xhtml2pdf-0.0.3-3.fc17

Additional info:
libreport version: 2.0.18
abrt_version:   2.0.18
cmdline:        /usr/bin/python /usr/bin/xhtml2pdf http://www.djangobook.com/en/2.0/index.html
kernel:         3.6.6-1.fc17.x86_64

backtrace:
:cssParser.py:922:_parseDeclarationGroup:CSSParseError: Declaration group closing '}' not found:: (u'{ filter: progid', u':DXImageTransform.Mi')
:
:Traceback (most recent call last):
:  File "/usr/bin/xhtml2pdf", line 9, in <module>
:    load_entry_point('xhtml2pdf==0.0.3', 'console_scripts', 'xhtml2pdf')()
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py", line 173, in command
:    execute()
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/pisa.py", line 425, in execute
:    xml_output = xml_output,
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/document.py", line 85, in pisaDocument
:    encoding, context=context, xml_output=xml_output)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/document.py", line 56, in pisaStory
:    pisaParser(src, context, default_css, xhtml, encoding, xml_output)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/parser.py", line 649, in pisaParser
:    context.parseCSS()
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/context.py", line 479, in parseCSS
:    self.css = self.cssParser.parse(self.cssText)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 357, in parse
:    src, stylesheet = self._parseStylesheet(src)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 452, in _parseStylesheet
:    src, atResults = self._parseAtKeyword(src)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 572, in _parseAtKeyword
:    src, result = self._parseAtImports(src)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 522, in _parseAtImports
:    stylesheet = self.cssBuilder.atImport(import_, mediums, self)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/css.py", line 666, in atImport
:    return cssParser.parseExternal(import_)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/context.py", line 340, in parseExternal
:    result = self.parse(cssFile.getData())
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 357, in parse
:    src, stylesheet = self._parseStylesheet(src)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 457, in _parseStylesheet
:    src, ruleset = self._parseRuleset(src)
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 737, in _parseRuleset
:    src, properties = self._parseDeclarationGroup(src.lstrip())
:  File "/usr/lib/python2.7/site-packages/xhtml2pdf/w3c/cssParser.py", line 922, in _parseDeclarationGroup
:    raise self.ParseError('Declaration group closing \'}\' not found', src, ctxsrc)
:CSSParseError: Declaration group closing '}' not found:: (u'{ filter: progid', u':DXImageTransform.Mi')
:
:Local variables in innermost frame:
:src: u':DXImageTransform.Microsoft.AlphaImageLoader(src="http://media.djangobook.com/images/comment-active.png", sizingMethod="scale"); }\n* #comments div.tab input { width: 95%; }\n'
:self: <xhtml2pdf.context.pisaCSSParser object at 0x29a0ed0>
:ctxsrc: u'{ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="http://media.djangobook.com/images/comment-active.png", sizingMethod="scale"); }\n* #comments div.tab input { width: 95%; }\n'
:property: (u'filter', u'progid', None)
:properties: [(u'filter', u'progid', None)]
:braces: True

Comment 1 John Schmitt 2012-12-05 03:21:06 UTC
Created attachment 657938 [details]
File: executable

Comment 2 John Schmitt 2012-12-05 03:21:08 UTC
Created attachment 657939 [details]
File: environ

Comment 3 John Schmitt 2012-12-05 03:21:09 UTC
Created attachment 657940 [details]
File: smolt_data

Comment 4 John Schmitt 2012-12-05 03:21:11 UTC
Created attachment 657941 [details]
File: core_backtrace

Comment 5 Matthias Runge 2012-12-14 09:08:43 UTC
can reproduce that also on f18. 

According to a css-validator this is an error in the underlying page. That is nothing, I can do about this.

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.djangobook.com%2Fen%2F2.0%2Findex.html&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en


Note You need to log in before you can comment on or make changes to this bug.