Upgrade from Plone 2.x to Plone 3.x with PloneSurvey - Issue(s)

1 view
Skip to first unread message

peridoc

unread,
Sep 22, 2008, 10:10:59 AM9/22/08
to PloneSurvey
I have a question about importing a survey made in Plone 2.x into
Plone3.x. I can import the survey in just fine to the Zope/Plone
Database, but when I go to view the survey in Plone I get the message
"We're sorry, but there seems to be an error…" instead of viewing the
actual survey. Do I need to do anything special to be able to view the
survey in Plone 3.x? I have not altered anything from the original
survey version. (Of course, I am using the latest PloneSurvey product
from the SVN trunk)

I managed to extract an error when trying to view the survey and it
showed up as this:

* Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Warning: Macro expansion failed
Warning: zope.pagetemplate.pagetemplate.PTRuntimeError: Page
Template question_macro has errors: ['Compilation failed',
'zope.tal.taldefs.TALError: Invalid variable name "qid\n name qid" in
expression u\'qid\\n name qid\', at line 36, column 9']
* URL: file:/opt/Plone-3.1/zeocluster/products/PloneSurvey/skins/
plone_survey/survey_view.cpt
Line 39, Column 24
Expression: <PathExpr standard:u'here/question_macro/macros/
question'>
...
Warning: Compilation failed
Warning: zope.tal.taldefs.TALError: Invalid variable name "qid
name qid" in expression u'qid\n name qid', at line 36, column 9

Any help would be appreciated.

Davis, Michael

unread,
Sep 22, 2008, 10:43:01 AM9/22/08
to cmfque...@googlegroups.com
Hi,

There's a missing semi-colon on line 45 in question_macro. Now fixed in
trunk.

Cheers
Michael

-----Original Message-----
From: cmfque...@googlegroups.com
[mailto:cmfque...@googlegroups.com] On Behalf Of peridoc
Sent: 22 September 2008 15:11
To: PloneSurvey
Subject: Upgrade from Plone 2.x to Plone 3.x with PloneSurvey - Issue(s)


I have a question about importing a survey made in Plone 2.x into
Plone3.x. I can import the survey in just fine to the Zope/Plone
Database, but when I go to view the survey in Plone I get the message
"We're sorry, but there seems to be an error..." instead of viewing the

peridoc

unread,
Sep 22, 2008, 11:57:45 AM9/22/08
to PloneSurvey
Ah-ha! Thank you for pointing that out. I was going crazy trying to
figure out what I did wrong.

Thanks!
Reply all
Reply to author
Forward
0 new messages