bartek
2007-10-23 16:08:34 UTC
Hello
I upgraded rpm-s on Mandriva 2007.1, up to erp5-zope-2.8.9.1 and ran
into some strange problems:
- I can't use the server's manage_main tab, it throws "Error Value: name
'getDefaultSorting' is not defined" - both on new instances and on
existing ones (as a result, I can't create a new erp5 site...); at the
same time, manage tabs in an existing erp5 site work fine.
- on existing sites, I can't create objects - no matter what permissions
I have, I always get "you are not allowed to create content" (although I
am Manager, Owner, have "Add portal content" permission etc).
Anybody experienced anything of that sort? I tried downgrading, but
currently erp5-ERP5 requires erp5-zope-2.8.9.1...
The traceback is:
2007-10-23T18:04:07 ERROR Zope.SiteErrorLog
http://localhost:9086/manage_main
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/ZPublisher/Publish.py", line 114, in
publish
request, bind=1)
File "/usr/lib/erp5/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/usr/lib/erp5/lib/python/ZPublisher/Publish.py", line 40, in
call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line
311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line
348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/erp5/lib/python/App/special_dtml.py", line 175, in _exec
try: result = render_blocks(self._v_blocks, ns)
File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_Let.py", line 76,
in render
return render_blocks(self.section, md)
File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_Util.py", line
196, in eval
return eval(code, d)
File "<string>", line 0, in ?
NameError: name 'getDefaultSorting' is not defined
Bartek
I upgraded rpm-s on Mandriva 2007.1, up to erp5-zope-2.8.9.1 and ran
into some strange problems:
- I can't use the server's manage_main tab, it throws "Error Value: name
'getDefaultSorting' is not defined" - both on new instances and on
existing ones (as a result, I can't create a new erp5 site...); at the
same time, manage tabs in an existing erp5 site work fine.
- on existing sites, I can't create objects - no matter what permissions
I have, I always get "you are not allowed to create content" (although I
am Manager, Owner, have "Add portal content" permission etc).
Anybody experienced anything of that sort? I tried downgrading, but
currently erp5-ERP5 requires erp5-zope-2.8.9.1...
The traceback is:
2007-10-23T18:04:07 ERROR Zope.SiteErrorLog
http://localhost:9086/manage_main
Traceback (most recent call last):
File "/usr/lib/erp5/lib/python/ZPublisher/Publish.py", line 114, in
publish
request, bind=1)
File "/usr/lib/erp5/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/usr/lib/erp5/lib/python/ZPublisher/Publish.py", line 40, in
call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line
311, in __call__
return self._bindAndExec(args, kw, None)
File "/usr/lib/erp5/lib/python/Shared/DC/Scripts/Bindings.py", line
348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/usr/lib/erp5/lib/python/App/special_dtml.py", line 175, in _exec
try: result = render_blocks(self._v_blocks, ns)
File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_Let.py", line 76,
in render
return render_blocks(self.section, md)
File "/usr/lib/erp5/lib/python/DocumentTemplate/DT_Util.py", line
196, in eval
return eval(code, d)
File "<string>", line 0, in ?
NameError: name 'getDefaultSorting' is not defined
Bartek
--
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"
"feelings affect productivity. (...) unhappy people write worse
software, and less of it."
Karl Fogel, "Producing Open Source Software"