Tamasha 0.6.1 "Recursive transclusion error in transclude widget"

$:/plugins/kookma/tamasha/templates/simple
$:/plugins/kookma/tamasha/templates/vanilla

Good morning,
The above error message appears in the plugin for both files.
Is there already a solution for this?
Thank you very much.

Guten Morgen,
in dem plugin erscheint bei den beiden Dateien die obige Fehlermeldung.
Gibt es schon eine Abhilfe dafür?
Vielen Dank.

1 Like

“Recursive transclusion error in transclude widget”

This message can sometimes appear when directly viewing a “template” tiddler. However, in most cases, these template tiddlers are not intended for direct viewing and are only used internally by the plugin code to transclude some other tiddler’s content.

While it may be somewhat disconcerting to see such messages, they are usually a normal side-effect of TiddlyWiki’s “everything is a tiddler” rendering logic. Nonetheless, it is good to make note of such messages so that the plugin author (in this case, @Mohammad) can determine if the error message can be safely ignored.

-e

1 Like

One quick trick, workaround is to add the field code-body=yes and it will not be rendered by the view template but as readable code.

  • Idealy @Mohammad will do this in his source.

It occurs when something includes itself, but something that is used as a template elsewhere is not designed to be viewed directly. ie it includes itself, which includes itself …

1 Like

Thank you for your prompt response.
I’ve learned something new. Thank you.

Vielen Dank für die schnelle Reaktion.
Wieder etwas gelernt. Danke.

According to Eric and Tony’s explanation, is the error message still appearing? Could you explain how it happens? If solved, ignore this message.

Hello,
Background:
I was searching your plugin for a way to make longer tiddlers scrollable in the slider view. I have now found this option.

I am still looking for a solution to the other problem, namely that images whose name (target) is defined in a field of the original tiddler are not displayed in the presentation.

During my search, I clicked on all the tiddlers in your plugin and the message described above appeared when viewing the respective tiddlers in both files.

I hope I have explained this clearly.
Thank you very much.

Guten Tag,
zum Hintergrund:
Ich war auf der Suche in Ihrem Plugin, die Möglichkeit einzustellen, dass längere Tiddler in der Slider-Ansicht scrollbar werden. Diese Möglichkeit habe ich realisiert.

Bei dem anderen Problem, dass in der Präsentation keine Bilder angezeigt werden, deren Name (Ziel) in einem Feld des ursprünglichen Tiddlers definiert sind, suche ich noch:)

Bei dieser Sucherei, hatte ich alle Tiddler Ihres Plugins angeklickt und dabei erschien bei den beiden Dateien eben diese beschriebene Meldung bei der Ansicht des jeweiligen Tiddles.

Ich hoffe, ich konnte es verständlich erklären.
Vielen Dank.