Hyperlink not added to image in using xlsxwriter for c++ on RHEL 5.9 - xlsxwriter

I have inserted image in .xlsx file thru c on RHEL 5.9 using xlsxwriter but cannot add hyperlink to it using url attribute.
Please help.

I going to guess that you are talking about the C libxlsxwriter and not the Python XlsxWriter.
In which case the C library doesn't currently support urls for images. The Python module does.
Update:
As of version 0.8.9 libxlsxwriter supports images with urls.

Related

xlrd missing in GCP AI notebooks

Since today, every AI notebook I provision seems to be missing xlrd. Installing it with conda lands me in package hell: Trying to load an xlsx. First error: xlrd missing, install it. After installing xlrd: the current version (>=2) only supports xls, not xlsx.
One of the reasons I'm using GCP AI platform notebooks is this used to be hassle free. Does anyone have a fix or knowledge what is going on?
According to the this documentation xlrd library will no longer read anything other than .xls files. They recommend to look in Working with Excel Files in Python to check alternatives to xlsx files. As #ArthurBorshenko commented in your question, openpyxl is one option.
To install dependencies in AI Platform Notebooks follow the official documentation.

[vtk filters into blender

I'm trying to import vtk into Blender to use specific filters. I'm facing some difficulties since Blender is not able to find, and subsequently to use any filter.
Here is the situation:
I've build VTK including the python wrapping. I have DLLs and *.py libraries.
I have created PYTHONPATH and added both Wrapping\python and VTK\Release directories. Python 2.7 has been used to generate *.py VTK libraries. The python 3.4 interpreter (and blender since my version is using a python V3.4 distribution) is able to import the vtk library but gives me an error "Import error: Dynamic module does not define init function(PyInit_vtkCommonCorePython)"
I'm very pessimistic because VTK has been built using python 2.7 and blender uses python 3.4. Python 3.4 canno find the suitable DLL corresponding to the .py since VTK dlls are named "vtkLIBxxx27D-6.1.dll" and specifically dedicated for python 2.7.
Is there a way to force a backward compatibility to blender and its python interpreter to import a python 2.7 library?
Do we have any chance to make vtk (python 2.7) working into blender (python 3.4)?
Thanks for your help.
Laurent.
Blender 2.6 uses Python 3+, while VTK is wrapped for 2.7. The two APIs are incompatible (hence the major version change in Python).
If your aim is to import vtk polydata into Blender, my suggestion is that you save the VTK files as STL or OBJ (you have VTK writers for both) and import them into Blender that way.
I know this answer is a couple of years too late, but Blender and VTK can now use the same Python version, so I've recently updated a script that converts Blender meshes <==> VtkPolyData. If you are interested, the script and a few demos are here:
https://github.com/cwant/VTKBlender
Regards,
Chris

Odoo8 Qweb generated pdf document. The tablerows on the 2nd page are jammed

On the 2nd 3rd etc. page the tableheader and tablerows of quotation or invoice are jammed, when I print the document in pdf format.
This works the same (wrong) way in my own written templates too.
Brand new installed LinuxMint17 (Ubuntu clone), latest odoo8 (2015-01-29), wkhtmltox0.12.2.1
Is this a bug or a feature?
Any help would be appreciated!
Cheers! Janos
Hear it means that the current Report not using the compatible version of
Wkhtmltopdf python library
you need to check from version of current Wkhtmltopdf python library and
if it 0.12 to lower remove and reinstall then install the latest Wkhtmltopdf 0.12.X version or later and print your report again.
I hope this should help you.
There was a bug with wkhtmltox. I've downgraded to wkhtmltox-0.12.1 and everything works fine.

Jasper generated pdf report character rendering issue for language like Hindi

Report created from jasper not rendering properly for pdf in case of Hindi language.
e.g.
Correct Rendering should look like that
५ दिन
but rendered it wrongly.
Getting rendering issue for some characters only.
My application is running on Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64).
I used Mangal ttf file for rendering Hindi language.
I have tried following:
ireport pdf ecoding setup.
fontName="Mangal" size="9" isStrikeThrough="false" pdfFontName="akshar.ttf" pdfEncoding="Identity-H" isPdfEmbedded="true"
Font Extension and included jar file into my application.
Even upgraded my application jasper library.
Upgrading of Mangal ttf file.
Upgraded ubuntu specifically mscorefonts.
Help needed ASAP.
Thanks.

How can I programatically convert SVG files containing text to PDF files (specifically on CentOS 5.3 x86_64)?

I would like to programatically convert SVG files to PDF files. However, the SVG files contain text that must be searchable in the generated PDF files. Also, it has to work on Red Hat Enterprise Linux 5.3 or CentOS 5.3 for the x86_64 architecture. It would be nice if it were Open Source or at least not very expensive.
Here is what I've tried. All of these, except Batik, work fine on Debian Lenny.
Inkscape
I can get it installed using autopackages from http://inkscape.modevia.com/ap, but when I use it from the command line, the text is not searchable.
Batik rasterizer [sic]
When it converts SVG files to PDF files, the text is no longer searchable.
svg2pdf
The source for this and several of its dependencies are available to download. I have been trying to get it to compile on CentOS, but haven't had success yet. I found a precompiled version for Debian x86_64, but it doesn't work on CentOS.
rsvg-convert
Generated PDF isn't searchable on CentOS 5.3. Perhaps installing a newer version of cairo would help. Thanks to DaveParillo for mentioning rsvg-convert (on superuser).
SOLUTION (but perhaps some of the above will still be useful to the reader)
princeXML
It works fine on CentOS when installed from source. For some reason it doesn't work when installed from the .rpm. Thanks Erik Dahlström!
Cross posted on superuser
You could try princexml, it's free for non-commercial use.