I can't load the simplest JSON file into Leo, I always get an error message
like:
Exception running JSON_Scanner
Traceback (most recent call last):
File "/home/dalcolmo/bin/leo-editor/leo/core/leoApp.py", line 1530, in
scanner_for_ext_cb
return scanner.run(s, parent)
File "/home/dalcolmo/bin/leo-editor/leo/plugins/importers/leo_json.py",
line 61, in run
ok = self.scan(s, parent)
File "/home/dalcolmo/bin/leo-editor/leo/plugins/importers/leo_json.py",
line 130, in scan
for d2 in d.get('nodes', []):
AttributeError: 'list' object has no attribute 'get'
I tried with something as simple as: [{"abc":"PC","xyz":"blabla"}] in a
file.
- Josef
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.