List Info

Thread: Scripting ZOPE/Plone installation




Scripting ZOPE/Plone installation
user name
2006-09-29 14:14:49
On 29 Sep 2006, at 14:27, Nick Davis wrote:

> Duncan Mortimer wrote:
>>
>>     REQUEST=self.REQUEST,
>> AttributeError: REQUEST
>
> You have to simulate sending yourself a request,
something along  
> these lines :
>
> from Testing.makerequest import makerequest
> app=makerequest(app)
> app.uol=makerequest(app.uol)
>
> uol is our plone root - replace with what you have.

That was it! 'app=makerequest(app)' was all it needed. I did
get the  
following:
2006-09-29 15:09:25 ERROR Zope.ZCatalog uncatalogObject  
unsuccessfully attempted to uncatalog an object with a uid
of events/ 
events_topic/previous.
2006-09-29 15:09:26 ERROR Zope.ZCatalog uncatalogObject  
unsuccessfully attempted to uncatalog an object with a uid
of  
events_topic/previous.

But the the site creation seems to have completed fine.

Thanks for the help, time to see what configuration I can
get done  
with it 

Duncan

Duncan Mortimer
duncanfmrib.ox.ac.uk




_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
Scripting ZOPE/Plone installation
user name
2006-09-29 14:18:22
Duncan Mortimer wrote:
> 

> 2006-09-29 15:09:25 ERROR Zope.ZCatalog uncatalogObject
 unsuccessfully 
> attempted to uncatalog an object with a uid of events/ 
> events_topic/previous.
> 2006-09-29 15:09:26 ERROR Zope.ZCatalog uncatalogObject
 unsuccessfully 
> attempted to uncatalog an object with a uid of 
events_topic/previous.

Such "unsuccessful uncatalog" messages used to
scare me too, until 
eventually one of the core developers told me it was just
Archetypes 
being messy in a harmless way. So ignore these errors.
You'll see 
hundreds of them sometimes.

> Thanks for the help, time to see what configuration I
can get done  with 
> it 
You're welcome. Have fun with Plone. 

-- 
Nick Davis
Web Application Developer
University of Leicester
http://www2.le.ac.uk
http://ebulletin.le.ac.uk


_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )