Thanks for the help Alberto.

> For the meantime, I've built those troublesome eggs without the C
speedups and uploaded them 
> at toscawidgets.org. Can you try installing RuleDispatch before
installing twForms/ToscaWidgets 
> like this:
> 
> easy_install -f http://toscawidgets.org/download/wo_speedups
RuleDispatch
>
> If it works please report back so I can mention it in the tutorial :)

works!

Note: easy_install twforms reports its installed, so did not reinstall.

On with the tutorial

paster serve... gives these deprecation warnings:

../pylons/TWTutorial/twtutorial/controllers/tutorial.py 
-------------------- Restarting --------------------
../lib/python2.5/site-packages/ToscaWidgets-0.1a2dev_r3534-py2.5.egg/tos
cawidgets/genericfunctions.py:171: DeprecationWarning:
protocols.advice.add_assignment_advisor is deprecated, please use
  return add_assignment_advisor(registerMethod,frame=frame)
../lib/python2.5/site-packages/ToscaWidgets-0.1a2dev_r3534-py2.5.egg/tos
cawidgets/genericfunctions.py:145: DeprecationWarning:
protocols.advice.getFrameInfo is deprecated, please use
  kind,module,locals_,globals_ = getFrameInfo(frm)
../lib/python2.5/site-packages/ToscaWidgets-0.1a2dev_r3534-py2.5.egg/tos
cawidgets/genericfunctions.py:162: DeprecationWarning:
protocols.advice.addClassAdvisor is deprecated, please use
  addClassAdvisor(registerClassSpecificMethod,frame=frm)
Starting server in PID 17512.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000

Should not be a problem for now, if I understand correctly.

So I continue on. At
http://wiki.pylonshq.com/display/toscawidgets/Using+twForms+with+Pylons.
+Part+1#id13 I get  this error:

File
'../lib/python2.5/site-packages/Myghty-1.1-py2.5.egg/myghty/importer.py'
, line 54 in import_module
  return builtin_importer(name, globals, locals, fromlist)
File '../pylons/TWTutorial/twtutorial/controllers/tutorial.py', line 7
in <module>
  class TutorialController(BaseController):
File '../pylons/TWTutorial/twtutorial/controllers/tutorial.py', line 16
in TutorialController
  @validate(form=post_form, error_handler="index")
NameError: name 'post_form' is not defined

Not sure if this line: @validate(form=post_form, error_handler="index")
should have post_form in quotes, 
or if tutorial.py should have the line from: twtutorial.widgets import
post_form

either works but then whenever I try and save I always get the 'You must
POST to this method, dummy!' msg.

:(

Note that I'm running this behind a proxy, using 'proxy-prefix' in
development.ini.

Can't do it on my windows box until I get the sslerror problem figured
out. 

Feedback from a dumb user.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to