[Borges-users] Problem running /borges/config

liu chang liuchangjohn at gmail.com
Sat Dec 3 11:15:37 EST 2005


On 12/1/05, liu chang <liuchangjohn at gmail.com> wrote:
> Hi,
>
> I've subscribed to this mailing list for a while and apparently
> there's not much traffic going on... Anyway, finally got around to try
> borges out and when I go to
>
> http://localhost:7000/borges/config
>
> I get the following error:
>
> wrong number of arguments (0 for 1)
>
> /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:20:in
> `start'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:20:in
> `start'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:19:in
> `call'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:114:in
> `filter'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:51:in
> `basic_auth_do'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:19:in
> `start'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:105:in
> `enter_session_with'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:105:in `call'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:96:in
> `enter_session'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:94:in `call'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:310:in
> `with_error_handler'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:94:in
> `enter_session'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:93:in `call'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:319:in
> `with_escape_continuation'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:317:in
> `callcc'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:317:in
> `with_escape_continuation'
> /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:93:in
> `enter_session'
>
> (Many more lines)
>
> Is there anything wrong with my setup? I'm running ruby 1.8.2
> (2004-12-25) [powerpc-darwin7.8.0] on Mac OS X 10.3.
>
> Regards,
> Liu Chang
>

I haven't fixed the problem but if I changed
Component/ApplicationList.rb:75 from

register_authenticated_application('config', 'seaside', 'admin')

to

register_application('config')

then it works.

Liu Chang



More information about the Borges-users mailing list