Menu

Can't find album type definition

p-mt
2015-05-27
2015-12-21
  • p-mt

    p-mt - 2015-05-27

    Hello,

    I get the following error message:

    ./mcf2pdf /home/muessig/Pictures/dm-Fotowelt-Iris.mcf egal.pdf
    [sudo] password for muessig:
    [ERROR] net.sf.mcf2pdf.Main An exception has occured
    java.io.IOException: No album type definition found for used print
    product 'ALB63'
    at net.sf.mcf2pdf.Mcf2FoConverter.convert(Mcf2FoConverter.java:179)
    at net.sf.mcf2pdf.Main.main(Main.java:181)

    The path is set corretly - I doublechecked that. Also a File called
    ALB63.xml is available:

    locate ALB63
    /home/muessig/.mcf/hps/1320/userDefaults/ALB63.xml
    /home/muessig/.mcf/hps/1320/userDefaults/ALB63.xml~
    /opt/dm/dm-Fotowelt/Resources/products/ALB63.xml
    /opt/dm/dm-Fotowelt/Resources/products/legacy/ALB63.xml

    Any ideas what's going on?

    Kind regards, Peter

    --
    Peter Muessig
    http://peter-muessig.eu
    mail@peter-muessig.eu

     
  • Hannes Röst

    Hannes Röst - 2015-07-30

    I have the same issue, the file has been created with on a Mac with Mein CEWE Fotobuch v 5001007

    I found that getAlbumType is looking for something called McfProductCatalogue and in ./src/main/java/net/sf/mcf2pdf/mcfglobals/McfProductCatalogue.java I find that the method "read" is looking for a fotobookdefinitions XML tag. However in the Transsib-Fotobuch.mcf file, there is no such XML tag which may explain why it cannot be found. I am not sure whether this analysis is correct but it seems like an attribute in the XML is expected but not present.

    I attach the offending mcf file to this post. I hope this helps you to find a solution to this issue

     
  • Richard Bradley

    Richard Bradley - 2015-10-25

    same here

     
  • Richard Bradley

    Richard Bradley - 2015-10-25

    The following project can convert my book, in case it helps anyone else:
    https://github.com/bash0/cewe2pdf/

     
    • Steve F

      Steve F - 2015-12-21

      Hi Richard, how do you use that python, can you please give some advice, maybe the command line I need to enter..

      thanks,
      stv

       
  • Florian Albrecht

    Sorry, Steve, this forum is clearly NOT on how to use other software. Please try latest mcf2pdf version from GitHub: https://github.com/albrechtf/mcf2pdf/releases

    If you have still issues, please create tickets there.

    @all: Please note that the INITIAL bug of this discussion should be fixed in latest version. It was a path issue on Mac OS X. Therefore I close this discussion here. Please use GitHub for new discussions. Thanks!

     
MongoDB Logo MongoDB