Edgewall Software
Modify

Opened 13 years ago

Closed 13 years ago

Last modified 4 years ago

#9926 closed defect (fixed)

[PATCH] Admin console: TypeError: 'NoneType' object is not subscriptable

Reported by: Thijs Triemstra Owned by: Remy Blank
Priority: normal Milestone: 0.12.2
Component: admin/console Version: 0.12-stable
Severity: major Keywords: bitesized, patch
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm using 0.12-stable and when I run:

trac-admin ../testerr wiki export help

it prints a vague error:

TypeError: 'NoneType' object is not subscriptable

I guess there's a parameter missing behind help ([file]) which caused this error.

Attachments (1)

page-export-9926.patch (703 bytes ) - added by Thijs Triemstra 13 years ago.
against 0.12-stable r10371

Download all attachments as: .zip

Change History (5)

comment:1 by Remy Blank, 13 years ago

Keywords: bitesized added
Milestone: next-minor-0.12.x

Yes, that error message is not very explicit :) Should be easy enough to fix. PatchWelcome.

by Thijs Triemstra, 13 years ago

Attachment: page-export-9926.patch added

against 0.12-stable r10371

comment:2 by Thijs Triemstra, 13 years ago

Keywords: patch added
Milestone: next-minor-0.12.x0.12.2
Summary: Admin console: TypeError: 'NoneType' object is not subscriptable[PATCH] Admin console: TypeError: 'NoneType' object is not subscriptable

The error was related to the unknown wiki page passed in, not the missing file parameter. See attached patch.

comment:3 by Remy Blank, 13 years ago

Resolution: fixed
Status: newclosed

Slightly simpler patch applied in [10386].

comment:4 by Thijs Triemstra, 13 years ago

Owner: set to Remy Blank

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.