Description

Very Long pagename can make trouble in wiki_dicts because of caching

/moin-1.9.4/MoinMoin/datastruct/backends/wiki_dicts.py", line 58, in _load_dict
 cache.update(d)
  File "/moin-1.9.4/MoinMoin/caching.py", line 269, in update
    raise CacheError(str(err))
CacheError: [Errno 36] File name too long:

This is a limitation of the filesystem

Steps to reproduce

create a pagename with 329 chars

Component selection

Details

MoinMoin Version

This wiki

Workaround

Use shorter pagenames.

Very long pagenames are not very usable anyway, because you have to type all that long pagename if you want to link to it.

Aside from any limitation there might be in the caching system, you will also hit a filename length limitation for the page revision files themselves (and we can't do much about that, as it is a fs limitation).

Discussion

cache files should not have that length

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/caching FileNameTooLong (last edited 2012-04-12 13:35:35 by ThomasWaldmann)