question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] IndexError attempting to list builds resulting in irrelevant error message

See original GitHub issue

Describe the bug

Attempting to list the builds for a pipeline, I bump into an error.

To Reproduce Azure Cli Version:

$ az --version | grep azure-cli                                                                                                                                           
azure-cli (2.0.55)

Azure-Devops extension version:

$ az --version | grep devops                                                                                                                                              
azure-devops (0.2.0)

Steps to reproduce the behavior:

  1. login using az login
  2. az pipelines build list --organization jaraco --project pip-run
  3. See error

Expected behavior Expected to see the list of builds for that pipeline or at least a better error message explaining what expectation was missed.

Debug logs

https://gist.github.com/ce354b016106a7d370f5e6d769aef7a9

Additional context This is my first time attempting to use the az cli for Azure Devops, so I’m very new. I was using the vsts-cli earlier. The project is one I’ve just created today and is the only one in my org (which is just me).

I don’t see any resources in the Azure portal. Is that expected?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
atbaggacommented, Jun 14, 2019

Thank you for reporting the issue.

Fixed in 0.11.0. Release ETA: Next week.

1reaction
geverghecommented, Feb 11, 2019

I see that in your trace the organization name is jarco. Could you give the fully qualified URL as organization and give it one more try (using the ID with which you were able to login, but it threw an error on az pipelines build list)?

az pipelines build list --organization https://dev.azure.com/jarco --project pip-run

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix IndexError in Python - Rollbar
The IndexError in Python occurs when an item from a list is attempted to be accessed that is outside the index range of...
Read more >
"IndexError: list index out of range" on "import pybel"
The bug is fixed in version openbabel/2.3.2+dfsg-3 that for your Ubuntu Xenial (judging by your Python version) is not available. So you need...
Read more >
Bug listing with status RESOLVED with resolution FIXED as at ...
Bug :2 - "How do I attach an ebuild. ... Bug:37 - "webconfig failes to build due to some KDE related error" status:RESOLVED...
Read more >
list index out of range when u try to overwrite cells from Python
Hi,. We are running some automation scripts using Python. In this, we need to open and Excel workbook and keep appending the results...
Read more >
Errors and exceptions - Object-Oriented Programming in Python
Logical errors. Syntax errors¶. Python will find these kinds of errors when it tries to parse your program, and exit with an error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found