Author Topic: Problem when importing BeerXML recipes  (Read 8307 times)

Offline fram

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 16
    • Forum francophone des brasseurs amateurs
Problem when importing BeerXML recipes
« on: November 02, 2009, 01:36:05 PM »
Hello,

When I import beerXML recipes, there is a problem with the volumes.

In the file:
 <BATCH_SIZE>70.00000000</BATCH_SIZE>
 <BOIL_SIZE>83.24000000</BOIL_SIZE>
 
When imported:
Batch Size: 7000000000,00 L
Boil Volume: 8324000000,00 L


Does anyone have the same problem?
Here is a file that give me the problem: http://www.brassageamateur.com/forum/download/file.php?id=394



Offline UselessBrewing

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 1115
  • Useless Brewing
    • Useless Brewing
Re: Problem when importing BeerXML recipes
« Reply #1 on: November 02, 2009, 03:08:34 PM »
Everything came across fine for me when I did an import and opened it directly from the website. Here is the .BSM file for "Brads" "Burton Ale". You can download all the recipes here http://www.beersmith.com/recipes.htm

Cheers
Preston
The woodpecker pecks, Not to annoy, But to survive!

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5569
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Problem when importing BeerXML recipes
« Reply #2 on: November 02, 2009, 06:27:48 PM »
Hi,
  Check your "international" settings under windows.  BeerSmith recognizes both "," and "." as decimals depending on what Windows has set as the default.  It should be accessible from your windows control panel.

Brad
Get a free trial of BeerSmith 3 here

Offline fram

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 16
    • Forum francophone des brasseurs amateurs
Re: Problem when importing BeerXML recipes
« Reply #3 on: November 03, 2009, 12:29:55 AM »
Everything came across fine for me when I did an import and opened it directly from the website. Here is the .BSM file for "Brads" "Burton Ale". You can download all the recipes here http://www.beersmith.com/recipes.htm

Cheers
Preston

Thank's for the answer, but the problem only appears with "BeerXML" files. The import is correct when using ".bsm" files.

Hi,
  Check your "international" settings under windows.  BeerSmith recognizes both "," and "." as decimals depending on what Windows has set as the default.  It should be accessible from your windows control panel.

Brad

Brad,
My system is an XP Pro with regional settings set to "French (Belgium)". Decimal is ",".


Offline fram

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 16
    • Forum francophone des brasseurs amateurs
Re: Problem when importing BeerXML recipes
« Reply #4 on: November 03, 2009, 03:58:01 AM »
I did some test. The problem appears when regional settings is set to  "," as decimal separator.

If I export and import a recipes, the problem also appears.
The XML file is saved with a "." as decimal separator but when reading, the point is not interpreted as a decimal point.

As the problem only appears when trying to import "BeerXML" files, I presume this is a problem with the XML engine?

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5569
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Problem when importing BeerXML recipes
« Reply #5 on: November 03, 2009, 06:37:09 AM »
fram,
  Yes, I believe I used the same number handling routines throughout so it does make sense to me that this could occur.  I guess I need to go back and change the XML import to always use the decimal system.

Brad
Get a free trial of BeerSmith 3 here

Offline fram

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 16
    • Forum francophone des brasseurs amateurs
Re: Problem when importing BeerXML recipes
« Reply #6 on: August 05, 2010, 03:21:22 AM »
Hi Brad,

Any news for this issue?
Other (french speeking) users have reported this issue on "http://www.brassagemateur.com". (see post http://www.brassageamateur.com/forum/ltopic10158-109328.html#p109328 )

Thanks

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5569
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Problem when importing BeerXML recipes
« Reply #7 on: August 06, 2010, 10:12:51 AM »
I'm planning to correct this in the next release - sorry for the delay.

Brad
Get a free trial of BeerSmith 3 here