Re: 'debiandoc2dbk -1' fails
On Tue, Oct 04, 2016 at 01:40:57PM -0400, Bob Bernstein wrote:
> I have a simple debdoc file "simple-epa-howto.sgml" that responds correctly
> (viz produces the desired output) to debdoc2html and debdoc2pdf.
> The .sgml file also seems to produce ok output with debiandoc2dbk; at least,
> the appropriate .dbk files are created in the expected subdirectory. (I
> haven't yet taken things farther than that.)
> However, here's the problem:
> $ debiandoc2dbk -1 simple-epa-howto.sgml
> Cannot create file ./simple-epa-howto.dbk.
> at /usr/share/perl5/DebianDoc_SGML/Format/XML.pm line 149.
push_output( 'file', File::Spec->catfile( "$directory", "$file" ) );
> Thoughts, anyone?
Do you already have directory named simple-epa-howto.dbk by running
debiandoc2dbk without -1, then you can not create file with the same
name unless you remove or rename the directory.