On Sep 15, 1:39 am, John Mettraux <[email protected]> wrote:
> On Tue, Sep 15, 2009 at 1:17 AM, John Mettraux <[email protected]> wrote:
> > On Tue, Sep 15, 2009 at 12:58 AM, Charles.Magid <[email protected]> wrote:
>
> >> ruote2.0$ ruby test/test.rb
> >> Loaded suite test/test
> >> Started
> >> ..........
> >>  using engine of class Ruote::Engine (cache off)
>
> >> .................................................................................................................................................................................F..............................................................................
> >> Finished in 29.684218 seconds.
>
> >>  1) Failure:
> >> test_remote_definitions_allowed(FtProcessDefinitionTest) [./test/
> >> functional/ft_22_process_definitions.rb:43]:
> >> <SocketError> exception expected but was
> >> Class: <OpenURI::HTTPError>
> >> Message: <"404 Not Found">
> >> ---Backtrace---
> >> /usr/lib/ruby/1.8/open-uri.rb:277:in `open_http'
>
> > Good evening,
>
> > I pushed a fix for that one to github. Please checkout in a few
> > minutes, it hasn't appeared yet.
>
> Here it is 
> :http://github.com/jmettraux/ruote/commit/678c2261cc713e37b84f1ff49df5...

Just my 2c, but shouldn't we have a real process definition on
http:///ruote.rubyforge.org/ ? If an ISP intercepts unregistered
domains to display ads, then http://defs.example.com/ will resolve to
an HTML page and you get something like this:

test_remote_definitions_allowed(FtProcessDefinitionTest)
    [/Users/kenneth/Code/FOSS/ruote/ruote/test/functional/
ft_22_process_definitions.rb:43:in `test_remote_definitions_allowed'
     (eval):4:in `block in run_with_cleanup_connection'
     /Users/kenneth/Code/FOSS/ruote/ruote-activerecord/lib/ruote-
activerecord/patches/cleanup_connection_patch.rb:17:in
`cleanup_connection'
     (eval):3:in `run_with_cleanup_connection']:
<[SocketError, OpenURI::HTTPError]> exception expected but was
Class: <ArgumentError>
Message: <"doesn't know how to parse definition (String)">
---Backtrace---
/Users/kenneth/Code/FOSS/ruote/ruote/lib/ruote/parser.rb:68:in `parse'
/Users/kenneth/Code/FOSS/ruote/ruote/lib/ruote/parser.rb:64:in `parse'
/Users/kenneth/Code/FOSS/ruote/ruote/lib/ruote/engine/engine.rb:111:in
`launch'
/Users/kenneth/Code/FOSS/ruote/ruote/test/functional/
ft_22_process_definitions.rb:44:in `block in
test_remote_definitions_allowed'
/Users/kenneth/Code/FOSS/ruote/ruote/test/functional/
ft_22_process_definitions.rb:43:in `test_remote_definitions_allowed'
(eval):4:in `block in run_with_cleanup_connection'
/Users/kenneth/Code/FOSS/ruote/ruote-activerecord/lib/ruote-
activerecord/patches/cleanup_connection_patch.rb:17:in
`cleanup_connection'
(eval):3:in `run_with_cleanup_connection'
---------------

Ciao !

--

Kenneth Kalmer
http://opensourcery.co.za
@kennethkalmer
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to