wedesoft / anymeal

AnyMeal is a free and open source recipe management software developed using SQLite3 and Qt5. It can manage a cookbook with more than 250,000 MealMaster recipes, thereby allowing to import, export, search, display, edit, and print them. AnyMeal is available for GNU/Linux and Microsoft Windows.
https://wedesoft.github.io/anymeal
GNU General Public License v3.0
56 stars 5 forks source link

Error Report empty after Import failure when "No MMMMM at end of record" #47

Closed Oldbwl closed 1 month ago

Oldbwl commented 5 months ago

Importing a single file after editing, I received a "0 files imported, 0 files failed" dialogue.

Inspection of /tmp/import-errors.mmf showed the file existed, but was empty.

Manually reviewing the file for import, I noticed the original edited recipe did not have "MMMMM" as the last line.

It took me ages to spot this (bad brain day I think), Adding this missing element allowed the import.

I expected the Error Dialogue to show "0 files imported, 1 file failed" and the import-errors.mmf to say something about end of file missing.

Not urgent or important but I thought I would report here to be useful.

wedesoft commented 5 months ago

Ok, thanks for the bug report. I am still thinking about how best to resolve this.

wedesoft commented 1 month ago

Ok, I finally added functionality which will report unexpected end of file in the error log file.

Oldbwl commented 1 month ago

Perfect. Thanks, now if only you could also take over Garamond, the linux food space would be doubly blessed, lol!!!

On Thu, 8 Aug 2024, 18:07 Jan Wedekind, @.***> wrote:

Ok, I finally added functionality which will report unexpected end of file in the error log file.

— Reply to this email directly, view it on GitHub https://github.com/wedesoft/anymeal/issues/47#issuecomment-2276286680, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUNSCLVQFOSA5DKPP2VNQLZQOQW3AVCNFSM6AAAAABFZOMGKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZWGI4DMNRYGA . You are receiving this because you authored the thread.Message ID: @.***>