When we run project with default template, we have "TypeError: list indices must be integers, not str"

Bug #1475907 reported by Evgeny Sikachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shellper
Fix Released
Medium
Evgeny Sikachev

Bug Description

ENVIRONMENT: master(18.07.2015)

STEPS TO REPRODUCE:

1. Get master version of project
2. Run "tox -e run etc/template.yaml"

EXPECTED RESULT:
Command correct run

ACTUAL RESULT:
Evgenys-MacBook-Pro:shellper esikachev$ tox -e run etc/template.yaml
run develop-inst-noop: /Users/esikachev/shellper
run installed: alembic==0.7.6,Babel==1.3,cov-core==1.15.0,coverage==3.7.1,extras==0.0.3,fixtures==1.3.1,flake8==2.4.1,funcsigs==0.4,functools32==3.2.3.post2,google-api-python-client==1.4.1,httplib2==0.9.1,jsonschema==2.5.1,linecache2==1.0.0,Mako==1.0.1,MarkupSafe==0.23,mccabe==0.3.1,mock==1.2.0,oauth2client==1.4.12,pbr==1.3.0,pep8==1.5.7,pluggy==0.3.0,py==1.4.30,pyasn1==0.1.8,pyasn1-modules==0.0.6,pyflakes==0.8.1,pygoogle-simple==0.2.3,pytest==2.7.2,pytest-cov==1.8.1,python-mimeparse==0.1.4,python-subunit==1.1.0,pytz==2015.4,PyYAML==3.11,rfc3339==5,rsa==3.1.4,-e <email address hidden>:esikachev/shellper.git@f01fb36d68c107a4bab09a25d0e4ac3ad2e1b672#egg=shellper-master,simplejson==3.7.3,six==1.9.0,SQLAlchemy==1.0.6,testrepository==0.0.20,testtools==1.8.0,tox==2.1.1,traceback2==1.4.0,unittest2==1.1.0,uritemplate==0.6,virtualenv==13.1.0,wheel==0.24.0
run runtests: PYTHONHASHSEED='708575236'
run runtests: commands[0] | python /Users/esikachev/shellper/shellper/main.py etc/template.yaml
Getting the upcoming 10 events
(None, u'How clone git repository')
(None, u'How clone git repository')
(None, u'How clone git repository')
Traceback (most recent call last):
  File "/Users/esikachev/shellper/shellper/main.py", line 45, in <module>
    main()
  File "/Users/esikachev/shellper/shellper/main.py", line 39, in main
    google.add_links(config)
  File "/Users/esikachev/shellper/shellper/base.py", line 39, in add_links
    event["description"] = []
TypeError: list indices must be integers, not str
ERROR: InvocationError: '/Users/esikachev/shellper/.tox/run/bin/python /Users/esikachev/shellper/shellper/main.py etc/template.yaml'
_________________________________________________________________________________________________ summary __________________________________________________________________________________________________
ERROR: run: commands failed

Tags: core
Changed in shellper:
milestone: none → alpha
Changed in shellper:
assignee: nobody → Evgeny Sikachev (esikachev)
status: New → In Progress
Revision history for this message
Evgeny Sikachev (esikachev) wrote :
Changed in shellper:
status: In Progress → Fix Committed
Changed in shellper:
status: Fix Committed → Fix Released
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.