Hi,

Moviedemo demo example which can be download to which link is provided at the bottom of this tutorial: http://turbogears.org/2.1/docs/main/Extensions/Crud/index.html, does not work:

Here is the error when I try to browse it after serving it via: wget http://pythontutorials.googlecode.com/files/moviedemo.tar.gz; tar -xf moviedemo.tar.gz;
paster serve moviedemo-0.1dev-r13/development.ini

TypeError: object.__init__() takes no parameters

File '/home/dennis/dev/md/moviedemo-0.1dev-r13/moviedemo/controllers/root.py', line 31 in<module>
  class RootController(BaseController):
File '/home/dennis/dev/md/moviedemo-0.1dev-r13/moviedemo/controllers/root.py', line 36 in RootController
  movies = MovieRestController(DBSession)
File '/usr/lib/python2.6/site-packages/TurboGears2-2.1-py2.6.egg/tg/controllers/decoratedcontroller.py', line 50 in __init__
  super(DecoratedController, self).__init__(*args, **kwargs)
TypeError: object.__init__() takes no parameters

Thanks,
Dennis

P.S.

I have by accident included text from another email, which resulted in the message being assigned to the older thread — this is a repost, to correct this

--
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to