Missing recipe description causes tracebacks on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Recipe Manager |
Fix Committed
|
Critical
|
Daniel G. Taylor |
Bug Description
My test case: try to reproduce http://
The resulting recipe file has two problems:
1. The ingredients are saved incorrectly. Most of them are reset to 0.
2. It causes a traceback on startup (maybe a different bug?):
Traceback (most recent call last):
File "./recipemanager", line 45, in <module>
RecipeManager()
File "/home/
self.
File "/home/
self.
File "/home/
self.
File "/home/
self._load(dom)
File "/home/
self.
IndexError: list index out of range
This might be due to the fact that I was trying to enter 1/2 or 0.5 or 0,5 in the ingredient units at some point, but I doubt so (the spinbuttons wouldn't let me, anyway).
Changed in recipe-manager: | |
status: | Confirmed → Fix Committed |
Ah, this was caused by the fact that I erased the description and did not put anything in its place ;)