Skip to content
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

importing recipes from Mastercook 20 #1028

Open
jfabernathy opened this issue Oct 25, 2021 · 0 comments
Open

importing recipes from Mastercook 20 #1028

jfabernathy opened this issue Oct 25, 2021 · 0 comments

Comments

@jfabernathy
Copy link

Problems importing recipe from Mastercook 20

Steps to Reproduce

  1. In Mastercook 20 I exported a recipe. only choices I could find compatible was .txt. XML was not a choice. MC2 was not an option in Gourmet that I could see.
  2. In Gourmet I did File -> Import File -> select file -> Open
  3. A green text bar appears on Gourmet main page showing import progress, but it never completes.
  4. Details button show Error 1: Error duing importer with arrow. If arrow is expanded this test appears.
  5. Traceback (most recent call last):
    File "/app/lib/python3.8/site-packages/gourmet-0.17.5-py3.8.egg/gourmet/threadManager.py", line 104, in run
    self.do_run()
    File "/app/lib/python3.8/site-packages/gourmet-0.17.5-py3.8.egg/gourmet/importers/plaintext_importer.py", line 38, in do_run
    self.handle_line(l)
    File "/app/lib/python3.8/site-packages/gourmet-0.17.5-py3.8.egg/gourmet/plugins/import_export/mastercook_import_plugin/mastercook_plaintext_importer.py", line 102, in handle_line
    self.handle_ingline (line)
    File "/app/lib/python3.8/site-packages/gourmet-0.17.5-py3.8.egg/gourmet/plugins/import_export/mastercook_import_plugin/mastercook_plaintext_importer.py", line 169, in handle_ingline
    amt = line.getslice(*self.amt_col).strip()
    AttributeError: 'str' object has no attribute 'getslice'

Expected Behavior

Basiclly, I want to import all of my MasterCook 20 recipes to Gourmet. I also have most all of those recipes in MacGourmet on my iMac. Any help would be appreciated.

Current Behavior

Possible Solution

Environment

  • Operating System: Linux Mint 20.2
  • Version or commit id: 0.17.5
  • Installed as Flatpak or Python package?:gourmet-2db9db8f.flatpak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant