How to deal with bogus entry in DB?

alick alick9188 at gmail.com
Wed Feb 8 03:27:44 UTC 2012


于 2012年02月08日 01:01, Steve Gordon 写道:
> ----- Original Message -----
>> From: "alick" <alick9188 at gmail.com>
>> To: "For participants of the Documentation Project" <docs at lists.fedoraproject.org>
>> Sent: Monday, February 6, 2012 10:33:45 PM
>> Subject: Re: How to deal with bogus entry in DB?
>>
>> 于 2012年02月04日 22:40, alick 写道:
>>> Hi docs folks,
>>>
>>> I think I have got a tough jouney to publish zh-CN translation of
>>> install guide.
>>>
>>> In the install-guide working directory, I want to install the book
>>> and
>>> get these error messages:
>>>
>>>   (f16>)$ publican install_book --site_config ../web/homepage.cfg
>>>   --lang
>>> zh-CN
>>>
>>>   DEBUG: Publican: config loaded
>>>   ERROR: bogus entry found in DB:
>>>   zh-TW/Fedora/12/pdf/Installation_Quick_Start_Guide
>>>   ERROR: bogus entry found in DB:
>>>   zh-TW/Fedora/12/pdf/Virtualization_Guide
>>>
>>
>> I was told the error message about bogus entry do not mean that
>> something went wrong with new book install, and can be ignored.
>> I'll just ignore it at the present.
> 
> This is true, but that doesn't mean it shouldn't be cleaned up - as it currently stands the menu structure indicates that these files exist, because that is what is in the databse, but clicking them gets a not found. 
> 
> Given the HTML, HTML-SINGLE, and EPUB versions of these guides exist for zh-TW I have taken the action of building the zh-TW PDFs based on the Fedora 12 branches, and associated translation files, and putting them in the website structure where the database says they should be. That should resolve this issue.
> 

Thank Steve, this should be a better solution.

-- 
alick
Fedora 16 (Verne) user
https://fedoraproject.org/wiki/User:Alick


More information about the docs mailing list