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.

Error while adding a tag to a new program

See original GitHub issue

Commands

bbrf new 1testing -t site

Traceback (most recent call last):
  File "/home/kali/.local/bin/bbrf", line 8, in <module>
    sys.exit(main())
  File "/home/kali/.local/lib/python3.9/site-packages/bbrf/bbrf.py", line 986, in main
    result = bbrf.run()
  File "/home/kali/.local/lib/python3.9/site-packages/bbrf/bbrf.py", line 771, in run
    self.new_program()
  File "/home/kali/.local/lib/python3.9/site-packages/bbrf/bbrf.py", line 101, in new_program
    self.api.create_new_program(self.get_program(), tags=self.arguments['-t'])
  File "/home/kali/.local/lib/python3.9/site-packages/bbrf/bbrf_api.py", line 39, in create_new_program
    tag_map = {x.split(':', 1)[0]: x.split(':', 1)[1] for x in tags}
  File "/home/kali/.local/lib/python3.9/site-packages/bbrf/bbrf_api.py", line 39, in <dictcomp>
    tag_map = {x.split(':', 1)[0]: x.split(':', 1)[1] for x in tags}
IndexError: list index out of range

And then without the -t flag

> bbrf new 1testing
(no output) 

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
honokicommented, Mar 12, 2021

You should be able to update a program (or multiple programs) with the same syntax:

bbrf program update test test2 test3 -t key:value
0reactions
pdelteilcommented, Mar 12, 2021

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot Save Work Item When Adding Specific Tags
For the past several weeks, our company has been experiencing an issue where we cannot add a specific tags to any work item...
Read more >
Getting Error while creating the new tag in my local git clone
8/INTERNAL", Then I'm trying to create the new tag with name of "V1.8" by using following command. C:\Program Files\Git\bin\git.exe -C D:\ ...
Read more >
Unable to add or change tags in Finder - Apple Community
Unable to add or change tags in Finder. Finder gives me Unexpected Error Code -36 when I try to change or remove tags...
Read more >
ERROR. Attempting to add a tag directly in DataArchiver when ...
When trying to add a tag via collector browse or manually you get an error. Upon review of the DataArchiver log you will...
Read more >
Persistent error message when attempting to manage tags
When I go into "manage team" they show up, but they are not in the "people ... Adding tags previously failed with at...
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