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

Mention python2 only support would make usage simpler #22

Open
aseques opened this issue Feb 24, 2016 · 0 comments
Open

Mention python2 only support would make usage simpler #22

aseques opened this issue Feb 24, 2016 · 0 comments

Comments

@aseques
Copy link

aseques commented Feb 24, 2016

My fault, but I have python 3 as the default interpreter, when launching the generator I just get this message.

$ python3 gen_outline.py --collection responses file.json 
Traceback (most recent call last):
  File "gen_outline.py", line 85, in <module>
    main()
  File "gen_outline.py", line 75, in main
    outline = make_outline(args.json_file, args.each_line, args.collection)
  File "gen_outline.py", line 50, in make_outline
    key_map = gather_key_map(iterator)
  File "gen_outline.py", line 32, in gather_key_map
    for path in key_paths(d):
  File "gen_outline.py", line 9, in helper
    for k, v in x.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Just by launching gen_outline.py with python2 it works as expected. Just leaving it here for reference

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