Modify

Opened 6 years ago

Last modified 5 years ago

#4336 new defect

Crash In Timeline with Bitten

Reported by: golo@… Owned by: coderanger
Priority: normal Component: HackergotchiPlugin
Severity: normal Keywords: hackergotchi, identicon, fix
Cc: Trac Release: 0.11

Description

Having hackergotchi and bitten enabled, when timeline shows bitten events, it crashes with: "AttributeError: 'NoneType' object has no attribute 'strip'"

I've followed trace to hackergotchi/web_ui.py 48

author = data['events'][n]['author'].strip()

And made it work with the attached patch. I'm not a python programmer, so I think it can be better done :D.

Attachments (2)

hackergotchi.patch (2.0 KB) - added by golo@… 6 years ago.
hackergotchi.2.patch (682 bytes) - added by golo@… 6 years ago.
Last patch didn't work. I made a simpler one.

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by golo@…

Changed 6 years ago by golo@…

Last patch didn't work. I made a simpler one.

comment:1 Changed 6 years ago by joti

  • Keywords hackergotchi identicon fix added
  • Owner changed from coderanger to joti
  • Status changed from new to assigned

I've had the same problem together with the HudsonTracPlugin and i've ended up with the same as in attachment:2 (hackergotchi.2.patch)

Thus: Hooray, my favorite plugin works again :D

comment:2 Changed 6 years ago by joti

  • Owner changed from joti to coderanger
  • Status changed from assigned to new

comment:3 Changed 5 years ago by TimN

Can we see this patch applied? It solved the described problem just fine over here and I'm going to include it in a Fedora packaged I have prepared.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.