wiki fails to load after hitting 'save'

Bug #57920 reported by Marek Spruell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Tour
New
Undecided
Unassigned
Ubuntu
Invalid
Undecided
Unassigned

Bug Description

 I attempted to add a line to the wiki, hit the preview button and got a preview. Hit the 'save' button and got the following

-->

IndexErrorstring index out of range Please include this information in your bug reports!:
Python Python 2.4.1: /usr/bin/python
Linux palmer 2.6.15.7 #1 SMP Sat Jul 15 10:43:55 UTC 2006 i686
MoinMoin Release 1.3.4 [Revision 1.3.4 release]
Sun Aug 27 21:45:56 2006

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /usr/lib/python2.4/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestModPy instance>)
  845 from MoinMoin.wikiaction import getHandler
  846 handler = getHandler(self, action)
  847 handler(self.page.page_name, self)
  848
  849 # 5. Or redirect to another page
handler = <function do_savepage>, self = <MoinMoin.request.RequestModPy instance>, self.page = <MoinMoin.Page.Page instance>, self.page.page_name = u'ClassroomTranscripts'

 /usr/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_savepage(pagename=u'ClassroomTranscripts', request=<MoinMoin.request.RequestModPy instance>)
  605 try:
  606 savemsg = pg.saveText(savetext, rev, trivial=trivial,
  607 comment=comment)
  608 except pg.EditConflict, msg:
  609 # Handle conflict and send editor
comment = u''

 /usr/lib/python2.4/site-packages/MoinMoin/PageEditor.py in saveText(self=<MoinMoin.PageEditor.PageEditor instance>, newtext=u'||<tablestyle="float:right; font-size: 0.9em; wi...w and exciting mentors to help new Ubuntu users.\n', rev=9, **kw={'comment': u'', 'trivial': 0})
  940 # send notification mails
  941 if self.request.cfg.mail_smarthost:
  942 msg = msg + self._notifySubscribers(comment, trivial)
  943
  944 # remove lock (forcibly if we were allowed to break it by the UI)
msg = u'Thank you for your changes. Your attention to detail is appreciated.', self = <MoinMoin.PageEditor.PageEditor instance>, self._notifySubscribers = <bound method PageEditor._notifySubscribers of <MoinMoin.PageEditor.PageEditor instance>>, comment = u'', trivial = 0

 /usr/lib/python2.4/site-packages/MoinMoin/PageEditor.py in _notifySubscribers(self=<MoinMoin.PageEditor.PageEditor instance>, comment=u'', trivial=0)
  570 _ = self._
  571 subscribers = self.getSubscribers(self.request, return_users=1,
  572 trivial=trivial)
  573 if subscribers:
  574 # get a list of old revisions, and append a diff
trivial = 0

 /usr/lib/python2.4/site-packages/MoinMoin/Page.py in getSubscribers(self=<MoinMoin.PageEditor.PageEditor instance>, request=<MoinMoin.request.RequestModPy instance>, **kw={'return_users': 1, 'trivial': 0})
  887 for uid in userlist:
  888 if uid == request.user.id and not include_self: continue # no self notification
  889 subscriber = user.User(request, uid, prefs_only=True)
  890
  891 ## This is a bit wrong if return_users=1 (which implies that the caller will process
subscriber = <MoinMoin.user.User instance>, global user = <module 'MoinMoin.user' from '/usr/lib/python2.4/site-packages/MoinMoin/user.pyc'>, user.User = <class MoinMoin.user.User>, request = <MoinMoin.request.RequestModPy instance>, uid = '775843', prefs_only undefined, True undefined

 /usr/lib/python2.4/site-packages/MoinMoin/user.py in __init__(self=<MoinMoin.user.User instance>, request=<MoinMoin.request.RequestModPy instance>, id='775843', name='', password=None, auth_username='', prefs_only=True)
  305
  306 if self.id:
  307 self.load_from_id()
  308 if self.name == self.auth_username:
  309 self.trusted = 1
self = <MoinMoin.user.User instance>, self.load_from_id = <bound method User.load_from_id of <MoinMoin.user.User instance>>

 /usr/lib/python2.4/site-packages/MoinMoin/user.py in load_from_id(self=<MoinMoin.user.User instance>, check_pass=0)
  406 # XXX: uncomment this!
  407 #assert auth_data['wikiname'], 'No wikiname for user %r!' % self.id
  408 self._load_from_auth_data(auth_data)
  409
  410 def _load_from_auth_data(self, auth_data):
self = <MoinMoin.user.User instance>, self._load_from_auth_data = <bound method User._load_from_auth_data of <MoinMoin.user.User instance>>, auth_data = None

 /usr/lib/python2.4/site-packages/MoinMoin/user.py in _load_from_auth_data(self=<MoinMoin.user.User instance>, auth_data=None)
  434 try:
  435 key, val = line.strip().split('=', 1)
  436 if key not in self._transient_fields and key[0] != '_':
  437 # Decode list values
  438 if key in ['quicklinks', 'subscribed_pages']:
key = u'', self = <MoinMoin.user.User instance>, self._transient_fields = ['id', 'valid', 'may', 'auth_username', 'trusted', 'email', 'name', 'authserver']

IndexError: string index out of range
      __doc__ = 'Sequence index out of range.'
      __getitem__ = <bound method IndexError.__getitem__ of <exceptions.IndexError instance>>
      __init__ = <bound method IndexError.__init__ of <exceptions.IndexError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method IndexError.__str__ of <exceptions.IndexError instance>>
      args = ('string index out of range',)

Revision history for this message
Matthew East (mdke) wrote :

Not a bug in Ubuntu, rejecting. Also, is a duplicate of bug 57894

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.