[Zope-CMF] Re: How to translate CMF, first summary
Tille, Andreas
TilleA@rki.de
Wed, 26 Sep 2001 16:42:55 +0200 (CEST)
On Sat, 30 Jun 2001, Robert Rottermann wrote:
> cvs -d :pserver:IloveZope@suse1.aemmenet.ch:/home/redman login
> password: Ireallydo
> cvs -d :pserver:IloveZope@suse1.aemmenet.ch:/home/redman co CMF_int
I did so and tried to follow the instructions to copy the files into
the apropriate places.
After this I restarted Zope which normally should compile the included
Python files into *.pyc files, right? But it did not and all Python
files remain uncompiled. Perhaps this is the reason why I get the
following error, when I set my Properties to generic_int:
ceback (innermost last):
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 223, in =
publish_module
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 187, in =
publish
File /usr/lib/zope/lib/python/Zope/__init__.py, line 221, in =
zpublisher_exception_hook
(Object: SkinsContainer)
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 171, in =
publish
File /usr/lib/zope/lib/python/ZPublisher/mapply.py, line 160, in =
mapply
(Object: index_html)
File /usr/lib/zope/lib/python/ZPublisher/Publish.py, line 112, in =
call_object
(Object: index_html)
File /usr/lib/zope/lib/python/Products/CMFCore/FSDTMLMethod.py, line =
180, in __call__
(Object: index_html)
File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line =
540, in __call__
(Object: index_html)
File /usr/lib/zope/lib/python/Products/CMFCore/FSDTMLMethod.py, line =
175, in __call__
(Object: standard_html_header)
File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line =
540, in __call__
(Object: standard_html_header)
File /usr/lib/zope/lib/python/Products/CMFCore/FSDTMLMethod.py, line =
175, in __call__
(Object: actions_box)
File /usr/lib/zope/lib/python/DocumentTemplate/DT_String.py, line =
540, in __call__
(Object: actions_box)
File /usr/lib/zope/lib/python/DocumentTemplate/DT_Let.py, line 149, =
in render
(Object: isAnon=3D"portal_membership.isAnonymousUser()"
AuthClass=3D"isAnon and 'GuestActions' or =
'MemberActions'"
uname=3D"isAnon and menuTranslator('Guest')
or =
portal_membership.getAuthenticatedMember().getUserName()"
obj=3D"this()"
=
actions=3D"portal_actions.listFilteredActionsFor(obj)"
user_actions=3D"actions['user']"
folder_actions=3D"actions['folder']"
object_actions=3D"actions['object'] + =
actions['workflow']"
global_actions=3D"actions['global']")
File /usr/lib/zope/lib/python/DocumentTemplate/DT_In.py, line 719, in =
renderwob
(Object: user_actions)
File /usr/lib/zope/lib/python/DocumentTemplate/DT_Util.py, line 339, =
in eval
(Object: menuTranslator(name))
(Info: name)
File <string>, line 0, in ?
NameError: menuTranslator
-->
There is a file
=
/usr/lib/zope/lib/python/Products/CMFDefault/skins/content_int/menuTrans=
lator.py
but I=B4m afraid it isn=B4t found because a menuTranslator.pyc is =
searched.
Is this presumption right? How to get the sources compiled?
I=B4m using the Packages from Debian/Woody (zope 2.3.3 and zope-cmf =
1.1).
Kind regards
Andreas.