Please login or register to participate.
bblier Apr 28, 2010 01:33 AM
Just starting out with getting Cyn.In up and running on CentOS 5... So far so good, but I do have a couple questions:

1. When the Spaces are displayed in the left bar menu, why do those seem to be sorted arbitrarily? I would really like those to be alphabetical but have found no way or documentation on how to accomplish that.
2. I'm learning the quirks (very quickly) of having one flat file as your "everything" database. One of those quirks bothered me to the point where I had to ask this: Is it normal for your Data.fs file to grow by 400K when the Zope daemon is stopped then started again? I imagine some of that is logging but do I have ultra-verbosity enabled or something that I can dial back so my Data.fs file isn't growing wildly out of control?
Replies (7)
dhiraj Apr 28, 2010 01:42 AM
Currently, the Spaces menu on the left *is* sorted arbitrarily due to our usage of a BTree based folder design to be able to have a larger number of Spaces and items available. We'll hopefully be re-working the navigation on the left sidebar to be better soon.

Flat File databases: While some do consider the Zope Database (or ZODB as it's known) to be unreliable, let me stress on the fact that it is in fact, not so. It's just a feeling borne from excessive usage of relational databases. :)
It does grow a lot in size though. A lot of this is "undo" and not-really-required data. You can "pack" this by going to ZMI (that's http:<IPADRESS or HOST>:8080/manage) and going to Control Panel -> Databases -> Main and hitting pack with a "keep" setting of 1 day or so. From a starting to use perspective though - I recommend to not worry about your Data.fs file size until it crosses the GB barrier. When it does, simply pack it like above and you'll be happy again.
bblier Jul 14, 2010 12:16 AM

Any time you rebuild the Catalog in Cyn.In 3.1.3 all of my Spaces get sorted alphabetically :) This will work for now until some sort of ordering gets implemented in to the system.

I'm still lost on where I would go to pack the database. The links that you (and other Google results) point me to places that I can't see. I found a place in the ZMI that I would be able to expose a "Maintenance" link on to the Control Panel, but when I click it I get a "Permission Denied" message.

One other thing I would like to ask you about: This may be a Plone or 3rd party package deal, but I haven't found anybody else who has reported this problem so bear with me. When I am editing a Wiki Page with the Kupu editor, and I click on the HTML icon to go in to "Source" view, the editor will switch back to the "Normal" view any time the auto-save kicks in. I know it's an auto-save because I see AJAX happening and the top right corner displays "Document Saved." This is quite annoying and will probably throw off some of my users. I tried enabling/disabling the live HTML filter (the one that removes any unallowed tags) but had no success. Any thoughts?

Thanks for your help!
bblier Jul 14, 2010 12:20 AM
One other tidbit of info that may be important -- I'm seeing the HTML "Source" problem in Mozilla Firefox 3.5 and 3.6 on Windows XP SP3.
samob Oct 06, 2010 12:44 PM
hello bbilier! i have simmilar problem with html editing and autosave function that kicks in in the middle of editing html content.. i have googled how to disable it, but had no luck except this document :) is there any easy procedure to diable autosave function?
gsiak Oct 06, 2010 10:57 PM
PLS use the search in this forum. The issue with Autosave and HTML view is already discussed.
gogobd Oct 12, 2010 02:03 PM
Hi, every 01! I was looking for the same information: how can i disable autosave? When I use the site search ("autosave") the only page hit is THIS page here. Can you please add a link here to the discussion you mentioned?
gsiak Oct 12, 2010 02:29 PM
I'm sorry, but I'm sure I have read in this forum written by Dhiraj, that disabling Autosave in HTML mode will aslo disable it in editor mode - he proposed to keep it as a feature of Kupu editor.