Hi,
I do have problems with lit2mobi under ubuntu linux.
My .lit is exploded into the ctmp subdir apparently ok, but subsequent generation seems unable to parse the .opf file
Same result if I try to use directly opf2mobi on the generated .opf
If I debug the opf2mobi it chokes in:
...
</guide>
</package>
no element found
at /usr/local/share/perl/5.8.8/XML/Parser/LiteCopy.pm line 167
XML::Parser::LiteCopy::_final() called at /usr/local/share/perl/5.8.8/XML/Parser/LiteCopy.pm line 154
XML::Parser::LiteCopy:

arse('XML::Parser::LiteCop y=HASH(0x8a6b1ac)', '<?xml version="1.0" encoding="UTF-8" ?>\x{a}<!DOCTYPE package \x{a} ...') called at /usr/local/share/perl/5.8.8/XML/Parser/Lite/Tree.pm line 49
XML::Parser::Lite::Tree:

arse('XML::Parser::Lite: :Tree=HASH(0x8a3ca9c)', '<?xml version="1.0" encoding="UTF-8" ?>\x{a}<!DOCTYPE package \x{a} ...') called at /home/mauro/workspace/MobiPerl/MobiPerl/Opf.pm line 123
MobiPerl::Opf::initialize_from_file('MobiPerl::Opf =HASH(0x8a3c208)', 'ctmp/Pippo.opf') called at /home/mauro/workspace/MobiPerl/MobiPerl/Opf.pm line 29
MobiPerl::Opf::new('MobiPerl::Opf', 'ctmp/Pippo.opf') called at /home/mauro/workspace/MobiPerl/MobiPerl/Util.pm line 49
MobiPerl::Util::get_tree_from_opf('ctmp/Pippo.opf', 'MobiPerl::Config=HASH(0x8a61968)', 'MobiPerl::LinksInfo=HASH(0x8343068)') called at /home/mauro/workspace/MobiPerl/opf2mobi.pl line 96
Peculiar thing is if I just run it (no debugging) the error is different:
...
</guide>
</package>
OPF: TITLE:
OPF: CREATOR:
OPFTITLE:
OPFAUTHOR:
Coverimage:
All spine elements have been added
Have Read in HTML tree from opf
FIX PRE TAGS
Saving mobi file (version 4): Pippo.mobi
COVEROFFSET: -1
THUMBOFFSET: -1
MobiFile.pm: before get_data()
EXTH setting data: author - 100 - - 0x
EXTH add: author - 100 -
MOBIHDR: imgrecpointer: 2
EXTH setting data: author - 100 - - 0x
EXTH add: author - 100 -
MobiFile.pm: after get_data()
MobiFile.pm: before Write()
Can't write a database with no name
The effect is the same, it continues, but has an empty opf structure, so nothing is written (if I give a title on the command line it completes, but with an empty .mobi)
What am I doing wrong?
TiA
ZioNemo