unable to import large .grmt file

Bug #1909934 reported by Keith Morgan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gourmet
New
Undecided
Unassigned

Bug Description

I created a 35.5 MB .grmt file via 'export all recipes' in my Gourmet installation on my Windows 10 system. When I try to import that file into Gourmet on my Raspberry Pi 4 system, I get the following traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gourmet/threadManager.py", line 97, in run
    self.do_run()
  File "/usr/lib/python2.7/dist-packages/gourmet/importers/xml_importer.py", line 70, in do_run
    self.parse = xml.sax.parse(self.fn, self.rh)
  File "/usr/lib/python2.7/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 224, in feed
    self._err_handler.fatalError(exc)
  File "/usr/lib/python2.7/xml/sax/handler.py", line 38, in fatalError
    raise exception
SAXParseException: /home/pi/tmp/recipes.grmt:6:3: not well-formed (invalid token)

I am able to export/import individual recipes and small collections of recipes, but not my entire database.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.