Miguel Aguado wrote:

Hi,

> Line 248 in that file reads
> 
>   $self->_read_control_file_section($fh, $doc_data) or die "error: empty 
> control file";

install-docs shouldn't call die here, it's my oversight.


Could you please:

(1) replace

  or die "error: empty control file";

with

  or return $self->_prserr(PRS_FATAL_ERR, "error: empty control file");

in the line 248 of DocBaseFile.pm


(2) and then send me output of the following command (run as root):

  /usr/sbin/install-docs --install-all


The command should register all the valid doc-base files and print names
of the invalid ones.



> 
> but I'm not in a position to tell which file can't be accessed or contains no 
> doc_data. 

The error message seems to be misleading. The control file that caused
install-docs to break, is not empty, but probably contains only the
"Document: something" line.



Best Regards,
robert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to