-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import Recipes Errors #740
Comments
Sorry to hear you're having problems. Could you upload one or more of the XML files you're trying to import? The error logs tell me where in the file Brewtarget is having difficulty parsing things, but, without the file itself, it's hard to tell what the root cause of the problem is. |
Here are the 2 I tried as as test, one from Brewfather and one from Brewer's Friend. https://drive.google.com/file/d/1G8QQEo-wmDEbOOldETSq3zv34b3C9ff-/view?usp=share_link |
Thanks for that. That's super helpful. I looked at the
The fixed file is attached. (You'll want to remove the .txt suffix. It's just there to allow it to be an upload on github.) I'll have a look at the other file soon (hopefully tomorrow). In a bit of a rush this evening. |
Thanks for the help. I figured it was something to do with formatting as I changed false/FALSE and got past the first error but another came up. Don't worry about fixing the other file as this was just an experiment. Ironically, I was hoping to save time by not having to manually add ingredients into Brewtarget that aren't included. Thought I could make the recipe in either of the others and just export/import the xml file. If I'm going to have to find errors and edit every file then its probably just better to manually add the ingredients to Brewtarget anyway. |
It is annoying when there are a lot of things to fix. At some point I would like either to make our BeerXML import more forgiving of easy-to-fix errors in other implementations (eg the true/false vs TRUE/FALSE stuff), or else to provide a separate script that corrects such errors. In the long run, once Brewtarget and (hopefully) other programs support BeerJSON, it should be a lot easier to do such data sharing. I also have an ambition to improve the list of ingredients that we ship with. |
FYI, I just made some changes in #767 which mean we should be more accepting of |
I'm trying to import recipes from Brewfather and Brewer's Friend. Beer XML from both will not import into Brewtarget. Error pops up and nothing gets imported. Don't know if this possible but figured I'd ask anyway. Using 3.0.7 on a Windows 10 machine. Attaching regular and debug logs.
brewtarget.log
brewtarget_2023_03_23_11_43_49_799.log
The text was updated successfully, but these errors were encountered: