]> sipb.mit.edu Git - ikiwiki.git/blob - doc/bugs/Error:_no_text_was_copied_in_this_page_--_missing_page_dependencies.mdwn
Report.
[ikiwiki.git] / doc / bugs / Error:_no_text_was_copied_in_this_page_--_missing_page_dependencies.mdwn
1 That one has bitten me for some time; here is the minimal testcase.  There is
2 also an equivalent (I suppose) problem when using another plugin, but I hope
3 it's enough to track it down for this one.
4
5     $ tar -xj < [bug-dep_order.tar.bz2](http://www.thomas.schwinge.homeip.net/tmp/bug-dep_order.tar.bz2)
6     $ cd bug-dep_order/
7     $ ./render_locally
8     [...]
9     $ find "$PWD".rendered/ -print0 | xargs -0 grep 'no text was copied'
10     $ [no output]
11     $ touch news/2010-07-31.mdwn 
12     $ ./render_locally 
13     refreshing wiki..
14     scanning news/2010-07-31.mdwn
15     building news/2010-07-31.mdwn
16     building news.mdwn, which depends on news/2010-07-31
17     building index.mdwn, which depends on news/2010-07-31
18     done
19     $ find "$PWD".rendered/ -print0 | xargs -0 grep 'no text was copied'
20     /home/thomas/tmp/hurd-web/bug-dep_order.rendered/news.html:<p>[[!paste <span class="error">Error: no text was copied in this page</span>]]</p>
21     /home/thomas/tmp/hurd-web/bug-dep_order.rendered/news.html:<p>[[!paste <span class="error">Error: no text was copied in this page</span>]]</p>
22
23 This error shows up only for *news.html*, but not in *news/2010-07-31* or for
24 the aggregation in *index.html* or its RSS and atom files.
25
26 --[[tschwinge]]