Description

I am using the desktop edition and want to disable surge protection (I am a single user). When I disable surge protection in the config I get the following error when accessing a page: 'NoneType' object has no attribute 'get'

Steps to reproduce

  1. Add line to wikiconfig.py: surge_action_limits = None # disable surge protection

# -*- coding: iso-8859-1 -*-
"MoinMoin - Configuration"

from MoinMoin.multiconfig import DefaultConfig

class Config(DefaultConfig):
    port = 9090
    acl_rights_after = acl_rights_default = u"All:read,write,delete,revert,admin"
    sitename = u'My Wiki'
    data_dir = r'C:\data\moin\data'
    data_underlay_dir = r'C:\data\moin\underlay'
    surge_action_limits = None # disable surge protection
    theme_default = 'mentalwealth'
  1. Start server
  2. Access page

Example

Details

traceback.html

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/ConfigureSurgeActionLimits (last edited 2007-10-29 19:13:19 by localhost)