Closed Bug 1631162 Opened 5 years ago Closed 5 years ago

mozregression GUI log pane context menu results in crash

Categories

(Testing :: mozregression, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: raysatiro, Assigned: wlach)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

I'm using the latest mozregression from the repo and testing some issues related to bug 1536324.

pip install -e . && python gui/build.py test

After the log pane gets some text in it right-click on the pane to bring up the context menu and choose Debug.

Actual results:

platform: Windows-7-6.1.7601-SP1
python: 3.8.1 (64bit)
mozregression: 4.0.4.dev0+ga387b60.d20200417
message: TypeError: 'PySide2.QtGui.QTextBlock' object is not an iterator
traceback:   File "X:\code\mozregression\mozregression\gui\mozregui\log_report.py", line 90, in on_log_filter
    current_block = next(current_block)

Expected results:

No crash. The context-menu entries if I understand should be used to filter on/off verbosity levels.

Thanks Ray! Will look into this.

Assignee: nobody → wlachance

Should be fixed in the next release, see pull request

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: