Description

The bookmarks on the RecentChanges page did not work for me. Watching the .bookmark file in the users directory I saw, that it is successfully updated, but finally not used in the next reload.

I tracked it down to a casting exception in the getBookmark function in user.py. Apparently my Python saves the timestamp in a quite long format and the casting to an int fails, leaving the bookmark unknown.

Steps to reproduce

  1. I installed moin wiki from source and
  2. Tried to set a bookmark on the RecentChanges page

Details

MoinMoin Version

1.3.3

OS and Version

GNU/Linux 2.4.21 i386 debian

Python Version

2.2.3

Server Setup

CGI

Server Details

Apache 2.0.46

Workaround

Change casting to "int" into casting to "long" in function getBookmark in user.py (line 606).

Or upgrade to python 2.3 or 2.4 (without changing code).

Discussion

I cannot believe, that nobody else realized that. I found nothing in the current buglist or the recent changes to 1.3.4, so apparently it's a weird thing in combination with debian-python patches or whatever.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/BookmarkTimestampTooLong (last edited 2007-10-29 19:21:14 by localhost)