Skip to content
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

Orders list download as pdf not working #283

Closed
timlinux opened this issue Sep 3, 2014 · 4 comments
Closed

Orders list download as pdf not working #283

timlinux opened this issue Sep 3, 2014 · 4 comments

Comments

@timlinux
Copy link
Contributor

timlinux commented Sep 3, 2014

No description provided.

@rischanlab
Copy link
Contributor

Hi @cchristelis

The problem in this issue is python-uno.
That is only support until ubuntu 12.04. and now there is unotools but only support for python3. Most of people recommend to use unotools but I guess that is not good approach, I am not sure what will be happend when we change the python version.

After I looking the problem, the error is the system could not imported uno. I found that the installation directory for this app is not in python default path. So I just add the uno dir to python path. Until this error import is fixed.

Then now the problem, we got this error.
screen shot 2015-12-16 at 10 41 05 am

As I understand, this is because uno need running office to accept the socket connection.
like this soffice "-accept=socket,host=localhost,port=2002;urp;"

So, I am still trying to solved this, or probably if you have another recommended solution, you can tell me.

Thanks.

@cchristelis
Copy link
Contributor

Hi @rischanlab, you are on the right track here. The system needs a headless office running. I thing that this will require us updating the docker container.

@rischanlab
Copy link
Contributor

Hi @cchristelis as I explained in the #316 .
Yesterday, whole day I just busy with this but I can't solved the error when I using libreoffice converter.

I stucked with this error, similar also with this

There are three choices to use django-webodt:

This library was not up to date.
My PR, using Abiword instead Openoffice. By using Abiword we don't need to run office headless.

so, How do you think?
If you have time, please try this PR, so you can see the result.

Thanks

@gubuntu
Copy link
Contributor

gubuntu commented Dec 17, 2015

Tryton ERP uses Relatorio and jinja with odt templates to generate odt
docs, from which is is easy to output pdfs. Maybe look at how they do it.

On 17 December 2015 at 01:08, Rischan Mafrur [email protected]
wrote:

Hi @cchristelis https://github.com/cchristelis as I explained in the
#316 #316 .
Yesterday, whole day I just busy with this but I can't solved the error
when I using libreoffice converter.

I stucked with this error
http://stackoverflow.com/questions/25736582/how-to-uno-read-content-of-file-in-http-format,
similar also with this
http://quabr.com/18896652/libreoffice-unsupported-url-privatestream-with-django-webodt

There are three choices to use django-webodt:

This library was not up to date.
My PR, using Abiword instead Openoffice. By using Abiword we don't need to
run office headless.

so, How do you think?
If you have time, please try this PR, so you can see the result.

Thanks


Reply to this email directly or view it on GitHub
#283 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants