<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 5, 2018 at 1:55 PM Bruno Cornec <<a href="mailto:bruno@victoria.frmug.org">bruno@victoria.frmug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">If I try from the CLI using the following command:<br>
$ qdbus org.kde.tellico /Tellico org.kde.tellico.exportHTML Disques.html<br>
<br>
I get the follwing error:<br>
Error: org.freedesktop.DBus.Error.NoReply<br>
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.<br>
<br>Is there a way to extend the timeout value so I have no issue anymore ?<br>
Or any other tip to avoid that problem.<br></blockquote><div><br></div><div>I don't know of anything off-hand, but I'll poke around.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I also tried another approach which is:<br>
<br>
$ unzip -p Disques.tc | xsltproc  /usr/share/tellico/tellico2html.xsl - > Disques2.html<br>
<br>
Which this time works, but doesn't generate the fields I want (as only<br>
title is mentionned in the xsl file) and also doesn't generate the<br>
individual html files per CD as with the graphical interface (which asks<br>
questions. Looking at the code, it seems that based on the options<br>
chosen, more functions are called to generate the correct content, but<br>
is there a way to get the final .xsl file generated so we could reuse it<br>
directly, or is there another solution to that approach (that would be<br>
more effective and usable with cron as well :-)</blockquote><div><br></div><div>There isn't a way to generate the individual HTML file with the unzip/xsltproc approach. But, you can tweak the HTML file output itself, though, passing --stringparam to the xsltproc command. Check the tellico2html.xsl file for some available parameters, such as</div><div> $ unzip -p Disques.tc tellico.xml | xsltproc  --stringparam column-names 'title artist' /usr/share/tellico/tellico2html.xsl - > Disques2.html</div><div><br></div><div>The column-names parameter is a space separated list of field names to use for columns. You can set the grouping and sorting parameters,as well.</div><div><br></div><div>Robby</div></div></div></div>