cache_detail page gives TypeError exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
New
|
Undecided
|
Unassigned |
Bug Description
I have programmatically imported a directory tree of text files, with a directory tree depth of 4, up to 200 folders total, and more than 23 thousand text files into my Plone 4.1.2 site. More than 25 thousand tags are also imported from those documents.
Navigation and load times of pages is excellent, tags are working nicely, search form works great. But when I click on the edit link on the green edit bar to edit any of those pages, it takes 5 minutes to see the edit page with tinymce, and python executable goes crazy with %100 cpu during this 5 minutes. Debug console does not show any problem at this point.
While trying to debug this problem I was suggested to check cache details in Zope ZMI, so when I visit Control_
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module Products.
Module ZPublisher.Publish, line 46, in call_object
Module App.CacheManager, line 105, in cache_detail
Module App.CacheManager, line 105, in <genexpr>
TypeError: %d format: a number is required, not str
> /var/Home/
-> return '\n'.join('%6d %s'%(count, name) for count, name in detail)
I have Plone 4.1.2, Zope2 2.13.10, Python 2.7 on Ubuntu 11.04 desktop system (a typical custom buildout, not from the Plone 4.1.2 installer at plone.org)
my python is the system's python, which reports itself as version 2.7.1+