Menu

#61 Convert error message

open
5
2004-02-08
2004-02-08
Anonymous
No

I was trying to convert a MealMaster database and got
the following errors. The recipie database works fine
in MealMaster.
Any suggestions?
Glenn Ward
gward1@rogers.com

com.largoguidedog.Interface.LargoExportException
Export failed during XML validation. Errors reported:
uncompleted content model. expecting: <ing>, object
type
com.largoguidedog.Interface.RecipeML.GeneratedClasses.impl.IngDivTypeImpl.
Call stack:
com.largoguidedog.Interface.RecipeML.XMLFile.internalExport(Unknown
Source)
com.largoguidedog.Interface.InterfaceFile.export(Unknown
Source)
com.largoguidedog.UserInterface.CustomObjects.TranslationWorker.translate(Unknown
Source)
com.largoguidedog.UserInterface.CustomObjects.TranslationWorker.doTask(Unknown
Source)
com.largoguidedog.Threads.LargoWorker$LargoSwingWorker.construct(Unknown
Source)
com.largoguidedog.Threads.SwingWorker.run(Unknown Source)
java.lang.Thread.run(Thread.java:536)

Discussion

  • Douglas Squirrel

    Logged In: YES
    user_id=600274

    Occurs because Glenn has a recipe that contains an
    ingredient section with no ingredients:

    flour
    water
    MIX THESE INGREDIENTS
    cranberries
    NOW ADD THE CRANBERRIES

    LargoRecipes should provide a helpful error instead of a messy
    call stack when MealMaster files have sections with no
    ingredients (or indeed when files have no ingredients at all,
    which also happens depressingly often). Working on this fix.

     
  • Douglas Squirrel

    Logged In: YES
    user_id=600274

    Also occurs with other formatting errors. For instance, an
    ingredients section like

    2 c all purpose flour 1 1/2 t dry yeast
    1/4 t salt
    1/2 c water

    fails, because the ingredient names start in the wrong column
    (there should be an extra space after the c in the first row,
    for example) and because there should be only one ingredient
    per row.

     

Log in to post a comment.

MongoDB Logo MongoDB