Skip to content
Search
mxm, IT's mad science
Sections
Welcome
News
Search
Replies
Personal tools
You are not logged in
Log in
You are here:
Home
»
Products
»
Open Source
»
mxm Workgroups for Plone
»
Add Member error
Navigation
Home
Papers
Products
Open Source
mxmContacts
mxm Workgroups for Plone
Downloads
You can download mxm products
here
.
Due to it's technical and international nature, this section is in english.
Max M Has a blog too.
og er glad for mad
Comment
Above in this comment thread:
mxm Workgroups for Plone
Add Member error
Posted by
Anonymous User
at
2004-03-05 11:14 PM
Adding a member, as admin, gives:
Error Type
RuntimeError
Error Message
FS Page Template WorkgroupMembers_Form has errors: Compilation failed.
<pre>TAL.TALDefs.TALError: Python expression error: invalid syntax (Python expression "test(search_submitted, mtool.searchForMembers( {request.get('search_param',''): request.get('search_term', '')}), None)", line 1) in expression "python:test(search_submitted, mtool.searchForMembers(\r\n {request.get('search_param',''):\r\n request.get('search_term', '')}), None)", at line 12, column 3</pre>
Fixed!
Posted by
Anonymous User
at
2004-03-05 11:35 PM
Notice the \n?:
"python:test(search_submitted, mtool.searchForMembers(\r\n {request.get('search_param',''):\r\n request.get('search_term', '')}), None)", at line 12, column 3</pre>
I customized the page and removed the characters (Windows newlines?) and the page works.
Time for more testing...
Replies to this comment
That is an odd bug. (
Posted by
maxm
at
2004-03-06 12:29 AM)
Fixed here as well (
Posted by
Anonymous User
at
2004-03-06 01:17 AM)
Fixed (
Posted by
Anonymous User
at
2004-03-18 06:59 AM)
DOS ---> Unix Linebreaks (
Posted by
Anonymous User
at
2004-03-08 07:48 PM)
(
Posted by
Anonymous User
at
2004-03-16 04:57 PM)
Error Type
RuntimeError
Error Message
FS Page Template WorkgroupMembers_Form has errors: Compilation failed.
<pre>TAL.TALDefs.TALError: Python expression error: invalid syntax (Python expression "test(search_submitted, mtool.searchForMembers( {request.get('search_param',''): request.get('search_term', '')}), None)", line 1) in expression "python:test(search_submitted, mtool.searchForMembers(\r\n {request.get('search_param',''):\r\n request.get('search_term', '')}), None)", at line 12, column 3</pre>
"python:test(search_submitted, mtool.searchForMembers(\r\n {request.get('search_param',''):\r\n request.get('search_term', '')}), None)", at line 12, column 3</pre>
I customized the page and removed the characters (Windows newlines?) and the page works.
Time for more testing...
Replies to this comment