Comments (15)
I have pushed a workaround here that works fine for us, using libreoffice to render the XLSX file.
Ideally of course the best would be to solve the original bug.
from reporting-engine.
I confirm that the package "libreoffice-calc" is installed. The logs of the fusion server say:
2017-05-19 12:35:18,810 INFO server py3o.fusion server starting
2017-05-19 12:35:18,812 INFO server listing on port: 8765
2017-05-19 12:35:45,493 INFO formpage Request received launching thread
2017-05-19 12:35:46,449 INFO formpage rendering thread finished for target xls
2017-05-19 12:35:46,449 INFO formpage Errors sent to client --> ["Renderserver error: ServerError('<twisted.python.failure.Failure jpype._jexception.java.lang.NullPointerExceptionPyRaisable: java.lang.NullPointerException>',)"]
from reporting-engine.
I have the same problem, also can't generate ODS --> PDF .. help us pls..
from reporting-engine.
When I connect directly to py3o fusion (http://localhost:8765/form) and use the test form to test the rendering:
- ODS -> ODS work fine
- ODS -> XLS doesn't work and produce the same error in the py3o.fusion logs.
So my analysis is that the problem is located in py3o.fusion or py3o.renderserver and not in the Odoo module report_py3o.
from reporting-engine.
I opened a bug report on py3o.renderserver: https://bitbucket.org/faide/py3o.fusion/issues/2/ods-xls-conversion-doesnt-work
from reporting-engine.
@alexis-via hi..o/ you have any solution for this???
from reporting-engine.
@jr1003 No, I didn't find the solution so far. If you have some ideas to fix this, please comment on the bug report here or on bitbucket.
from reporting-engine.
@alexis-via one question.. you can convert ODS --> PDF????
from reporting-engine.
I have not tested ODS -> PDF, because I only need ODS -> XLS, so I don't know if ODS -> PDF works.
from reporting-engine.
=S .. any idea to fixed ????
from reporting-engine.
@elicoidal omg.. ty.. itΒ΄s work.. // .. one question.. you can convert ods to pdf ?.. i only can odt --> pdf
from reporting-engine.
@jr1003 It does not right now but it should not be difficult to achieve.
You would need to adapt the module: add a field for the desired output format (xls or pdf) and call the proper method of libreoffice accordingly.
from reporting-engine.
@elicoidal ty .. really.. ty so much..
from reporting-engine.
hope it helps! (until we can get the actual bug fixed π
from reporting-engine.
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
from reporting-engine.
Related Issues (20)
- [15.0] [BUG] bi_sql_editor Can't delete SQL view HOT 3
- [14.0][report_fillpdf] add support to automatically attach pdfs HOT 1
- Use case report_async HOT 1
- reportname is calles before assignment and breaks the report_download function HOT 1
- report name referenced before assingment HOT 2
- [16.0]BI SQL EDITOR dependency HOT 4
- SQL DISTINCT HOT 1
- TypeError: this._super.apply(...).finally is not a function (report_xlsx Odoo 13) HOT 2
- [Odoo 16.5] ValueError: Module report_csv: invalid manifest HOT 6
- [14.0] report_py3o print error HOT 3
- [16.0] [BUG] report_routes with no docids
- report_py3o in Odoo.sh HOT 2
- [16.0] [BUG] report_substitute not working on email templates HOT 2
- [14] get_report_xlsx() missing 4 required positional arguments HOT 2
- [16.0]sql_request_abstract widget ACE causing Web issues HOT 7
- View Joining to "_unknown" Relation Error HOT 7
- Migration to version 17.0 HOT 14
- The font is changed to "Noto Sans CJK SC Regular" which is different from the font designed in the template file. HOT 1
- [14.0] BI SQL Editor - Materialize View Deleted After Odoo.sh Rebuild HOT 3
- Not able to use report_xlsx version 17.0 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reporting-engine.