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 summary fails for a certain case

See original GitHub issue

error: rich.errors.MarkupError: closing tag ‘[/model/2013/V20%200177200%20004%2080%205218%202.jpg]’ at position 45 doesn’t match any open tag

Steps to reproduce:

da = DocumentArray().pull(name='subset_laion')
print(da[1073].tags)
print(da[1073].text)
print(da[1073].uri)
print(da[1073].summary())

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
JoanFMcommented, Nov 9, 2022

I think we should open an issue on rich with the following snippet:


class A:

    def __rich_console__(self, console, options):
        from rich.table import Table
        from rich import box

        my_table = Table(
            'Attribute', 'Value', width=80, box=box.ROUNDED, highlight=True
        )

        v = '[/model/2013/V20%200177200%20004%2080%205218%202.jpg]'

        my_table.add_row('field', v)
        yield my_table


from rich.tree import Tree

tree = Tree(A())

from rich import print

print(tree)
rich.errors.MarkupError: closing tag '[/model/2013/V20%200177200%20004%2080%205218%202.jpg]' at position 0 doesn't match any open tag
0reactions
JoanFMcommented, Nov 9, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Write A Good Bug Report? Tips and Tricks
Summary: A brief summary of the bug, mostly within 60 words or below. Make sure your summary is reflecting on what the problem...
Read more >
Bug Types (Summary) | Test IO Academy
What is a bug, what bug types we distinguish between and how to determine the ... by showing that the field is validated...
Read more >
How to Report a Bug | Test the Web Forward
The overview or description of a bug report is to explain the bug to the developer, including: Abstracted summary of behavior (e.g. interpretation...
Read more >
Defect Management Process in Software Testing (Bug Report)
A software defect is an error in coding which causes incorrect or unexpected results from a software program which does not meet actual ......
Read more >
What is the difference between Error Mistake Fault Bug Failure ...
A Bug is the result of a coding Error and A Defect is a deviation from the Requirements. A defect does not necessarily...
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