On Thursday 25 September 2008 16:37:46 picoplex wrote: > Apologies I thought that it was a simple version mismatch as > tgmochikit.init(register_static_directory, config) is called by > retrieve_javascript in widgets.base whereas tgmochikit.base defines > init(register_static_directory) hence the error (stack trace below) > > <h2>500 Internal error</h2> > > <p>The server encountered an unexpected condition which prevented it > from fulfilling the request > > .</p> > > <pre id="traceback">Page handler: <bound method > Root.getBaselineVersion of <flow.controllers > > .Root object at 0x91294ec>> > > Traceback (most recent call last): > > File "/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/ > cherrypy/_cphttptools.py", line 121 > > , in _run > > self.main() > > File "/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/ > cherrypy/_cphttptools.py", line 264 > > , in main > > body = page_handler(*virtual_path, **self.params) > > File "<string>", line 3, in getBaselineVersion > > File "/usr/lib/python2.5/site-packages/TurboGears-1.1b2dev_r5461- > py2.5.egg/turbogears/controllers.py" > > , line 345, in expose > > *args, **kw) > > File "<generated code>", line 0, in run_with_transaction > > File "build/bdist.linux-i686/egg/peak/rules/core.py", line 153, in > __call__ > > return self.body(*args, **kw) > > File "/usr/lib/python2.5/site-packages/TurboGears-1.1b2dev_r5461- > py2.5.egg/turbogears/database.py" > > , line 430, in sa_rwt > > retval = func(*args, **kw) > > File "/usr/lib/python2.5/site-packages/TurboGears-1.1b2dev_r5461- > py2.5.egg/turbogears/controllers.py" > > , line 231, in _expose > > @abstract() > > File "<generated code>", line 0, in _expose > > File "build/bdist.linux-i686/egg/peak/rules/core.py", line 153, in > __call__ > > return self.body(*args, **kw) > > File "/usr/lib/python2.5/site-packages/TurboGears-1.1b2dev_r5461- > py2.5.egg/turbogears/controllers.py" > > , line 358, in <lambda> > > mapping, fragment, args, kw))) > > File "/usr/lib/python2.5/site-packages/TurboGears-1.1b2dev_r5461- > py2.5.egg/turbogears/controllers.py" > > , line 399, in _execute_func > > return _process_output(output, template, format, content_type, > mapping, fragment) > > File "/usr/lib/python2.5/site-packages/TurboGears-1.1b2dev_r5461- > py2.5.egg/turbogears/controllers.py" > > , line 55, in _process_output > > for script in widget.retrieve_javascript(): > > File "/usr/lib/python2.5/site-packages/TurboGears-1.1b2dev_r5461- > py2.5.egg/turbogears/widgets/base > > .py", line 637, in retrieve_javascript > > tgmochikit.init(register_static_directory, config) > > TypeError: init() takes exactly 1 argument (2 given)
You need the tgMochiKit 0.2alpha. Please update, using easy_install -U tgMochiKit Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

