List Info

Thread: TypeError when setting up Plone




TypeError when setting up Plone
user name
2006-05-08 13:19:12
Greetings ploners !

I am attempting to setup a plone site on a Gentoo running
v.2.6.12,
The 'emergeing' all the relevant packages gives:
Zope:


Zope Version 
(Zope 2.8.4-final, python 2.3.5, linux2) 
Python Version 
2.3.5 (#1, Jul 15 2005, 18:02:30) [GCC 3.3.5-20050130
(Gentoo
3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7. 
System Platform 
linux2 
SOFTWARE_HOME 
/usr/lib/zope-2.8.4/lib/python 
ZOPE_HOME 
/usr/lib/zope-2.8.4 
INSTANCE_HOME 
/var/lib/zope 
CLIENT_HOME 
/var/lib/zope/var 
Network Services 
ZServer.HTTPServer.zhttp_server (Port: 8080)

Process Id 
13300 (32771) 
Running For 
32 min 44 sec 


Plone relevant packages:

archetypes-1.2.5_rc5         formulator-1.6.2
btreefolder2-1.0.1           groupuserfolder-2.0.1
cmf-1.4.7                   
placelesstranslationservice-fork-1.0_rc7
cmfactionicons-0.9           plone-2.0.4
cmfformcontroller-1.0.3      ploneerrorreporting-0.11
cmfquickinstallertool-1.5.0  plonetranslations-0.5
epoz-0.8.4                   portaltransforms-1.0.4
externaleditor-0.8

Are installed.


When I try to Add a plone site it installs but with an error
- I also
get this in the zope view tab:

Site Error
An error was encountered while publishing this resource. 

TypeError

Sorry, a site error occurred.

Traceback (innermost last):

      * Module ZPublisher.Publish, line 187, in
publish_module_standard
      * Module
Products.PlacelessTranslationService.PatchStringIO, line
        51, in new_publish
      * Module ZPublisher.Publish, line 144, in publish
      * Module Zope2.App.startup, line 199, in
zpublisher_exception_hook
      * Module ZPublisher.Publish, line 113, in publish
      * Module ZPublisher.mapply, line 88, in mapply
      * Module ZPublisher.Publish, line 40, in call_object
      * Module Products.CMFCore.PortalContent, line 116, in
__call__
      * Module Shared.DC.Scripts.Bindings, line 311, in
__call__
      * Module Shared.DC.Scripts.Bindings, line 348, in
_bindAndExec
      * Module Products.CMFCore.FSPageTemplate, line 191, in
_exec
      * Module Products.CMFCore.FSPageTemplate, line 124, in
pt_render
      * Module Products.PageTemplates.PageTemplate, line 98,
in
        pt_render
        <FSPageTemplate at /diseaseteams/document_view
used
        for /diseaseteams/index_html>
TypeError: unbound method pt_getContext() must be called
with
ZopePageTemplate instance as first argument (got nothing
instead) (Also,
an error occurred while attempting to render the standard
error
message.)

In my event.log file I get:

------
2006-05-08T14:12:36 ERROR Zope.ZCatalog Recataloging object
at /diseaseteams/index_html failed
Traceback (most recent call last):
  File
"/usr/lib/zope-2.8.4/lib/python/Products/ZCatalog/ZCat
alog.py",
line 303, in refreshCatalog
    self.catalog_object(obj, p, pghandler=pghandler)
TypeError: catalog_object() got an unexpected keyword
argument
'pghandler'
------
2006-05-08T14:12:37 ERROR Zope.SiteErrorLog
http://
hluu0163p:8080/diseaseteams/index_html
Traceback (most recent call last):
etc etc etc

I would much appreciate any help I can get because I am
clueless..

Thanks in advance

		-- Jan



-- 
Dr. Jan Torleif Pedersen
Section Head, Bioinformatics
Lundbeck A/S
Ottiliavej 9
DK-2500 Valby, Denmark
phone: +45 36 43 28 87
cell: +45 30 83 28 87
email: jatplundbeck.com

_______________________________________________
Setup mailing list
Setuplists.plone.org
http://
lists.plone.org/mailman/listinfo/setup
TypeError when setting up Plone
user name
2006-05-09 10:10:39
Jan Torleif Pedersen wrote:
> Greetings ploners !
> 
> I am attempting to setup a plone site on a Gentoo
running v.2.6.12,
> The 'emergeing' all the relevant packages gives:
> Zope:
> 

> 
> 
> Plone relevant packages:
> 
> archetypes-1.2.5_rc5         formulator-1.6.2
> btreefolder2-1.0.1           groupuserfolder-2.0.1
> cmf-1.4.7                   
placelesstranslationservice-fork-1.0_rc7
> cmfactionicons-0.9           plone-2.0.4
> cmfformcontroller-1.0.3      ploneerrorreporting-0.11
> cmfquickinstallertool-1.5.0  plonetranslations-0.5
> epoz-0.8.4                   portaltransforms-1.0.4
> externaleditor-0.8
> 
> Are installed.
> 
> 
> When I try to Add a plone site it installs but with an
error - I also
> get this in the zope view tab:
> 
>

Hello,
    This combination of packages looks bad. Archetypes 1.2.5
comes from 
an old version of Plone, 2.0, which I do not believe is
compatible with 
Zope 2.8.
    The best way to ensure you never have invalid
combinations or 
dependency problems, is to build from source yourself, which
may seem 
intimidating but is not too bad, and is described here:

http://plone.org/documentation/how-to/setup-from-source

I suggest you take the latest Zope 2.8.x,  and the latest
Plone which is 
2.1.2 .

Hope that helps,
Nick

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

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