Opened 7 years ago

Closed 7 years ago

#1412 closed defect (fixed)

bug reporting doubles log commands

Reported by: pett Owned by: Greg Couch
Priority: moderate Milestone: 1.0
Component: Infrastructure Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Whatever mechanism is used to incorporate the log contents into bug reports seems to produce two copies of each command (e.g. ticket #1411). It would be nice if it didn't.

Change History (4)

comment:1 by pett, 7 years ago

Priority: blockermoderate

comment:2 by Tom Goddard, 7 years ago

Owner: changed from Tom Goddard to Greg Couch

Converting the html log.page_source to plain text for inclusion in bug reports does not work correctly since both documentation links and command execution links were put into the log for commands. I'm not sure what trick controls the display of just one of those two commands in the log panel. Some similar trick will be needed to include just one of the lines in the plain text version of the log.

I've moved the bug report html to plain text code from the bug reporter module to be the Log.plain_text() method which uses the standard Python HTML2Text class.

Reassigning to Greg since he implemented the two copies of command text in the log.

comment:3 by pett, 7 years ago

Milestone: 1.0

comment:4 by Greg Couch, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed. Removed duplicate by scanning the log's HTML source and put a '> ' prompt in front of the command.

Note: See TracTickets for help on using tickets.