-
Notifications
You must be signed in to change notification settings - Fork 14
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
Export failure - html and mealmaster formats #372
Comments
Thanks for the detailed report!
The mealmaster export issue I did not catch, nice! The solutions is to floor or cast to in the divisions above: left_side = int(dashes / 2 - 5)
right_side = int(dashes / 2) You can launch Gourmet in a debugger either by using PyCham (the easiest), or by using pdb. PyCharm
PDB
|
Thanks for the detailed reply. Turns out using the debugger is not so straightforward for this problem, because the exceptions are caught for display in the DETAILS dialog. Once this traceback happens, the blue notification bar (does this have a proper name?) cannot be dismissed using the CANCEL button. For the HTML, I should have paid more attention to the traceback. It turns out I had a recipe with no title in my collection. Once I removed that one, the export worked fine. I'm not sure where that should be validated. For Mealmaster, I'll admit I'm not personally interested in exporting to that format, once i started checking formats, i did it for completeness. I notice you link to https://github.com/GourmandRecipeManager/gourmand/ rather than this repo. What should I be using as upstream? |
Hey Eliot, I'm still going to be active here, but I would prefer to slowly move to Gourmand ;) |
Exporting all recipes to Mealmaster or HTML fails.
(Gourmet XML, PDF, plain text, epub, mycookbook mcb succeed)
Note: PDF export also failed until I deleted my old toml configuration files.
Steps to Reproduce
Expected Behavior
Export file(s) is created.
Current Behavior
In both cases there is a pale blue info bar in the GUI says Export (format), Cancel and Details buttons.
Cancel button does not work. Details button pops up dialog box.
Traceback is also seen in the terminal.
HTML export:
Mealmaster export:
emit done
Possible Solution
None as yet. A general question: How can I run gourmet from a git checkout inside a debugger?
Environment
The text was updated successfully, but these errors were encountered: