> -----Original Message----- > From: Jonas Smedegaard [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 03, 2005 1:36 PM > To: Grohmann, Carsten; [EMAIL PROTECTED] > Subject: Re: Bug#341723: IndexError: string index out of range > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, 2 Dec 2005 16:36:17 +0100 > "Grohmann, Carsten" <[EMAIL PROTECTED]> wrote: > > > Package: moinmoinn > > Severity: normal > > What Debian package did you use?
moinmoin-common 1.3.5-1 python2.3-moinmoin 1.3.5-1 Small note: The previous moinmoin testing package runs without problems. > > line 86, in die req = httplib.HTTP('%s:%d' % self.server_address) > > File "/usr/lib/python2.3/httplib.py", line 1012, in __init__ > > self._setup(self._connection_class(host, port, strict)) > > File "/usr/lib/python2.3/httplib.py", line 507, in __init__ > > self._set_hostport(host, port) > > File "/usr/lib/python2.3/httplib.py", line 523, in _set_hostport > > if host[0] == '[' and host[-1] == ']': > > IndexError: string index out of range > > Please provide your configuration file(s). moin.py: ======== import sys from MoinMoin.server.standalone import StandaloneConfig, run class Config(StandaloneConfig): docs = '/usr/share/moin/htdocs' user = 'www-data' group = 'www-data' port = 8000 interface = '' run(Config) wikiconfig.py: ============== from MoinMoin.multiconfig import DefaultConfig class Config(DefaultConfig): sitename = u'MySite' logo_string = sitename interwikiname = None bang_meta = 1 data_dir = './data/' data_underlay_dir = './underlay/' url_prefix = '/wiki' allowed_actions = ['DeletePage', 'AttachFile', 'RenamePage'] acl_enabled = 1 mail_smarthost = "" mail_from = "" mail_login = "" navi_bar = [ u'MySite', u'RecentChanges', u'FindPage', u'HelpContents', ] theme_default = 'modern' default_lang = 'de' page_category_regex = u'^Category[A-Z]' page_dict_regex = u'[a-z]Dict$' page_form_regex = u'[a-z]Form$' page_group_regex = u'[a-z]Group$' page_template_regex = u'[a-z]Template$' show_hosts = 1 show_section_numbers = 0 chart_options = {'width': 600, 'height': 300}