Please login or register to participate.
offray Mar 27, 2010 05:23 AM
Problems with My second instance of Zope/Cynin I got the error 'No traversable adapter found'. This is the full output:

('No traversable adapter found', {'extension_profiles': ({'product': 'Collage', 'description': 'Profile for Collage', 'for': , 'title': 'Collage', 'version': '1.1', 'path': 'profiles/default', 'type': 2, 'id': 'Collage:default'}, {'product': 'kupu', 'description': 'Extension profile for Kupu', 'for': , 'title': 'Kupu', 'version': u'1.4.15', 'path': 'plone/profiles/default', 'type': 2, 'id': 'kupu:default'}), 'args': (), 'base_profiles': (), 'default_profile': 'Products.CMFPlone:plone'})

I see from [1]_ that is related with setuptools.

.. [1][…]/002925.html

When I made the part of the installation instructions related with setuptools this was what I got:

# python2.4
Setuptools version 0.6c9 or greater has been installed.
(Run " -U setuptools" to reinstall or upgrade.)
[root@li128-154 3.1]# easy_install-2.4 virtualenv
Searching for virtualenv
Best match: virtualenv 1.4.5
Processing virtualenv-1.4.5-py2.4.egg
virtualenv 1.4.5 is already the active version in easy-install.pth
Installing virtualenv script to /usr/bin

Using /usr/lib/python2.4/site-packages/virtualenv-1.4.5-py2.4.egg
Processing dependencies for virtualenv
Finished processing dependencies for virtualenv

I suppose this was because virtualenv was already installed from my previous zope/cynin installation. But this was the only part that was different from the previous one. After that all was fine and I got similar outputs, but now I just can add another Plone site to my new Zope server. This is ahead of my comprehension right now, so please, any help would be appreciated.
Replies (8)
offray Mar 27, 2010 05:29 AM
This link seems to have some related information:[…]/

Still I don't know what to do. I really would like to make this scenario discussed here [*]_ to work, but repeating the same steps for each Zope installation seems to bring errors related with setuptools or some other eggs... :-/ any advice or pointer to a solution would be really appreciated.:

dhiraj Mar 28, 2010 11:30 PM
Hmm... you had installed, used and then uninstalled Collage product? That causes this problem, I think, especially when it's no longer present in the buildout. We recently eliminated it from the buildout in SVN trunk, BTW.

Try going to portal_actions object in ZMI and looking for a link in ....... document_actions, I think. It's there in one of the sub-folders inside portal_actions - find it, and delete it, and your site should be fine again after this.
offray Mar 30, 2010 09:57 PM
I have not installed used or uninstalled any Collag project. I can't find portal_actions in ZMI. It seems that is available after you have installed a Plone site, but the problem is that I can't install any. I think that I'm not making myself clear again. I was trying to install a second Zope server following the same procedures of my first installation. All went fine with the build out, but I can't not add any Plone site (I got the error referred above). My first server is going fine. The second one is just not working. Zope is fine, but I can't add a Plone Site. Most of the sites on the web suppose that is easy to find ZMI/portal_actions/document_actions link/route, but putting it on the browser or trying to get it using point and click on the web interface always got me in the initial page (the one under /manage).

So finally I proceed as advised here:

And now I have two plone/cynin sites running in the same Zope with different Data.fs and are working nicely, but two questions remain:

1. The first instance of Cynin has an anonymous public view, the second one doesn't give me the possibility to public to anonymous following the same procedure as the first one.
2. There is some relation between the size of Data.fs and the responsiveness of the site in terms of speed. May be is just my impression but seems that the bigger Data.fs the slightly slower the site becomes.

Thanks again for all the learning.
offray Apr 01, 2010 07:03 PM
More issues with two instances of Cynin running on the same Zope server: it seems that if you browse the two sites in two tabs of the same browser you need to login repeatedly. May be is related with the cookies of the login process. Anyway I'm trying different browsers on each site to see it this solves the problem. Soon I will post a link/bookmark about how I made the process. As a side note, speed is getting better, but still I want to know if there is any relation between speed and size of Data.fs
dhiraj Apr 01, 2010 10:40 PM
Well I suppose it's great that you got them running in the same Data.fs. I can't really figure out why you're having authentication issues, though, you shouldn't be. There's possibly something wrong in the Apache rewrite rules for your second site that's causing you to lose cookies, maybe? Are both sites logging out or only one? This *could* be a side effect of using the multi-site multi-file product, but am not sure - we don't use it.

Regarding speed, while the performance does decrease a bit when you add a large number of objects (and we're working on improving that constantly) it's also got to do a lot with setup and hardware.

Typically on a site that is accessed by a large number of people concurrently you need to run a zeo-clustered setup. This is a bit more advanced to setup (you need better knowledge of buildout, and Apache, and better hardware as well - more CPUs or server boxes, and RAM). We include this setup in the enterprise edition appliance if you are interested in having that.
offray Apr 02, 2010 01:02 AM
What I have is two Data.fs for two Cynin community sites running on the same Zope sever. I proceeded as explained here:[…]-data.fs-files-for-each-one

The thing about speed is that while one, the one with the smallest Data.fs is amazing fast the other, with the bigger Data.fs is not so fast and you can see the difference with performance clearly. Other thing is that the same procedure for making content available to anonymous in the site one is not working on site two. I don't know if this is related with the fact that the bigger/slower/private Data.fs comes from a site that was mounted on 3.04 while the smaller/faster/anonymous is from 3.1 and in 3.04 anonymous public content was not available. By the way running two different browsers on each site solved the problem with constant re-login. :-)... so I think that is some how related with cookies and the way that browser stores them if they come from the same url/port.

I'm really learning a lot and we have (re)created also Spanish documentation on this learning. We still not have the proper configuration to share it nicely (we want to configure Cherokee + Cynin to mask the urls properly) but if you don't mind to have them with not nice looking urls we can share them with the rest of the community. Thanks as always.
dhiraj Apr 02, 2010 01:20 PM
Oh yes, please do share the URLs. It's always good to see the working copies of to see what people do with it. :)
offray Apr 07, 2010 05:31 PM
Ok. I will publish them as bookmarks on the Users Space. Thanks :-)