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

error when generating report #52

Open
hgn opened this issue Jan 15, 2017 · 0 comments
Open

error when generating report #52

hgn opened this issue Jan 15, 2017 · 0 comments
Assignees

Comments

@hgn
Copy link
Member

hgn commented Jan 15, 2017

./tests/check-when-title-and-categories-changed.sh followed by a "Generate PDF report" results in an error.

We said that a test MUST always have an achievement, right!? So somehow this is broken even before in the _post.py routine where a test is added without an achievement, right?

Exception in callback generate_doc(<Application 0x7fdf1ebdeb38>, {'filter-type': 'Latest Tests'})() at /home/pfeifer/src/misc/hippod/hippod/api_report.py:23
handle: <Handle generate_doc(<Application 0x7fdf1ebdeb38>, {'filter-type': 'Latest Tests'})() at /home/pfeifer/src/misc/hippod/hippod/api_report.py:23>
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/events.py", line 126, in _run
    self._callback(*self._args)
  File "/home/pfeifer/src/misc/hippod/hippod/api_report.py", line 26, in generate_doc
    rep_gen.generate(app, outputs=[rep_gen.PDF], report_filter=rep_gen.LAST_ACHIEVEMENTS)
  File "/home/pfeifer/src/misc/hippod/hippod/report_generator.py", line 28, in generate
    list_of_lists = ReportGenerator.ReportGeneratorCollector.search(app, report_filter)
  File "/home/pfeifer/src/misc/hippod/hippod/report_generator.py", line 392, in search
    last_attach = ReportGenerator.ReportGeneratorCollector.search_last_attachment(app, cont['object-item-id'])
  File "/home/pfeifer/src/misc/hippod/hippod/report_generator.py", line 443, in search_last_attachment
    last_attach = attach_list[0]
IndexError: list index out of rang
@hgn hgn added this to the v4.0.0 milestone Jan 15, 2017
@hgn hgn removed this from the v4.0.0 milestone Feb 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants