[zope2-tracker] [Bug 889024] [NEW] cache_detail page gives TypeError exception
jfcgauss
jfcgauss at gmail.com
Fri Nov 11 10:33:56 UTC 2011
Public bug reported:
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_Panel/Database/cache_detail
I get the following traceback (cache_extreme_detail link works, these
links are at Control_Panel/DebugInfo/manage_main):
Module ZPublisher.Publish, line 126, in publish
Module ZPublisher.mapply, line 77, in mapply
Module Products.PDBDebugMode.runcall, line 70, in pdb_runcall
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/serhat/Dev/Plone/eggs/Zope2-2.13.10-py2.7.egg/App/CacheManager.py(105)<genexpr>()
-> 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)
** Affects: zope2
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/889024
Title:
cache_detail page gives TypeError exception
To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/889024/+subscriptions
More information about the zope2-tracker
mailing list