[Erp5-users] Cannot Add 'ERP5 Site' to Zope

Muhamad Reza muhamad.reza at infi-nity.com
Wed Oct 7 17:19:23 CEST 2009


Hi Boris,

I also follow your steps. But it still goes error when I add new ERP5 site.
Site Error

An error was encountered while publishing this resource.
*Error Type: KeyError*
*Error Value: 'registered_skin_selection'*

and the traceback is

2009-10-07T22:14:57 ERROR Zope.SiteErrorLog
http://localhost:8080/manage_addProduct/ERP5/manage_addERP5Site
Traceback (most recent call last):
  File
"/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/Publish.py",
line 114, in publish
    request, bind=1)
  File
"/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/mapply.py", line
88, in mapply
    if debug is not None: return debug(object,args,context)
  File
"/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/Publish.py",
line 40, in call_object
    result=apply(object,args) # Type s<cr> to step into published object.
  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 92,
in manage_addERP5Site
    reindex=reindex)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1257,
in create
    reindex=reindex, **kw)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1692,
in setup
    self.setupERP5Core(p,**kw)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1736,
in setupERP5Core
    template_tool[id].install(**kw)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5Type/Base.py", line 230,
in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File
"/home/erp5/erp5-buildout/erp5/products/ERP5/Document/BusinessTemplate.py",
line 5138, in install
    return self._install(**kw)
  File
"/home/erp5/erp5-buildout/erp5/products/ERP5/Document/BusinessTemplate.py",
line 5074, in _install
    item.install(self, force=force, object_to_update=object_to_update,
trashbin=trashbin, installed_bt=installed_bt)
  File
"/home/erp5/erp5-buildout/erp5/products/ERP5/Document/BusinessTemplate.py",
line 1566, in install
    skin_folder = skin_tool[skin_folder_id]
  File
"/home/erp5/erp5-buildout/parts/zope2/lib/python/OFS/ObjectManager.py", line
715, in __getitem__
    raise KeyError, key
KeyError: 'registered_skin_selection'

Any suggestion ?


On Wed, Oct 7, 2009 at 9:47 PM, Boris Kocherov <bk at raskon.org> wrote:

> On 10/07/09 21:10, Pramono Tunggul wrote:
> > On Wed, Oct 7, 2009 at 9:04 PM, Boris Kocherov <bk at raskon.org> wrote:
> >
> > > On 10/07/09 20:37, Pramono Tunggul wrote:
> > > > On Wed, Oct 7, 2009 at 7:35 PM, Jean-Paul Smets <jp at nexedi.com>
> wrote:
> > > > > Hi,
> > > > >
> > > > > Did you follow this page ?
> > > > >    http://www.erp5.org/HowToUseBuildout
> > > > >
> > > >
> > > > Yepz.. I've followed the step, get zopectl but keep having the same
> > > error..
> > > >
> > > > Yeah.. That is what I was thinking, since in the documentation of
> > > > python-lxml, it's said that CDATA is part of lxml.etree module
> > > > but in this case ERP5 can't get CDATA from lxml.etree module.
> > > > anyway, could you tell me how to update erp5-buildout (I've tried to
> > > remove
> > > > and install it many times but it seems that python-lxml doesn't
> updated
> > > at
> > > > all)
> > >
> > > could you please write what do you see if run "dpkg -l python-lxml"?
> > >
> > > --
> > > Crisis had come unexpectedly, just as winter comes unexpectedly to
> > > Russia every year.
> > > _______________________________________________
> > > Erp5-users mailing list
> > > Erp5-users at erp5.org
> > > http://mail.nexedi.com/mailman/listinfo/erp5-users
> > >
> >
> > pramono at someOne:~/Desktop/Elegant Brit MacMenu$ dpkg -l python-lxml
> > Desired=Unknown/Install/Remove/Purge/Hold
> > |
> Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
> > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> > uppercase=bad)
> > ||/ Name                              Version
> > Description
> >
> +++-=================================-=================================-==================================================================================
> > ii  python-lxml                       1.3.6-1
> > pythonic binding for the libxml2 and libxslt libraries
> >
> > Is my python-lxml is out of date??
> yes remove it.
> and update erp5-buildout https://www.raskon.org/trac/erp5/wiki/Erp5Ubuntu[Upgrading to a new version of ERP5]
> and try add Site again
>
>
> --
> Crisis had come unexpectedly, just as winter comes unexpectedly to
> Russia every year.
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-users
>


Best Regards,

Reza


-- 
exodream - beyond a dream
Everyone has rights to get what they expect.

----Free Software is better than Open Source----
Why ? See www.gnu.org/philosophy/free-software-for-freedom.html

Join Free Software Foundation at
https://my.fsf.org/associate/support_freedom/join_fsf?
Take all of advantages by Joining FSF. Join Now !!

i n f i n i t y . s o l u t i o n (www.infi-nity.com) - pt. vikasa infinity
anugrah
bsd city sektor 14 - ruko golden madrid g/9 - tangerang 15321 - indonesia
t: +62 (21) 5316 4796  f: +62 (21) 5316 4797 m:+62 816 956207
Contact me at + 62 878 3229 5036
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20091007/66ac588b/attachment.htm>


More information about the Erp5-users mailing list