Forum: Typo feedback.rb: unexpected tASSOC

Posted by Tobias Weisserth (polarapfel)
on 2009-03-26 13:44
(Received via mailing list)
Hi guys,

you might want to check lines 146 and 155 in feedback.rb:

Timeout::Error => e

This seems to by incorrect syntax. At least it keeps my Mongrel from
starting up Typo:

Exiting
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in
`load_without_new_constant_marking':
/home/tweisser/workspace/typo/typo/app/models/feedback.rb:146: syntax 
error,
unexpected tASSOC (SyntaxError)
      Timeout::Error => e
                       ^
/home/tweisser/workspace/typo/typo/app/models/feedback.rb:155: syntax 
error,
unexpected tASSOC
      Timeout::Error => e
                       ^
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:382:in
`load_file'
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:381:in
`load_file'
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:256:in
`require_or_load'
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:427:in
`load_missing_constant'
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in
`const_missing'
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:89:in
`const_missing'
        from /home/tweisser/workspace/typo/typo/app/models/comment.rb:4
         ... 67 levels...
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        from script/server:3

cheers,

Tobias
Posted by de Villamil Frédéric (Guest)
on 2009-03-26 14:25
(Received via mailing list)
Hi,

I've seen this yesterday evening but was too tired to fix it.
It s done now.

Le 26 mars 09 à 13:36, Tobias Weisserth a écrit :

> /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/ 
>         from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/ 
> `require_or_load'
> comment.rb:4
>
> Tobias
> _______________________________________________
> Typo-list mailing list
> Typo-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

--
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player
proverb
frederic@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://t37.net                       Typo : http://typosphere.org
Posted by Tobias Weisserth (polarapfel)
on 2009-03-26 14:41
(Received via mailing list)
Thanks!

2009/3/26 de Villamil Frédéric <frederic@de-villamil.com>
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.