[Bins] problem with --sample file.jpg

Jérôme SAUTRET jerome at sautret.org
Fri Aug 29 22:43:07 BST 2003


On Sat, Aug 09, 2003 at 08:13:11AM +0200, Franck Collineau wrote:
> Greetings,
> 
> I'm using BINS 1.1.22 and i have a problem.
> When i run bins with album and subalbums there is an error with the last 
> subalbum.
> The album.xml of the last subalbum is performed by this command:
> bins_edit -a -t 'MyTitle' --sample file.jpg  --longdesc 'MyLongdesc' 
> --shortdesc "MyShortdesc"
> 
> There is no problem if i omit --sample file.jpg
> The error message is:
> HTML::Template->new() : Unknown or unmatched TMPL construct at 
> /etc/bins/templates.default/subalbum.html : line 6. at 
> /usr/lib/perl5/vendor_perl/5.8.0/HTML/Template.pm line 2130.
> 
> Is it a bug or did i do a mistake ?

An user has reported the same problem, and it seems to happen in the
following case : 

:> When I create a subalbum which uses an album.xml and in it the "sampleimage"
:> field is used AND if this subalbum containing this is the last in the list I
:> get following error:
:> HTML::Template->new() : Unknown or unmatched TMPL construct at
:> /etc/bins/templates.joi/subalbum.html : line 6. at
:> /usr/lib/perl5/site_perl/5.8.0/HTML/Template.pm line 2130.

But I really don't understand why for now. Still investigating...

-- 
Jérôme SAUTRET (Jerome at SAUTRET.org)           http://SAUTRET.org
Key 0x95D463F3 fingerprint 3B69 3B60 4D32 B8DF 2BF3 8035 5036 D41A 95D4 63F3


More information about the Bins mailing list