Project

General

Profile

Bug #6907

ikiwiki po plugin does not play well with inline directives

Added by BitingBird over 3 years ago. Updated over 1 year ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/11/2014
Due date:
% Done:

0%

QA Check:
Feature Branch:
Type of work:
Code
Blueprint:
Easy:
No
Affected tool:

Description


Related issues

Related to Tails - Bug #9671: rss and atom feed of l10n news show po file source Resolved 07/03/2015
Related to Tails - Bug #9279: ISO file size unit is not translatable on the download page Resolved 04/26/2015
Related to Tails - Bug #10124: po_translatable_pages is unstable on boum.org Rejected 08/31/2015
Related to Tails - Bug #12246: Untranslatable parts of documentation due to inline errors Confirmed 02/17/2017
Duplicated by Tails - Bug #7113: News titles are truncated on https://tails.boum.org/index.fr.html Duplicate 04/19/2014
Duplicated by Tails - Bug #9564: translated file doesn't get parsed in ikiwiki Duplicate 06/12/2015
Duplicated by Tails - Bug #12212: French version of https://tails.boum.org/news/ is broken Duplicate 02/03/2017

History

#1 Updated by BitingBird over 3 years ago

  • Status changed from New to Confirmed

#2 Updated by intrigeri over 3 years ago

  • Assignee set to intrigeri
  • Type of work changed from Website to Code

That's a bug in the ikiwiki PO plugin. I'll take care of it, but will treat it as low-priority personally. Don't hesitate being faster than me :)

#3 Updated by intrigeri over 3 years ago

  • Subject changed from Problem with the "news" titles on Frensh version, and partly in :de and :pt to Recurring problems with the "news" titles on non-English homepage

#4 Updated by intrigeri over 3 years ago

  • Duplicated by Bug #7113: News titles are truncated on https://tails.boum.org/index.fr.html added

#5 Updated by sajolida almost 3 years ago

  • Subject changed from Recurring problems with the "news" titles on non-English homepage to Truncated news titles on non-English homepage

#6 Updated by intrigeri about 2 years ago

  • Related to Bug #9671: rss and atom feed of l10n news show po file source added

#7 Updated by intrigeri about 2 years ago

  • Duplicated by Bug #9564: translated file doesn't get parsed in ikiwiki added

#8 Updated by intrigeri about 2 years ago

  • Subject changed from Truncated news titles on non-English homepage to ikiwiki po plugin does not play well with inline directives
  • Description updated (diff)
  • Assignee deleted (intrigeri)

Making this ticket (which is the oldest one we have about that ikiwiki bug) track the root cause of this problem. We have other tickets that track what looks like various symptoms of that bug (not sure what to do with them but people won't stop opening new ones anyway).

This bug is an old one, we've been seeing it from time to sime since years. And since years, I've tried to find a reliable reproducers for this bug a few times, but never managed to find one. One should instrument ikiwiki to debug it properly.

I doubt I'll have time to get to it any time soon. I think this ticket should have higher priority, though.

#9 Updated by intrigeri about 2 years ago

  • Description updated (diff)

#10 Updated by sajolida about 2 years ago

  • Related to Bug #9279: ISO file size unit is not translatable on the download page added

#11 Updated by sajolida about 2 years ago

  • Related to Bug #10124: po_translatable_pages is unstable on boum.org added

#12 Updated by sajolida about 2 years ago

Maybe Hole in the Roof?

#13 Updated by sajolida about 2 years ago

See also the files linked from #10309#note-2 to understand better how we're going to rely on inlines to factorize instructions in the installation assistant.

#14 Updated by sajolida about 2 years ago

While trying to reproduce #10124 I found out that cloning our repo and building the website was reproducing #9671 straight away (let's say using ikiwiki-cgi.setup on tag 1.5). Maybe it would be worth solving this one first as it's related and easy to reproduce?

#15 Updated by intrigeri almost 2 years ago

  • Target version set to Hole in the Roof

sajolida wrote:

Maybe Hole in the Roof?

Totally qualifies, good catch.

#16 Updated by intrigeri almost 2 years ago

sajolida wrote:

While trying to reproduce #10124 I found out that cloning our repo and building the website was reproducing #9671 straight away (let's say using ikiwiki-cgi.setup on tag 1.5).

Yeepee, a reproducer! Thanks a lot. Confirmed on current Debian unstable (3.20150614). Note to anyone wanting to work on this (or to report it upstream): one may need to modify the destdir in ikiwiki-cgi.setup after cloning, and before running ikiwiki. So "we" can now try and find someone with Perl skills (ikiwiki hacking experience would save them startup time but is not absolutely required) to work on it.

Maybe it would be worth solving this one first as it's related and easy to reproduce?

Yes (and then I'm curious to see if #9671 is just a symptom of #6907, or if one can fix it independently; everyone got what's my guess on it by now ;)

#17 Updated by sajolida almost 2 years ago

  • Assignee set to sajolida

This is not assigned to anybody, so I'll take it and report it upstream with instructions to reproduce it. But my Perl skills will end up here :)

#18 Updated by sajolida over 1 year ago

Assignee:

Now I can't reproduce this anymore :(

I tried with both ikiwiki 3.20160121 and 3.20141016.2:

  1. git reset --hard 1.5
  2. Change destdir in ikiwiki-cgi.set to
    config/chroot_local-includes/usr/share/doc/tails/website.
  3. rm -r ./wiki/src/.ikiwiki
    ./config/chroot_local-includes/usr/shar/doc/tails/website/*
  4. ikiwiki -setup ikiwiki-cgi.setup -rebuild

And each time the resulting
config/chroot_local-includes/usr/share/doc/tails/website/security.de.rss
looked fine.

#19 Updated by intrigeri over 1 year ago

Now I can't reproduce this anymore :(

The content of the ikiwiki state directory is probably as important as the Git state and ikiwiki version, to reproduce it.

#20 Updated by sajolida over 1 year ago

  • Assignee deleted (sajolida)

I'm aware of this and that's why I'm removing wiki/src/.ikiwiki each time (for me that's the "ikiwiki state directory") and I really think I did that last time as well... I'll stay on the lookout for more occurrence of this but with no promise.

#21 Updated by anonym 9 months ago

  • Duplicated by Bug #12212: French version of https://tails.boum.org/news/ is broken added

#22 Updated by xin 8 months ago

  • Related to Bug #12246: Untranslatable parts of documentation due to inline errors added

Also available in: Atom PDF