chrisglass/xhtml2pdf — Issue #28: AttributeError: 'tuple' object has no attribute 'scheme' 
Author: laulaz
Created: 2011-12-05 13:55:21+00:00
State: open

I get this error when trying to run pisa / xhtml2pdf :

pisa test.html test.pdf

Converting test.html to test.pdf...
Traceback (most recent call last):
File "bin/pisa", line 7, in ?
sys.exit(
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/pisa.py", line 173, in command
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/pisa.py", line 425, in execute
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/document.py", line 80, in pisaDocument
File "build/bdist.macosx-10.6-i386/egg/xhtml2pdf/context.py", line 404, in __init__
AttributeError: 'tuple' object has no attribute 'scheme'