[Erp5-users] ERP5 Buildout - OSError, No such file../TemplateTool_getModifiedObjectList.xml.xml

Muhamad Reza muhamad.reza at infi-nity.com
Wed Oct 7 08:27:20 CEST 2009


Hi,

I creating a new ERP5 site on Zope. I also build mysql erp5 database. Then,
I try to create a new ERP5 site.

Then, I've error.
Site Error

An error was encountered while publishing this resource.
*Error Type: OSError*
*Error Value: [Errno 2] No such file or directory:
'/home/erp5/erp5-buildout/erp5/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml.xml'


*
I know the problem is about a file *TemplateTool_getModifiedObjectList.xml.xml
*not contain in my directory. But, when I checked the directory. The file is
already there.

exodream at exodream-tm:/home/erp5/erp5-buildout/erp5/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core$
ls | grep -i getmodified
BusinessTemplate_getModifiedObject.xml
TemplateTool_getModifiedObjectList.xml
TemplateTool_getModifiedObjectList.xml.rej

And the traceback:

2009-10-07T11:52:45 ERROR Zope.SiteErrorLog
http://localhost:8088/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 1481, in install
    for (bt_obj_path, bt_obj) in self._objects.items():
  File
"/home/erp5/erp5-buildout/erp5/products/ERP5/Document/BusinessTemplate.py",
line 558, in items
    return list(self.iteritems())
  File
"/home/erp5/erp5-buildout/erp5/products/ERP5/Document/BusinessTemplate.py",
line 541, in lazy_iteritems
    yield (k, self[k])
  File
"/home/erp5/erp5-buildout/erp5/products/ERP5/Document/BusinessTemplate.py",
line 529, in __getitem__
    getattr(self.item, self.load_value)(key)
  File
"/home/erp5/erp5-buildout/erp5/products/ERP5/Document/BusinessTemplate.py",
line 590, in _objects_load_value
    if self.compare(key) != os.path.getmtime(file_path):
  File "/usr/lib/python2.4/posixpath.py", line 143, in getmtime
    return os.stat(filename).st_mtime
OSError: [Errno 2] No such file or directory:
'/home/erp5/erp5-buildout/erp5/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/TemplateTool_getModifiedObjectList.xml.xml'

Any idea ?

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



-- 
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/f6601682/attachment.htm>


More information about the Erp5-users mailing list