New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does xhtml2pdf support Python3.3? #190

Closed
sgeoffrey opened this Issue May 27, 2014 · 11 comments

Comments

Projects
None yet
10 participants
@sgeoffrey

we are moving our projects to python 3, does xhtml2pdf support python 3?

@darylyu

This comment has been minimized.

Show comment
Hide comment
@darylyu

darylyu May 27, 2014

Contributor

No. There is no official endorsement for that.

Contributor

darylyu commented May 27, 2014

No. There is no official endorsement for that.

@sgeoffrey

This comment has been minimized.

Show comment
Hide comment
@sgeoffrey

sgeoffrey May 27, 2014

has anybody tried it?, is there any feedback about that?

has anybody tried it?, is there any feedback about that?

@kevin-brown

This comment has been minimized.

Show comment
Hide comment
@kevin-brown

kevin-brown May 27, 2014

I believe a few pull requests were merged that fixed a few of the Python 3 issues within the code base, but I do not believe it is fully Py3 compatible yet. Try it out though, I am interested in hearing if it works.

I believe a few pull requests were merged that fixed a few of the Python 3 issues within the code base, but I do not believe it is fully Py3 compatible yet. Try it out though, I am interested in hearing if it works.

@jsma

This comment has been minimized.

Show comment
Hide comment
@jsma

jsma Nov 4, 2014

There is an incomplete pull request #197. If you are interested in getting Python 3 support, let's work together there to get this to the finish line.

jsma commented Nov 4, 2014

There is an incomplete pull request #197. If you are interested in getting Python 3 support, let's work together there to get this to the finish line.

@GildedHonour

This comment has been minimized.

Show comment
Hide comment
@ebar0n

This comment has been minimized.

Show comment
Hide comment
@ebar0n

ebar0n Feb 11, 2015

Contributor

Longer supported, I've used python django 3.4 and 1.7.

work at https://github.com/ebar0n/xhtml2pdf and already updated the main repository https://github.com/chrisglass/xhtml2pdf

Contributor

ebar0n commented Feb 11, 2015

Longer supported, I've used python django 3.4 and 1.7.

work at https://github.com/ebar0n/xhtml2pdf and already updated the main repository https://github.com/chrisglass/xhtml2pdf

@JimInCO

This comment has been minimized.

Show comment
Hide comment
@JimInCO

JimInCO Feb 12, 2015

Contributor

The code in the main repository is not python 3 compatible. At least one of the packages specified in requirements.txt do not work in Python 3 (reportlab==2.5).

When I run the command:
nosetests

I get four errors on my machine.

Contributor

JimInCO commented Feb 12, 2015

The code in the main repository is not python 3 compatible. At least one of the packages specified in requirements.txt do not work in Python 3 (reportlab==2.5).

When I run the command:
nosetests

I get four errors on my machine.

@taddeimania

This comment has been minimized.

Show comment
Hide comment
@taddeimania

taddeimania Apr 14, 2015

Contributor

👍

Contributor

taddeimania commented Apr 14, 2015

👍

@ebar0n

This comment has been minimized.

Show comment
Hide comment
@ebar0n

ebar0n Jun 26, 2015

Contributor

I use reportlab == 3.0, these days, I returned to supports the file requerimientos.txt not actualize as there are many using python 2.7

For my part libraria use smoothly under python 3.4 in my Django project

Upgrade reportlab apart, anything you mention me.

Contributor

ebar0n commented Jun 26, 2015

I use reportlab == 3.0, these days, I returned to supports the file requerimientos.txt not actualize as there are many using python 2.7

For my part libraria use smoothly under python 3.4 in my Django project

Upgrade reportlab apart, anything you mention me.

@alfaro28

This comment has been minimized.

Show comment
Hide comment
@alfaro28

alfaro28 Feb 19, 2016

Hi,
I'm getting this error:

Exception Value: string argument expected, got 'bytes'
Exception Location: /mypath/python3.4/site-packages/xhtml2pdf/document.py in pisaDocument, line 184

Any help is much appreciated

Hi,
I'm getting this error:

Exception Value: string argument expected, got 'bytes'
Exception Location: /mypath/python3.4/site-packages/xhtml2pdf/document.py in pisaDocument, line 184

Any help is much appreciated

@benjaoming

This comment has been minimized.

Show comment
Hide comment
@benjaoming

benjaoming Apr 19, 2016

Contributor

The development version supports Python 3, albeit not necessarily Python 3.3 as I don't think that's a widespread version anymore.

I regret that we don't have better documentation of the usage, but I invite everyone to use the latest alpha with Python 3 and make PRs that fix their issues.

Other than that, please rest assured that xhtml2pdf is in production in a lot of systems and is not broken as such, it just needs a kind loving hand :)

Contributor

benjaoming commented Apr 19, 2016

The development version supports Python 3, albeit not necessarily Python 3.3 as I don't think that's a widespread version anymore.

I regret that we don't have better documentation of the usage, but I invite everyone to use the latest alpha with Python 3 and make PRs that fix their issues.

Other than that, please rest assured that xhtml2pdf is in production in a lot of systems and is not broken as such, it just needs a kind loving hand :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment