problem with read only zope. Does not load some products (Archetypes)
Hi there, I am creating a CD with the copy of a site. The idea is, that the CD could be used in places where there is no internet access. No my problem is, that on of the products (Archetypes) is not initialized correctly at startup. And therefor all dependent products are not initialized neither. After Zope has been loaded, I can go to the control panel and load archetypes and the dependent products manually. Unfortunately this is not something I can ask the users "in the field" to do. Has anybody an Idea what I could do, to have Archetypes loaded the "official" way. thanks Robert
robert rottermann wrote:
Hi there,
I am creating a CD with the copy of a site. The idea is, that the CD could be used in places where there is no internet access.
No my problem is, that on of the products (Archetypes) is not initialized correctly at startup.
Do you mean __init__.py throws an error? Which one? Traceback?
And therefor all dependent products are not initialized neither. After Zope has been loaded, I can go to the control panel and load archetypes and the dependent products manually.
That do you mean by load? Running the install.py from Extensions/Install? Raphael
Unfortunately this is not something I can ask the users "in the field" to do.
Has anybody an Idea what I could do, to have Archetypes loaded the "official" way.
thanks
Robert
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Raphael Ritz wrote:
robert rottermann wrote:
Hi there,
I am creating a CD with the copy of a site. The idea is, that the CD could be used in places where there is no internet access.
No my problem is, that on of the products (Archetypes) is not initialized correctly at startup.
Do you mean __init__.py throws an error? Which one? Traceback?
Thanks for your answer, No, no error at all, just the archtypes based products are broken when I go to a plone site in the ZMI.
And therefor all dependent products are not initialized neither. After Zope has been loaded, I can go to the control panel and load archetypes and the dependent products manually.
That do you mean by load? Running the install.py from Extensions/Install?
I meant refresh. So I go and refresh Archetypes, and all the Archetypes based products (2 of them), and everything works fine. thanks Robert
Raphael
Unfortunately this is not something I can ask the users "in the field" to do.
Has anybody an Idea what I could do, to have Archetypes loaded the "official" way.
thanks
Robert
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
robert rottermann wrote:
No, no error at all, just the archtypes based products are broken when I go to a plone site in the ZMI.
If they are broken in Control_Panel/Products, then click on them, you should get a traceback, if you can sen that traceback to the list, someone may be able ot help you... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Chris Withers wrote:
robert rottermann wrote:
No, no error at all, just the archtypes based products are broken when I go to a plone site in the ZMI.
If they are broken in Control_Panel/Products, then click on them, you should get a traceback, if you can sen that traceback to the list, someone may be able ot help you...
Chris
thanks chris, the problem is every thing is fine. Only the instances of the products are broken. I then have to go refresh archetypes, and the the product in question. After that everything works just fine. When I do not refresh archetypes, my product complains that it can not import Schema from Archetypes. After refreshing all works fine. If I do not start things from a read only filesystem (not from CD) everything works fine . Robert
robert rottermann wrote:
When I do not refresh archetypes, my product complains that it can not import Schema from Archetypes. After refreshing all works fine.
If I do not start things from a read only filesystem (not from CD) everything works fine .
Looks like Archetypes is doing somethign dodgy, best leave it to the Archetypes people to answer... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
robert rottermann wrote:
I am creating a CD with the copy of a site. The idea is, that the CD could be used in places where there is no internet access.
No my problem is, that on of the products (Archetypes) is not initialized correctly at startup. And therefor all dependent products are not initialized neither. After Zope has been loaded, I can go to the control panel and load archetypes and the dependent products manually.
Use Zope 2.7 with DemoStorage and load your ZODB from a FSStorage ZODB. DemoStorage supports that. Just read the manuals and maybe the sources. With DemoStorage Zope is able to write to a ZODB that lifes in memory. Christian
participants (4)
-
Chris Withers -
Christian Heimes -
Raphael Ritz -
robert rottermann