[Zope-Checkins] SVN: Zope/branches/2.13/ Fixed a regression of 2.13.9 in webdav support that broke external editor feature.

2011-09-28 Thread Thomas Desvenain
Log message for revision 122984:
  Fixed a regression of 2.13.9 in webdav support that broke external editor 
feature.

Changed:
  U   Zope/branches/2.13/doc/CHANGES.rst
  U   Zope/branches/2.13/src/webdav/Resource.py

-=-
Modified: Zope/branches/2.13/doc/CHANGES.rst
===
--- Zope/branches/2.13/doc/CHANGES.rst  2011-09-28 15:37:35 UTC (rev 122983)
+++ Zope/branches/2.13/doc/CHANGES.rst  2011-09-28 16:29:29 UTC (rev 122984)
@@ -11,8 +11,10 @@
 Bugs Fixed
 ++
 
+- Fixed a regression of 2.13.9 in webdav support that broke external editor 
feature.
+
 - `undoMultiple` was still broken as transactions were not undone in the proper
-  order : tids were stored and retrieved as dictionary keys. 
+  order : tids were stored and retrieved as dictionary keys.
 
 - Updated distributions:
 
@@ -156,7 +158,7 @@
 
 Bugs Fixed
 ++
- 
+
 - LP #713253: Prevent publication of acquired attributes, where the acquired
   object does not have a docstring.
 
@@ -344,12 +346,12 @@
   base class's security info don't get their security overwritten to be
   private.
 
-- LP #143755: Also catch TypeError when trying to determine an 
+- LP #143755: Also catch TypeError when trying to determine an
   indexable value for an object in PluginIndexes.common.UnIndex
 
-- LP #143533: Instead of showing 0.0.0.0 as the SERVER_NAME 
-  request variable when no specific listening IP is configured for 
-  the HTTP server, do a socket lookup to show the current server's 
+- LP #143533: Instead of showing 0.0.0.0 as the SERVER_NAME
+  request variable when no specific listening IP is configured for
+  the HTTP server, do a socket lookup to show the current server's
   fully qualified name.
 
 - LP #143722: Added missing permission to ObjectManager.manage_hasId,

Modified: Zope/branches/2.13/src/webdav/Resource.py
===
--- Zope/branches/2.13/src/webdav/Resource.py   2011-09-28 15:37:35 UTC (rev 
122983)
+++ Zope/branches/2.13/src/webdav/Resource.py   2011-09-28 16:29:29 UTC (rev 
122984)
@@ -156,7 +156,7 @@
 if not tag.resource:
 # There's no resource (url) with this tag
 tag_list = map(tokenFinder, tag.list)
-wehave = [tag for tag in tag_list if self.wl_hasLock(tag)]
+wehave = [t for t in tag_list if self.wl_hasLock(t)]
 
 if not wehave: continue
 if tag.NOTTED: continue
@@ -167,7 +167,7 @@
 elif urlbase(tag.resource) == url:
 resourcetagged = 1
 tag_list = map(tokenFinder, tag.list)
-wehave = [tag for tag in tag_list if self.wl_hasLock(tag)]
+wehave = [t for t in tag_list if self.wl_hasLock(t)]
 
 if not wehave: continue
 if tag.NOTTED: continue

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] SVN: Zope/trunk/ Fixed a regression in webdav support that broke external editor feature.

2011-09-28 Thread Thomas Desvenain
Log message for revision 122985:
  Fixed a regression in webdav support that broke external editor feature.

Changed:
  U   Zope/trunk/doc/CHANGES.rst
  U   Zope/trunk/src/webdav/Resource.py

-=-
Modified: Zope/trunk/doc/CHANGES.rst
===
--- Zope/trunk/doc/CHANGES.rst  2011-09-28 16:29:29 UTC (rev 122984)
+++ Zope/trunk/doc/CHANGES.rst  2011-09-28 16:32:37 UTC (rev 122985)
@@ -11,6 +11,8 @@
 Bugs Fixed
 ++
 
+- Fixed a regression in webdav support that broke external editor feature.
+
 - Restore ability to undo multiple transactions from the ZMI by using the
   `undoMultiple` API.
 

Modified: Zope/trunk/src/webdav/Resource.py
===
--- Zope/trunk/src/webdav/Resource.py   2011-09-28 16:29:29 UTC (rev 122984)
+++ Zope/trunk/src/webdav/Resource.py   2011-09-28 16:32:37 UTC (rev 122985)
@@ -156,7 +156,7 @@
 if not tag.resource:
 # There's no resource (url) with this tag
 tag_list = map(tokenFinder, tag.list)
-wehave = [tag for tag in tag_list if self.wl_hasLock(tag)]
+wehave = [t for t in tag_list if self.wl_hasLock(t)]
 
 if not wehave: continue
 if tag.NOTTED: continue
@@ -167,7 +167,7 @@
 elif urlbase(tag.resource) == url:
 resourcetagged = 1
 tag_list = map(tokenFinder, tag.list)
-wehave = [tag for tag in tag_list if self.wl_hasLock(tag)]
+wehave = [t for t in tag_list if self.wl_hasLock(t)]
 
 if not wehave: continue
 if tag.NOTTED: continue

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
https://mail.zope.org/mailman/listinfo/zope-checkins


[Zope] get non-acquired attributes of an instance

2006-06-26 Thread thomas desvenain

hello,

is it possible to get the list of all an object's attributes, excepted
the ones acquired from parents ?

thanks

--
Thomas Desvenain
Junior Plone/Zope analyst-developer, Looking for a Job !
Now, trainee at Institut National de Recherche Agronomique
Mathématiques, Informatique et Génôme laboratory
78350 Jouy en Josas
+33 (0)1 34 65 29 43
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] get non-acquired attributes of an instance

2006-06-26 Thread thomas desvenain

aq_base(aq_inner(obj)).__dict__ ?

hmm it doesn't works, i get metadata only,

and with

dir(aq_base(aq_inner(test.toto)))

i get acquired methods too...

2006/6/26, Andreas Jung [EMAIL PROTECTED]:



--On 26. Juni 2006 10:30:50 +0200 thomas desvenain
[EMAIL PROTECTED] wrote:

 hello,

 is it possible to get the list of all an object's attributes, excepted
 the ones acquired from parents ?


aq_base(aq_inner(obj)).__dict__ ?

-aj





--
Thomas Desvenain
Junior Plone/Zope analyst-developer, Looking for a Job !
Now, trainee at Institut National de Recherche Agronomique
Mathématiques, Informatique et Génôme laboratory
78350 Jouy en Josas
+33 (0)1 34 65 29 43
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] get non-acquired attributes of an instance

2006-06-26 Thread thomas desvenain

2006/6/26, Andreas Jung [EMAIL PROTECTED]:



--On 26. Juni 2006 10:53:39 +0200 thomas desvenain
[EMAIL PROTECTED] wrote:

 aq_base(aq_inner(obj)).__dict__ ?

 hmm it doesn't works, i get metadata only,

'metadata'? This is an unkown term in the context of Zope/Python objects
except for catalog brain objects...what you you mean?


sorry, it's because i work with at/plone objects :

toto.__dict__ displays only some identifiers, metadata and 'content'
of toto object

{'_EtagSupport__etag': 'ts51320374.17',
'_at_uid': 'ffa61909947ef9021cab5bcbccfb5f54',
'_md': {'excludeFromNav': None, 'description': '', 'contributors':
(), 'rights': '', 'language': '', 'effectiveDate': None,
'expirationDate': None, 'allowDiscussion': None, 'creators':
(u'admin',), 'subject': ()},
'_objects': ({'id': 'connection',
  'meta_type': 'Z Psycopg Database Connection'},),
'at_references': Folder at at_references,
'connection': Connection at connection,
'creation_date': DateTime('2006/06/26 13:10:40.161 GMT+2'),
'demarshall_hook': None,
'id': 'toto',
'marshall_hook': None,
'modification_date': DateTime('2006/06/26 13:12:54.164 GMT+2'),
'title': ''}

and so does aq_base(aq_inner(toto)).__dict__




 and with

 dir(aq_base(aq_inner(test.toto)))

 i get acquired methods too...

Of course yes...that's standard Python behavior.

-aj





--
Thomas Desvenain
Junior Plone/Zope analyst-developer, Looking for a Job !
Now, trainee at Institut National de Recherche Agronomique
Mathématiques, Informatique et Génôme laboratory
78350 Jouy en Josas
+33 (0)1 34 65 29 43
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] No joy on 8080.

2006-06-25 Thread thomas desvenain
i had this problem : i forgot giving to zope server's effective-user the rights on zope instance directory(effective-user name is defined in zopeinstance/etc/zope.conf)
2006/6/26, Ignacio Valdes [EMAIL PROTECTED]:
Hello all,I installed Zope on Fedora Core 5 using yum install zope, I openedport 8080 with lokkit, then I started it up using zopectl start. Thisis all on a headless server by ssh so I can't check
http://localhost:8080 but http://server ip address:8080 on my browserdoesn't work. I do have xampp apache running as well and can get thexampp welcome screen to appear but with xampp apache started or
stopped http://server ip address:8080 doesn't do anything. I'm baffledas to what to do next. What should I try?Thanks!-- IV___
Zope maillist-Zope@zope.orghttp://mail.zope.org/mailman/listinfo/zope** No cross posts or HTML encoding!**
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev
 )-- Thomas DesvenainJunior Plone/Zope, Looking for a Job !Now, trainee at Institut National de Recherche AgronomiqueMathématiques, Informatique et Génôme laboratory
78350 Jouy en Josas0134652943
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Render DTML inslide ZPT slot

2006-06-16 Thread thomas desvenain

and how can we transfer the namespace of the current zpt doing :

div tal:replace=structure context/some_dtml_method /

as we do in dtml writing :

dtml-var some_dtml_method

?


2006/6/15, Dieter Maurer [EMAIL PROTECTED]:

Jonathan Bowlas wrote at 2006-6-15 14:05 +0100:
 ...
Is it possible to render DTML methods inside a slot of a ZPT?  If so, how
would I achieve this?

   XXX metal:fill-slot=slot
  tal:content=structure your_dtml_method /



--
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )




--
Thomas Desvenain
Junior Plone/Zope, Looking for a Job !
Now, trainee at Institut National de Recherche Agronomique
Mathématiques, Informatique et Génôme laboratory
78350 Jouy en Josas
0134652943
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: filter messages at startup

2006-06-14 Thread thomas desvenain

2006/6/13, Chris McDonough [EMAIL PROTECTED]:

I suppose a log call is fine.

I *really* like these messages, because they catch a lot of my own
boneheaded security declaration errors.  But for ones that aren't
actually real problems (like the ones shown by the OP), it would be
nice to be able to filter them away at startup, especially when
starting in the foreground or running zopectl debug or zopectl
test.  Making these into actual warnings.warn calls would let us do
that with a warnfilter, but any other solution would be fine as well.


In my way those messages can be usefull for everybody... but not at every time
it would be nice to get a tool (using regexp) to adapt them to our
present needs (installing a product, developping a product on a test
instance for example)




- C

On Jun 13, 2006, at 5:18 PM, Florent Guillaume wrote:

 Indeed they are logging.getLogger(Init) calls (from App/
 class_init.py).
 Why change that? They're perfectly fine in the event log.

 Florent

 On 13 Jun 2006, at 23:08, Chris McDonough wrote:


 Not out of the box.

 Egads, I think you're right.  These aren't actual warnings, are
 they?  They're log calls.  That should be changed.

 - C

 [EMAIL PROTECTED] tests]# /zope/test/bin/zopectl debug
 Starting debugger (the name app is bound to the top-level Zope
 object)
 2006-06-13 13:48:34 WARNING Init Class
 Products.CMFCore.PortalContent.PortalContent has a security
 declaration for
 nonexistent method 'manage_FTPget'
 2006-06-13 13:48:34 WARNING Init Class
 Products.CMFCore.PortalContent.PortalContent has a security
 declaration for
 nonexistent method 'manage_FTPget'


 --
 Florent Guillaume, Nuxeo (Paris, France)   Director of RD
 +33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]



___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] filter messages at startup

2006-06-13 Thread thomas desvenain
hello,is it possible to filter messages at zope startup/debug, as we can do with logs ?thanksthomas
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] filter messages at startup

2006-06-13 Thread thomas desvenain
i mean i would like to filter warning/error messages that appears in console when starting zope server or debuggerin order to ignore those i'm not interested with for the momentfor instance :[EMAIL PROTECTED]
 tests]# /zope/test/bin/zopectl debugStarting debugger (the name app is bound to the top-level Zope object)2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget'
2006-06-13 13:48:34 WARNING Init Class Products.CMFCore.PortalContent.PortalContent has a security declaration for nonexistent method 'manage_FTPget'etc2006/6/13, Andreas Jung 
[EMAIL PROTECTED]:--On 13. Juni 2006 11:28:51 +0200 thomas desvenain
[EMAIL PROTECTED] wrote: hello, is it possible to filter messages at zope startup/debug, as we can do with logs ?
What does that mean? What is the usecase?-aj--ZOPYX Ltd.  Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - GermanyWeb: www.zopyx.com - Email: 
[EMAIL PROTECTED] - Phone +49 - 7071 - 793376E-Publishing, Python, Zope  Plone development, Consulting
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] debug with ipython

2006-06-07 Thread thomas desvenain

thanks ! and is it possible to run zope in console mode (as debug
mode) whithout having to shutdown the server (to unlock ZODB) ?

2006/6/7, Timur Izhbulatov [EMAIL PROTECTED]:

On Tue, Jun 06, 2006 at 04:12:40PM +0200, thomas desvenain wrote:
 is it possible to use zopectl debug with ipython ?

You just need to import IPython and start the shell
http://mail.zope.org/pipermail/zope/2004-September/153667.html

--
Timur Izhbulatov
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7245 + ext.205 F:+7 495 105 7246 E:[EMAIL PROTECTED]
Building Successful Supply Chains - One Solution At A Time.
www.oilspace.com


___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] creating a new permission

2006-06-07 Thread thomas desvenain

hello,

i am searching for hours, and i don't find how to define a new
permission, in python code, for my product

can you help me ?

thanks

thomas
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] refreshing external method

2006-06-06 Thread thomas desvenain

thanks !

2006/6/3, Stefan H. Holek [EMAIL PROTECTED]:

Run Zope with debug-mode on (see etc/zope.conf) and EMs will be
refreshed for you. Not however that this only works for the EMs
themselves and *not* for modules they may be importing; changes in
imported modules are not detected by the machinery.

Stefan


On 2. Jun 2006, at 13:47, thomas desvenain wrote:

 hello,

 is there any way to refresh External Method (as Extension/Install.py
 for exemple) without restarting zope, as product's refresh method ?


--
Anything that happens, happens.  --Douglas Adams




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] debug with ipython

2006-06-06 Thread thomas desvenain

hello,

is it possible to use zopectl debug with ipython ?

if yes, how ?

thanks

thomas
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] refreshing external method

2006-06-02 Thread thomas desvenain

hello,

is there any way to refresh External Method (as Extension/Install.py
for exemple) without restarting zope, as product's refresh method ?

thanks

thomas
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] acquisition uml modelisation

2006-03-20 Thread thomas desvenain
hello,

do you know where i may find tools for acquisition representation in uml ?

thanks

thomas desvenain
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] i18nfolder installation attribute error navigation_properties

2006-03-09 Thread thomas desvenain
hello,

when i try to install i18nfolder on plone (with quickinstaller or
manually), i get this error :

=
2006-03-08 17:55:43
failed:
Traceback (most recent call last):

File /zope/bioinfo/Products/CMFQuickInstallerTool/QuickInstallerTool.py,
line 320, in installProduct
res=install(portal)

File 
/usr/local/www/zope-2.8.6/lib/python/Products/ExternalMethod/ExternalMethod.py,
line 225, in __call__
try: return f(*args, **kw)

File /zope/test/Products/I18NFolder/Extensions/Install.py, line 26, in install
installation=Installation(self)

File /zope/test/Products/I18NFolder/Installation.py, line 26, in __init__
self.navigation_properties = self.portal_properties.navigation_properties

AttributeError: navigation_properties



what should i do ?

thanks

thomas desvenain
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] i18nLayer error

2006-03-09 Thread thomas desvenain
hello,

i have a question about I18NLayer 0.6.0, this time

i have  installed PloneLanguageTool and, then, I18NLayer

when i create a i18nlayer content, and then a translation, i got this error :

Site error

This site encountered an error trying to fulfill your request. The errors were:

Error Type
TypeError
Error Value
'str' object is not callable
Request made at
2006/03/09 10:37:36.972 GMT+1




Traceback (innermost last):
  Module ZPublisher.Publish, line 114, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 40, in call_object
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 195, in _exec
  Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
  Module Products.PageTemplates.PageTemplate, line 104, in pt_render
   - FSPageTemplate at /siteTestI18NLayer/document_view used for
/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr
  Module TAL.TALInterpreter, line 206, in __call__
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 711, in do_useMacro
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 742, in do_defineSlot
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 690, in do_defineMacro
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 677, in do_condition
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 711, in do_useMacro
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 711, in do_useMacro
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 677, in do_condition
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 426, in do_optTag_tal
  Module TAL.TALInterpreter, line 411, in do_optTag
  Module TAL.TALInterpreter, line 406, in no_tag
  Module TAL.TALInterpreter, line 250, in interpret
  Module TAL.TALInterpreter, line 477, in do_setLocal_tal
  Module Products.PageTemplates.TALES, line 221, in evaluate
   - URL: file:I18NLayer/skins/i18n_layer_plone2/global_languagemenu.pt
   - Line 9, Column 6
   - Expression: PythonExpr here.getI18NDefinedLanguages().keys()
   - Names:
  {'container': PloneSite at /siteTestI18NLayer,
   'context': ATDocument at
/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr,
   'default': Products.PageTemplates.TALES.Default instance at 0x41099a2c,
   'here': ATDocument at
/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr,
   'loop': Products.PageTemplates.TALES.SafeMapping object at 0x437ed54c,
   'modules':
Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x4109fa8c,
   'nothing': None,
   'options': {'args': ()},
   'repeat': Products.PageTemplates.TALES.SafeMapping object at
0x437ed54c,
   'request': HTTPRequest,
URL=http://138.102.22.7:9081/siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr/document_view,
   'root': Application at ,
   'template': FSPageTemplate at /siteTestI18NLayer/document_view
used for /siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr,
   'traverse_subpath': [],
   'user': admin}
  Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
   - __traceback_info__: here.getI18NDefinedLanguages().keys()
  Module Python expression here.getI18NDefinedLanguages().keys(),
line 1, in expression
  Module Products.CMFCore.FSPythonScript, line 108, in __call__
  Module Shared.DC.Scripts.Bindings, line 311, in __call__
  Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
  Module Products.CMFCore.FSPythonScript, line 163, in _exec
  Module None, line 20, in getI18NDefinedLanguages
   - FSPythonScript at /siteTestI18NLayer/getI18NDefinedLanguages
used for /siteTestI18NLayer/tests/i18nlayer.2006-03-09.8519478847/fr
   - Line 20
TypeError: 'str' object is not callable
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )