[Bins] album.xml not being processed

Grégoire Redaud gregred3 at free.fr
Fri Aug 29 21:52:58 BST 2003


I just discovered bines, it looks really great !
A nice work !!!

I have exactly the same problem with 1.1.22 : 
album.xml is never processed. Something new
about that ?

Moreover, I have the following message when I run bins :
Unknown discipline ':utf8' at /usr/local/bin/bins line 3972.
I commented line 3972 and now it works...
Maybe it comes from my config, language, or a missing package ??







my album.xml :

<?xml version="1.0" encoding="UTF-8"?><album>
   <description>
   
      <field name="title">
         My Album
      </field>
   
      <field name="shortdesc">
         This is my album
      </field>
   
      <field name="sampleimage">
         image.jpg
      </field>
   </description>
   <bins>
   </bins>
</album>




the command :
bins images/ album/ -v 3



result :


BINS Photo Album 1.1.22 (http://bins.sautret.org/)
Copyright © 2001,2002 Jérôme Sautret (Jerome at Sautret.org)
Some parts of code:
Copyright © 2000 Brendan McMahan (mcmahahb at whitman.edu)
Copyright ©      John Moose (moosejc at muohio.edu)

This is free software with ABSOLUTELY NO WARRANTY.
See COPYING file for details.

Verbosity level is set to 3.
Reading global configuration file /etc/bins/binsrc.
   Reading configuration data from file...
    Reading configuration parameter 'homeURL':'/'
    Reading configuration parameter 'feedbackMail':''
    Reading configuration parameter 'colorStyle':'blue'
    Reading configuration parameter 'treePreview':'1'
    Reading configuration parameter 'thumbnailPageCycling':'1'
    Reading configuration parameter 'pathImgNum':'1'
    Reading configuration parameter 'imagePageCycling':'1'
    Reading configuration parameter 'pathShowIcon':'1'
    Reading configuration parameter 'emptyAlbumDesc':'0'
    Reading configuration parameter 'backgroundImage':''
    Reading configuration parameter 'customStyleSheet':''
    Reading configuration parameter 'excludeBackgroundImage':'1'
    Reading configuration parameter 'addExifToDescFile':'1'
    Reading configuration parameter 'createEmptyDescFields':'1'
    Reading configuration parameter 'hidden':'private'
    Reading configuration parameter 'ignore':'ignore'
    Reading configuration parameter 'jpegQuality':'75'
    Reading configuration parameter 'titleOnThumbnail':'1'
    Reading configuration parameter 'reverseOrder':'0'
    Reading configuration parameter 'defaultSize':'1'
    Reading configuration parameter 'thumbnailInImageList':'1'
    Reading configuration parameter 'albumThumbInSubAlbumPage':'1'
    Reading configuration parameter 'allThumbnailsPage':'0'
    Reading configuration parameter 'thumbnailBackground':'0'
    Reading configuration parameter 'numThumbsPerPage':'16'
    Reading configuration parameter 'thumbsPerRow':'4'
    Reading configuration parameter 'previewMaxWidth':'150'
    Reading configuration parameter 'previewMaxHeight':'150'
    Reading configuration parameter 'thumbPrevNext':'1'
    Reading configuration parameter 'rotateImages':'destination'
    Reading configuration parameter 'rotateWithJpegtran':'0'
    Reading configuration parameter 'scaleMethod':'scale'
    Reading configuration parameter 'scaleIfSameSize':'0'
    Reading configuration parameter 'linkInsteadOfCopy':'0'
    Reading configuration parameter 'enlarge':'0'
    Reading configuration parameter 'maxAlbumsForLongSubAlbum':'10'
    Reading configuration parameter 'stripDirPrefix':'1'
    Reading configuration parameter 'noRotation':'_Orig$'
    Reading configuration parameter 'excludeDirs':'^CVS$'
    Reading configuration parameter 'excludeFiles':''
    Reading configuration parameter 'compactHTML':'1'
    Reading configuration parameter 'javaScriptPreloadImage':'1'
    Reading configuration parameter 'javaScriptPreloadThumbs':'1'
    Reading configuration parameter 'createHtaccess':'1'
    Reading configuration parameter 'updateOriginalPerms':'1'
    Reading sizes parameters...    Reading color style parameter 'blue'...
    Reading color style parameter 'green'...
    Reading color style parameter 'ivory'...
    Reading color style parameter 'pink'...
No user configuration file ~/.bins/binsrc found.
Writing .htaccess file for album with charset encoding UTF-8.
title for album  is .
 > 
 Reading Exif info from picture file dscf0011.jpg...
  Found new value '' for FileSource
  Found new value 'Multi-segment' for MeteringMode
  Found new value '2048' for width
  Found new value '0' for Tag-0xa402
  Found new value 'Program' for ExposureProgram
  Found new value '0' for Tag-0xa403
  Found new value '0' for Tag-0xa406
  Found new value '2678,00' for FocalPlaneXResolution
  Found new value '72/1 dpi' for resolution
  Found new value '1536' for ExifImageLength
  Found new value '16' for Flash
  Found new value 'FinePix S602 ZOOM' for Model
  Found new value '2048' for ExifImageWidth
  Found new value 'FUJIFILM' for MakerNote
  Found new value '2,80' for FNumber
  Found new value '8 8 8' for BitsPerSample
  Found new value 'R98' for InteroperabilityIndex
  Found new value '2' for SensingMethod
  Found new value 'F2,83 (3,00 APEX)' for MaxApertureValue
  Found new value '0100' for InteroperabilityVersion
  Found new value 'FUJIFILM' for Make
  Found new value 'Auto' for LightSource
  Found new value 'dpcm' for FocalPlaneResolutionUnit
  Found new value 'F2,83 (3,00 APEX)' for ApertureValue
  Found new value '2003:08:13 10:34:24' for DateTimeDigitized
  Found new value '' for ComponentsConfiguration
  Found new value '3' for SamplesPerPixel
  Found new value 'image/jpeg' for file_media_type
  Found new value '1' for ColorSpace
  Found new value '2' for YCbCrPositioning
  Found new value '(32:10)' for CompressedBitsPerPixel
  Found new value '2003:08:13 10:34:24' for DateTimeOriginal
  Found new value '1/238 sec' for ShutterSpeedValue
  Found new value 'Digital Camera FinePix S602 ZOOM Ver1.00' for Software
  Found new value '200' for ISOSpeedRatings
  Found new value 'top_left' for Orientation
  Found new value '1/240 seconde' for ExposureTime
  Found new value '' for Copyright
  Found new value '' for SceneType
  Found new value '46,80 millimètres' for FocalLength
  Found new value '0220' for ExifVersion
  Found new value '0100' for FlashPixVersion
  Found new value '0' for Tag-0xa40a
  Found new value '2674,00' for FocalPlaneYResolution
  Found new value 'YCbCr' for color_type
  Found new value '2' for Tag-0xa40c
  Found new value '1536' for height
  Found new value 'jpg' for file_ext
  Found new value '2003:08:13 10:34:24' for DateTime
  Found new value 'Baseline' for JPEG_Type
  Using 'jpeg_type' from EXIF data: Baseline
  Using 'compressed_bits' from EXIF data: (32:10)
  Using 'resolution' from EXIF data: 72/1 dpi
  Using 'samples_per_pixel' from EXIF data: 3
  Using 'exposure_prog' from EXIF data: Program
  Using 'exif_version' from EXIF data: 0220
  Using 'iso' from EXIF data: 200
  Using 'max_aperture_value' from EXIF data: F2,83 (3,00 APEX)
  Using 'file_media_type' from EXIF data: image/jpeg
  Using 'aperture_value' from EXIF data: F2,83 (3,00 APEX)
  Using 'exposure_time' from EXIF data: 1/240 seconde
  Using 'image_length' from EXIF data: 1536
  Using 'Orientation' from EXIF data: top_left
  Using 'date' from EXIF data: 2003:08:13 10:34:24
  Using 'shutter_speed_value' from EXIF data: 1/238 sec
  Using 'flash' from EXIF data: 16
  Using 'model' from EXIF data: FinePix S602 ZOOM
  Using 'focal_length' from EXIF data: 46,80 millimètres
  Using 'focal_plane_x_resolution' from EXIF data: 2678,00
  Using 'fnumber' from EXIF data: 2,80
  Using 'color_type' from EXIF data: YCbCr
  Using 'bits_per_sample' from EXIF data: 8 8 8
  Using 'image_width' from EXIF data: 2048
  Using 'metering_mode' from EXIF data: Multi-segment
  Using 'firmware' from EXIF data: Digital Camera FinePix S602 ZOOM Ver1.00
  Using 'focal_plane_y_resolution' from EXIF data: 2674,00
   Creating new XML description file
/home/greg/tmp/test/images/./dscf0011.jpg.xml... OK.
  Adding Exif tag 'FileSource'='' in XML desc file.
  Adding Exif tag 'MeteringMode'='Multi-segment' in XML desc file.
  Adding Exif tag 'width'='2048' in XML desc file.
  Adding Exif tag 'ExposureProgram'='Program' in XML desc file.
  Adding Exif tag 'Tag-0xa402'='0' in XML desc file.
  Adding Exif tag 'Tag-0xa403'='0' in XML desc file.
  Adding Exif tag 'Tag-0xa406'='0' in XML desc file.
  Adding Exif tag 'FocalPlaneXResolution'='2678,00' in XML desc file.
  Adding Exif tag 'resolution'='72/1 dpi' in XML desc file.
  Adding Exif tag 'ExifImageLength'='1536' in XML desc file.
  Adding Exif tag 'Flash'='16' in XML desc file.
  Adding Exif tag 'Model'='FinePix S602 ZOOM' in XML desc file.
  Adding Exif tag 'ExifImageWidth'='2048' in XML desc file.
  Adding Exif tag 'MakerNote'='FUJIFILM' in XML desc file.
  Adding Exif tag 'FNumber'='2,80' in XML desc file.
  Adding Exif tag 'BitsPerSample'='8 8 8' in XML desc file.
  Adding Exif tag 'InteroperabilityIndex'='R98' in XML desc file.
  Adding Exif tag 'MaxApertureValue'='F2,83 (3,00 APEX)' in XML desc file.
  Adding Exif tag 'SensingMethod'='2' in XML desc file.
  Adding Exif tag 'InteroperabilityVersion'='0100' in XML desc file.
  Adding Exif tag 'Make'='FUJIFILM' in XML desc file.
  Adding Exif tag 'LightSource'='Auto' in XML desc file.
  Adding Exif tag 'ApertureValue'='F2,83 (3,00 APEX)' in XML desc file.
  Adding Exif tag 'FocalPlaneResolutionUnit'='dpcm' in XML desc file.
  Adding Exif tag 'DateTimeDigitized'='2003:08:13 10:34:24' in XML desc file.
  Adding Exif tag 'ComponentsConfiguration'='' in XML desc file.
  Adding Exif tag 'SamplesPerPixel'='3' in XML desc file.
  Adding Exif tag 'file_media_type'='image/jpeg' in XML desc file.
  Adding Exif tag 'ColorSpace'='1' in XML desc file.
  Adding Exif tag 'YCbCrPositioning'='2' in XML desc file.
  Adding Exif tag 'CompressedBitsPerPixel'='(32:10)' in XML desc file.
  Adding Exif tag 'DateTimeOriginal'='2003:08:13 10:34:24' in XML desc file.
  Adding Exif tag 'ShutterSpeedValue'='1/238 sec' in XML desc file.
  Adding Exif tag 'ISOSpeedRatings'='200' in XML desc file.
  Adding Exif tag 'Software'='Digital Camera FinePix S602 ZOOM Ver1.00' in XML
desc file.
  Adding Exif tag 'ExposureTime'='1/240 seconde' in XML desc file.
  Adding Exif tag 'Orientation'='top_left' in XML desc file.
  Adding Exif tag 'Copyright'='' in XML desc file.
  Adding Exif tag 'FocalLength'='46,80 millimètres' in XML desc file.
  Adding Exif tag 'SceneType'='' in XML desc file.
  Adding Exif tag 'ExifVersion'='0220' in XML desc file.
  Adding Exif tag 'FlashPixVersion'='0100' in XML desc file.
  Adding Exif tag 'FocalPlaneYResolution'='2674,00' in XML desc file.
  Adding Exif tag 'Tag-0xa40a'='0' in XML desc file.
  Adding Exif tag 'Tag-0xa40c'='2' in XML desc file.
  Adding Exif tag 'color_type'='YCbCr' in XML desc file.
  Adding Exif tag 'file_ext'='jpg' in XML desc file.
  Adding Exif tag 'height'='1536' in XML desc file.
  Adding Exif tag 'DateTime'='2003:08:13 10:34:24' in XML desc file.
  Adding Exif tag 'JPEG_Type'='Baseline' in XML desc file.
  Saving XML description file /home/greg/tmp/test/images/./dscf0011.jpg.xml... OK.

  Image dscf0011.jpg
  Generating thumbnail dscf0011_pre.jpg from image dscf0011.
    Generating scaled version of /home/greg/tmp/test/images/dscf0011.jpg
      to be written to dscf0011_pre.jpg... 
    Writing scaled image /home/greg/tmp/test/album/dscf0011_pre.jpg... done.
 Orientation for picture is 'top_left'
    Pt size is 819 x 614.
    Generating scaled version of /home/greg/tmp/test/images/dscf0011.jpg
      to be written to dscf0011_Pt.jpg... 
    Writing scaled image /home/greg/tmp/test/album/dscf0011_Pt.jpg... done.
 Orientation for picture is 'top_left'
    Moy size is 1228 x 921.
    Generating scaled version of /home/greg/tmp/test/images/dscf0011.jpg
      to be written to dscf0011_Moy.jpg... 
    Writing scaled image /home/greg/tmp/test/album/dscf0011_Moy.jpg... done.
 Orientation for picture is 'top_left'
    Gd size is 2048 x 1536.
    Generating scaled version of /home/greg/tmp/test/images/dscf0011.jpg
      to be written to dscf0011_Gd.jpg... 
    Image has the right size, just copying... done.
 Orientation for picture is 'top_left'
    setting maxSize to 0 (dscf0011.jpg)
  We have 1 images in the album.
  sample image for  is /dscf0011.jpg
Preview name for /dscf0011.jpg is /dscf0011_pre.jpg


More information about the Bins mailing list