Modify

Opened 15 years ago

Last modified 9 years ago

#4336 new defect

Crash In Timeline with Bitten

Reported by: golo@… Owned by:
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@… 15 years ago.
hackergotchi.2.patch (682 bytes) - added by golo@… 15 years ago.
Last patch didn't work. I made a simpler one.

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by golo@…

Attachment: hackergotchi.patch added

Changed 15 years ago by golo@…

Attachment: hackergotchi.2.patch added

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

comment:1 Changed 15 years ago by joti

Keywords: hackergotchi identicon fix added
Owner: changed from Noah Kantrowitz to joti
Status: newassigned

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 15 years ago by joti

Owner: changed from joti to Noah Kantrowitz
Status: assignednew

comment:3 Changed 15 years ago by Tim Niemueller

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.

comment:4 Changed 9 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.