I had a similar problem with `tg-admin toolbox`, so I went ahead and
bumped the tgMochiKit requirements to 0.2alpha in r5485. (Really, just
removed the comment).

Thanks for the problem report, Tim.
-Ken

On Fri, Sep 26, 2008 at 8:04 AM, picoplex <[EMAIL PROTECTED]> wrote:
>
> Thanks - that fixed it :-)
> Tim
>
> On Sep 25, 4:03 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> 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: &lt;bound method
>> > Root.getBaselineVersion of &lt;flow.controllers
>>
>> > .Root object at 0x91294ec&gt;&gt;
>>
>> > 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 "&lt;string&gt;", 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 "&lt;generated code&gt;", 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 "&lt;generated code&gt;", 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 &lt;lambda&gt;
>>
>> >     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
-~----------~----~----~----~------~----~------~--~---

Reply via email to