Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35892

Summary: bins (1.1.23) cannot find HTML templates
Product: Gentoo Linux Reporter: Rene Schneider <r_schneid>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: normal CC: corporate_gadfly
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rene Schneider 2003-12-15 12:35:40 UTC
every call to bins ends with:
Error: cannot find HTML template details.html


Reproducible: Always
Steps to Reproduce:
1.producec directory (say source) of dirs with images 
2.mkdir album
3.bins source album
Actual Results:  
$ bins source/ alb/ 
 
BINS Photo Album 1.1.23 (http://bins.sautret.org/) 
Copyright 
Comment 1 Rene Schneider 2003-12-15 12:35:40 UTC
every call to bins ends with:
Error: cannot find HTML template details.html


Reproducible: Always
Steps to Reproduce:
1.producec directory (say source) of dirs with images 
2.mkdir album
3.bins source album
Actual Results:  
$ bins source/ alb/ 
 
BINS Photo Album 1.1.23 (http://bins.sautret.org/) 
Copyright © 2001,2002 Jérôme Sautret (Jerome@Sautret.org) 
Some parts of code: 
Copyright © 2000 Brendan McMahan (mcmahahb@whitman.edu) 
Copyright ©      John Moose (moosejc@muohio.edu) 
 
This is free software with ABSOLUTELY NO WARRANTY. 
See COPYING file for details. 
 
 > 
 > bla york > 
  Image dscn0735.jpg 
  Image dscn0739.jpg 
  Image dscn0746.jpg 
  Image dscn0747.jpg 
  Image dscn0754.jpg 
  Image dscn0760.jpg 
  Image dscn0762.jpg 
  Image dscn0763.jpg 
  Image dscn0764.jpg 
Error: cannot find HTML template details.html 
 
 
(i.e. it stops with the errror message, after processing the first sub dir) 

Expected Results:  
produce a html album for all the sub dirs 

bins-1.1.20-r1.ebuild works but bins-1.1.23.ebuild does not
Comment 2 Robert Coie (RETIRED) gentoo-dev 2003-12-22 00:20:01 UTC
Do you know where details.html is supposed to be?
Comment 3 Rene Schneider 2003-12-22 04:07:15 UTC
It is in /etc/bins/templates.default/details.html or more general, 
/etc/bins/templates.[style]/details.html where the style can be specified on the comand line. However, even specifying this directory as the template directory didn't work.
Comment 4 Haroon Rafique 2003-12-22 10:41:33 UTC
Robert,

Is this not related to the fix in 30436? IIRC, I originally reported 30436
because of symptoms similar to the OP (not 100% sure as I reported 30436
a long time ago).

If this is the case then, 1.1.23-r1 should fix the problem.
Comment 5 Haroon Rafique 2003-12-22 10:42:47 UTC
Here's a direct link to bug 30436 (forgot to add the word bug in the last comment)
Comment 6 Rene Schneider 2003-12-22 10:56:20 UTC
1.1.23-r1 fixed the problem indeed.

Thanks for your support,

Rene

*** This bug has been marked as a duplicate of 30436 ***