Opened 6 years ago

Closed 6 years ago

#5910 closed defect (duplicate)

Error with entries without author in timeline

Reported by: imcybot@… Owned by: coderanger
Priority: normal Component: HackergotchiPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Bitten inserts entries into the timeline that have no author, causing the HackergotchiPlugin to crash the timeline view.

This fixed it for me:

--- old/
+++ new/
@@ -38,6 +38,8 @@
                 closure_state[0] += 1
                 # Extract the user information
+                if data['events'][n]['author'] is None:
+                    return stream
                 author = data['events'][n]['author'].strip()
                 user_info = cache.get(author)
                 if user_info is not None:

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by imcybot@…

  • Resolution set to duplicate
  • Status changed from new to closed

Just noticed that this is a duplicate of #4336

Add Comment

Modify Ticket

as closed The owner will remain coderanger.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.