BeerXML import errors

Bucho

New Member
Trial Member
Joined
Jan 6, 2019
Messages
1
Reaction score
0
Points
1
Hi,
As you're might be aware, Brewtoad closed up shop, so I was trying out your tool (vs Beersmith) to see if it will work for me. I think I prefer Brewersfriend, if only for the vastly superior UI.

However, I seem to be running in to all sort of errors importing BeerXML. I get a variety of errors that tells me nothing useful...

Such as:
upload_2019-1-6_11-46-4.png


However, I can import them in to BeerSmith and then import the BSMX into brewers friend. I have a lot of recipes, so I don't want to do this. It's a dealbreaker for me unfortunately. Is there a way around the errors or a way to make your parser more forgiving when things don't match exactly?

Here's some sample XML:

<?xml version="1.0" encoding="UTF-8"?>
<RECIPES>
<RECIPE>
<NAME>Hughes Haus IPA</NAME>
<STYLE>
<STYLE_GUIDE>BJCP</STYLE_GUIDE>
<VERSION>1</VERSION>
<NAME>American IPA</NAME>
<STYLE_LETTER>B</STYLE_LETTER>
<CATEGORY_NUMBER>14</CATEGORY_NUMBER>
<TYPE>Ale</TYPE>
<OG_MIN>1.056</OG_MIN>
<OG_MAX>1.075</OG_MAX>
<FG_MIN>1.01</FG_MIN>
<FG_MAX>1.018</FG_MAX>
<IBU_MIN>40.0</IBU_MIN>
<IBU_MAX>70.0</IBU_MAX>
<COLOR_MIN>6.0</COLOR_MIN>
<COLOR_MAX>15.0</COLOR_MAX>
<ABV_MIN>5.5</ABV_MIN>
<ABV_MAX>7.5</ABV_MAX>
</STYLE>
<FERMENTABLES>
<FERMENTABLE>
<NAME>2-Row Brewers Malt</NAME>
<ORIGIN>United States</ORIGIN>
<TYPE>Grain</TYPE>
<YIELD>79.89635068019865</YIELD>
<AMOUNT>3.628734644520015</AMOUNT>
<DISPLAY_AMOUNT>7.9999904859952 lb</DISPLAY_AMOUNT>
<POTENTIAL>1.037</POTENTIAL>
<COLOR>1</COLOR>
<DISPLAY_COLOR>1 SRM</DISPLAY_COLOR>
<ADD_AFTER_BOIL></ADD_AFTER_BOIL>
<COARSE_FINE_DIFF></COARSE_FINE_DIFF>
<MOISTURE></MOISTURE>
<DIASTATIC_POWER></DIASTATIC_POWER>
<PROTEIN></PROTEIN>
<MAX_IN_BATCH></MAX_IN_BATCH>
<RECOMMEND_MASH></RECOMMEND_MASH>
<IBU_GAL_PER_LB></IBU_GAL_PER_LB>
<NOTES></NOTES>
</FERMENTABLE>
<FERMENTABLE>
<NAME>Carapils® Malt</NAME>
<ORIGIN>United States</ORIGIN>
<TYPE>Adjunct</TYPE>
<YIELD>73.41826819261497</YIELD>
<AMOUNT>0.45359183056500185</AMOUNT>
<DISPLAY_AMOUNT>0.9999988107494 lb</DISPLAY_AMOUNT>
<POTENTIAL>1.034</POTENTIAL>
<COLOR>1</COLOR>
<DISPLAY_COLOR>1 SRM</DISPLAY_COLOR>
<ADD_AFTER_BOIL></ADD_AFTER_BOIL>
<COARSE_FINE_DIFF></COARSE_FINE_DIFF>
<MOISTURE></MOISTURE>
<DIASTATIC_POWER></DIASTATIC_POWER>
<PROTEIN></PROTEIN>
<MAX_IN_BATCH></MAX_IN_BATCH>
<RECOMMEND_MASH></RECOMMEND_MASH>
<IBU_GAL_PER_LB></IBU_GAL_PER_LB>
<NOTES></NOTES>
</FERMENTABLE>
<FERMENTABLE>
<NAME>Caramel Malt 20L</NAME>
<ORIGIN>United States</ORIGIN>
<TYPE>Caramel/Crystal Malt</TYPE>
<YIELD>73.41826819261497</YIELD>
<AMOUNT>0.45359183056500185</AMOUNT>
<DISPLAY_AMOUNT>0.9999988107494 lb</DISPLAY_AMOUNT>
<POTENTIAL>1.034</POTENTIAL>
<COLOR>20</COLOR>
<DISPLAY_COLOR>20 SRM</DISPLAY_COLOR>
<ADD_AFTER_BOIL></ADD_AFTER_BOIL>
<COARSE_FINE_DIFF></COARSE_FINE_DIFF>
<MOISTURE></MOISTURE>
<DIASTATIC_POWER></DIASTATIC_POWER>
<PROTEIN></PROTEIN>
<MAX_IN_BATCH></MAX_IN_BATCH>
<RECOMMEND_MASH></RECOMMEND_MASH>
<IBU_GAL_PER_LB></IBU_GAL_PER_LB>
<NOTES></NOTES>
</FERMENTABLE>
<FERMENTABLE>
<NAME>2-Row Caramel Malt 60L</NAME>
<ORIGIN>United States</ORIGIN>
<TYPE>Caramel/Crystal Malt</TYPE>
<YIELD>73.41826819261497</YIELD>
<AMOUNT>0.45359183056500185</AMOUNT>
<DISPLAY_AMOUNT>0.9999988107494 lb</DISPLAY_AMOUNT>
<POTENTIAL>1.034</POTENTIAL>
<COLOR>60</COLOR>
<DISPLAY_COLOR>60 SRM</DISPLAY_COLOR>
<ADD_AFTER_BOIL></ADD_AFTER_BOIL>
<COARSE_FINE_DIFF></COARSE_FINE_DIFF>
<MOISTURE></MOISTURE>
<DIASTATIC_POWER></DIASTATIC_POWER>
<PROTEIN></PROTEIN>
<MAX_IN_BATCH></MAX_IN_BATCH>
<RECOMMEND_MASH></RECOMMEND_MASH>
<IBU_GAL_PER_LB></IBU_GAL_PER_LB>
<NOTES></NOTES>
</FERMENTABLE>
<FERMENTABLE>
<NAME>Château Biscuit®</NAME>
<ORIGIN>Belgium</ORIGIN>
<TYPE>Kilned Malt</TYPE>
<YIELD>75.57762902180954</YIELD>
<AMOUNT>0.11339795764125046</AMOUNT>
<DISPLAY_AMOUNT>0.24999970268735 lb</DISPLAY_AMOUNT>
<POTENTIAL>1.035</POTENTIAL>
<COLOR>23</COLOR>
<DISPLAY_COLOR>23 SRM</DISPLAY_COLOR>
<ADD_AFTER_BOIL></ADD_AFTER_BOIL>
<COARSE_FINE_DIFF></COARSE_FINE_DIFF>
<MOISTURE></MOISTURE>
<DIASTATIC_POWER></DIASTATIC_POWER>
<PROTEIN></PROTEIN>
<MAX_IN_BATCH></MAX_IN_BATCH>
<RECOMMEND_MASH></RECOMMEND_MASH>
<IBU_GAL_PER_LB></IBU_GAL_PER_LB>
<NOTES></NOTES>
</FERMENTABLE>
</FERMENTABLES>
<HOPS>
<HOP>
<NAME>Cascade (NZ)</NAME>
<ORIGIN>New Zealand</ORIGIN>
<ALPHA>7.1</ALPHA>
<BETA></BETA>
<AMOUNT>0.028349530580924584</AMOUNT>
<DISPLAY_AMOUNT>1.00000107871125 oz</DISPLAY_AMOUNT>
<USE>First Wort</USE>
<FORM>Leaf</FORM>
<TIME>60</TIME>
<DISPLAY_TIME>60.0 min</DISPLAY_TIME>
<NOTES>This hops origins stem from an early US breeding program circa 1956 and was the first commercially bred hop to emerge from the USDA-ARS program when released in 1972. It was bred from crossing an English Fuggle with a male selection believed to have been a crossing of Fuggle with the Russian variety Serebrianka.</NOTES>
</HOP>
<HOP>
<NAME>Magnum (DE)</NAME>
<ORIGIN>Germany</ORIGIN>
<ALPHA>13.1</ALPHA>
<BETA></BETA>
<AMOUNT>0.028349530580924584</AMOUNT>
<DISPLAY_AMOUNT>1.00000107871125 oz</DISPLAY_AMOUNT>
<USE>Boil</USE>
<FORM>Pellet</FORM>
<TIME>60</TIME>
<DISPLAY_TIME>60.0 min</DISPLAY_TIME>
<NOTES></NOTES>
</HOP>
<HOP>
<NAME>Amarillo (US)</NAME>
<ORIGIN>United States</ORIGIN>
<ALPHA>10.4</ALPHA>
<BETA></BETA>
<AMOUNT>0.014174765290462292</AMOUNT>
<DISPLAY_AMOUNT>0.500000539355625 oz</DISPLAY_AMOUNT>
<USE>Boil</USE>
<FORM>Leaf</FORM>
<TIME>15</TIME>
<DISPLAY_TIME>15.0 min</DISPLAY_TIME>
<NOTES>Popular American mid-range alpha acid variety with a unique and distinct aroma discovered growing "wild" (spontaneously) in one of their hop yards and developed by Virgil Gamache Farms in late 20th century. Also known as VGX001, its strain number. It is registered Brand VGXP01 cv.</NOTES>
</HOP>
<HOP>
<NAME>Amarillo (US)</NAME>
<ORIGIN>United States</ORIGIN>
<ALPHA>10.4</ALPHA>
<BETA></BETA>
<AMOUNT>0.014174765290462292</AMOUNT>
<DISPLAY_AMOUNT>0.500000539355625 oz</DISPLAY_AMOUNT>
<USE>Boil</USE>
<FORM>Leaf</FORM>
<TIME>5</TIME>
<DISPLAY_TIME>5.0 min</DISPLAY_TIME>
<NOTES>Popular American mid-range alpha acid variety with a unique and distinct aroma discovered growing "wild" (spontaneously) in one of their hop yards and developed by Virgil Gamache Farms in late 20th century. Also known as VGX001, its strain number. It is registered Brand VGXP01 cv.</NOTES>
</HOP>
<HOP>
<NAME>Cascade (NZ)</NAME>
<ORIGIN>New Zealand</ORIGIN>
<ALPHA>7.1</ALPHA>
<BETA></BETA>
<AMOUNT>0.014174765290462292</AMOUNT>
<DISPLAY_AMOUNT>0.500000539355625 oz</DISPLAY_AMOUNT>
<USE>Boil</USE>
<FORM>Leaf</FORM>
<TIME>5</TIME>
<DISPLAY_TIME>5.0 min</DISPLAY_TIME>
<NOTES>This hops origins stem from an early US breeding program circa 1956 and was the first commercially bred hop to emerge from the USDA-ARS program when released in 1972. It was bred from crossing an English Fuggle with a male selection believed to have been a crossing of Fuggle with the Russian variety Serebrianka.</NOTES>
</HOP>
<HOP>
<NAME>Amarillo (US)</NAME>
<ORIGIN>United States</ORIGIN>
<ALPHA>10.4</ALPHA>
<BETA></BETA>
<AMOUNT>0.00708738264523116</AMOUNT>
<DISPLAY_AMOUNT>0.250000269677813 oz</DISPLAY_AMOUNT>
<USE>Boil</USE>
<FORM>Leaf</FORM>
<TIME>1</TIME>
<DISPLAY_TIME>1.0 min</DISPLAY_TIME>
<NOTES>Popular American mid-range alpha acid variety with a unique and distinct aroma discovered growing "wild" (spontaneously) in one of their hop yards and developed by Virgil Gamache Farms in late 20th century. Also known as VGX001, its strain number. It is registered Brand VGXP01 cv.</NOTES>
</HOP>
<HOP>
<NAME>Cascade (NZ)</NAME>
<ORIGIN>New Zealand</ORIGIN>
<ALPHA>7.1</ALPHA>
<BETA></BETA>
<AMOUNT>0.00708738264523116</AMOUNT>
<DISPLAY_AMOUNT>0.250000269677813 oz</DISPLAY_AMOUNT>
<USE>Boil</USE>
<FORM>Leaf</FORM>
<TIME>1</TIME>
<DISPLAY_TIME>1.0 min</DISPLAY_TIME>
<NOTES>This hops origins stem from an early US breeding program circa 1956 and was the first commercially bred hop to emerge from the USDA-ARS program when released in 1972. It was bred from crossing an English Fuggle with a male selection believed to have been a crossing of Fuggle with the Russian variety Serebrianka.</NOTES>
</HOP>
<HOP>
<NAME>Amarillo (US)</NAME>
<ORIGIN>United States</ORIGIN>
<ALPHA>10.4</ALPHA>
<BETA></BETA>
<AMOUNT>0.021262147935693424</AMOUNT>
<DISPLAY_AMOUNT>0.750000809033437 oz</DISPLAY_AMOUNT>
<USE>Dry Hop</USE>
<FORM>Leaf</FORM>
<TIME>10080</TIME>
<DISPLAY_TIME>7 days</DISPLAY_TIME>
<NOTES>Popular American mid-range alpha acid variety with a unique and distinct aroma discovered growing "wild" (spontaneously) in one of their hop yards and developed by Virgil Gamache Farms in late 20th century. Also known as VGX001, its strain number. It is registered Brand VGXP01 cv.</NOTES>
</HOP>
<HOP>
<NAME>Cascade (NZ)</NAME>
<ORIGIN>New Zealand</ORIGIN>
<ALPHA>7.1</ALPHA>
<BETA></BETA>
<AMOUNT>0.021262147935693424</AMOUNT>
<DISPLAY_AMOUNT>0.750000809033437 oz</DISPLAY_AMOUNT>
<USE>Dry Hop</USE>
<FORM>Leaf</FORM>
<TIME>10080</TIME>
<DISPLAY_TIME>7 days</DISPLAY_TIME>
<NOTES>This hops origins stem from an early US breeding program circa 1956 and was the first commercially bred hop to emerge from the USDA-ARS program when released in 1972. It was bred from crossing an English Fuggle with a male selection believed to have been a crossing of Fuggle with the Russian variety Serebrianka.</NOTES>
</HOP>
</HOPS>
<YEASTS>
<YEAST>
<LABORATORY>Wyeast</LABORATORY>
<NAME>American Ale II</NAME>
<TYPE>Ale</TYPE>
<FORM>Liquid</FORM>
<ATTENUATION>75.0</ATTENUATION>
</YEAST>
</YEASTS>
<MISCS>
<MISC>
<NAME>Irish Moss</NAME>
<USE>Boil</USE>
<TIME>14.0</TIME>
<AMOUNT>1.0</AMOUNT>
<AMOUNT_IS_WEIGHT>false</AMOUNT_IS_WEIGHT>
<NOTES></NOTES>
<DISPLAY_AMOUNT>1.0 </DISPLAY_AMOUNT>
<DISPLAY_TIME>14.0 </DISPLAY_TIME>
</MISC>
</MISCS>
<TYPE>All Grain</TYPE>
<BREWER>Bucho</BREWER>
<BATCH_SIZE>18.9270589</BATCH_SIZE>
<BOIL_SIZE>23.658823625</BOIL_SIZE>
<BOIL_TIME>60</BOIL_TIME>
<EFFICIENCY>75.0</EFFICIENCY>
</RECIPE>
</RECIPES>
 
I am not sure exactly what's going on, so I turned your questions over to the developer and he'll get back to us ASAP today.

When you clicked the import, there are two choices. Did you click the second choice (marked with an error below)?
Untitled.jpg
That should allow you to enter recipes that don't have exactly the same name into the program, and avoid any errors of the non-matching ingredients.
 
Hi,
As you're might be aware, Brewtoad closed up shop, so I was trying out your tool (vs Beersmith) to see if it will work for me. I think I prefer Brewersfriend, if only for the vastly superior UI.

Thanks for including the XML.

So it looks like this Misc item is missing Type, I've updated this and set a default to 'Other'. This fix is up and ready to go.

Thanks again,
 

Back
Top