Hello again John & RuoteCo.

Fired up (my supposed 'install') of ruote-web2, created some
additional users & groups, got them connected, and went to start
kicking off processes to work through so I can learn more about the
process, err, 'processing.'

Unfortunately, my apparent 'install' seems to have some core issue in
launching the actual OpenWfeRu/Ruote engine:
> from /definitions
> select 'Launch' process of either of the pre-installed procs (simple sequence 
> or leave request)
> taken to /processes/new, and I enter some simple sample data for 'leave 
> request' [ alice, 20090415, 20090411, 'visit family']
> click "launch new process instance" button
> able to see the page change briefly, i assume to package the request, then 
> receive
RuntimeError in ProcessesController#create
:remote_definitions_allowed is set to false

trace::
C:/dev/InstantRails/rails_apps/ruote-web2/vendor/plugins/ruote/lib/
openwfe/expool/def_parser.rb:83:in `read_uri'
C:/dev/InstantRails/rails_apps/ruote-web2/vendor/plugins/ruote/lib/
openwfe/engine/launch_methods.rb:192:in `prepare_raw_expression'
C:/dev/InstantRails/rails_apps/ruote-web2/vendor/plugins/ruote/lib/
openwfe/engine/launch_methods.rb:96:in `launch'
C:/dev/InstantRails/rails_apps/ruote-web2/app/controllers/
processes_controller.rb:137:in `create'

request params::
{"commit"=>"launch new process instance",
 "fields"=>{"employee"=>"alice",
 "to_date"=>"20090415",
 "from_date"=>"20090411",
 "reason"=>"visit family"},
 "authenticity_token"=>"qYBGPK/MK1f0/nGCm9BI2wgWnTus0ffKfpEZaNpGBhA=",
 "definition_id"=>"4",
 "definition_url"=>"C:/dev/InstantRails/rails_apps/ruote-web2/public/
defs/leave_request1.rb"}

I've googled and found the 'examples/engine_template.rb' which
provides:
#application_context[:remote_definitions_allowed] = true
  #
  # unless this parameter is set to true, the engine will not accept
  # to launch processes whose definition is given by a URL, only
  # local process definitions (file:) or direct process definitions
  # will be allowed.

However, given my rather awkward/cumbersome/goofy steps to try to get
ruote-web2 running, methinks I may have missed something rather
substantial, e.g. _not_ actually correctly incorporating open-wfe/
ruote/?

Any words of wisdom (aside from 'spend the time to download *nix and
rebuild your dev environment there so you don't have to put up with
Windows & all its baggage in this area) would be greatly appreciated.
Til then, think it's time to fire up my other sys and see if I can get
Ubuntu to (finally) install a working wireless driver so I can get all
LAMPyRoRy like all the kool kids.

Thanks much-
--Jeff

On Apr 6, 9:49 am, Coondog <[email protected]> wrote:
> Hi John-
>
> I installed MSysGit v 1.6.1 from <http://code.google.com/p/msysgit/
> downloads/list>.  As such, I _think_ this is Git 1.6.x including
> submodule, et al.  I couldn't get these commands to work from a rails
> console, in either NetBeans or RadRails.  Generally speaking I've
> found RadRails integration of command-line better, so I expected it to
> work there.
>
> So, a bit more time consuming, but a lot _less_ time consuming than
> trying to write my own OpenWfeRu/Rufus/Ruote sample app.
>
> Cheers & best-
> --Jeff
>
> On Apr 3, 5:48 pm, John Mettraux <[email protected]> wrote:
>
> > On Sat, Apr 4, 2009 at 4:07 AM, Coondog <[email protected]> wrote:
>
> > > I'm keen to take a look at your working examples, since I think this
> > > looks awesome.
>
> > > However, I'm beholden to Windoze. Since Git support and integration in
> > > the Win IDEs (I've got both Netbeans6.5 and RadRails1.3) basically
> > > blows, the default install instructions 
> > > fromhttp://github.com/jmettraux/ruote-web2/tree/master
> > > failed for me @ rake submodule:install.
>
> > Hello Jeff,
>
> > thanks a lot for sharing your "process".
>
> > Which version of Git are you using. IIRC, "submodule" are a feature of
> > Git 1.6.x, it doesn't work with git 1.5.x
>
> > (I will add a warning about that to the install procedure on github).
>
> > > <btw, I'm Ruby 1.8.6 & Rails 2.3.2, atop InstantRails 2.0, using
> > > Netbeans6.5 fyi>
>
> > > I dug into ruote.rake and simply manually followed these steps you so
> > > kindly automated (with evil Git commands):
>
> > > 1) download git://github.com/jmettraux/ruote.git, and copy into ruote-
> > > web2/vendor/ruote_plugin/
>
> > > 2) following through ruote.rake, next command was to place fluo-
> > > can.js, fluo-json.js & fluo-tred.js into ruote-web2/public/javascripts
> > > --> cool beans, they're already there (somehow).  Already downloaded
> > > ruote-fluo, but okay.
>
> > This "fetch_fluo" task is not run on install, I provide it as an easy
> > way for people to upgrade their ruote-fluo when there are changes in
> > it.
>
> > > 3) to complete '>>rake gems:install' I had to edit ruote-web2/
> > > environment.rb to add the following line (to circumvent a HOME
> > > undefined error):
> > >   ENV['HOME'] = 'c:\dev\InstantRails\rails_apps\ruote-web2'
>
> > > 4) created db (rake db:create)
>
> > > 5) I had to edit config/initializer/participant.rb to comment out the
> > > sample participant because it was erroring out my attempts to
> > > db:migrate
>
> > > 6) rake db:migrate
>
> > > 7) rake db:fixtures:load FIXTURE_PATH=db/dev_fixtures
>
> > > And at long last
>
> > > 8) script/server & live athttp://127.0.0.1:3000/session/new -- whew!
>
> > > Been running a brief while now, and most features appear to be
> > > working.  Except I know better than to rename 'admins' now.
>
> > > Downloading 700mb of Git install turned out to be a complete waste of
> > > time for me, though I'll likely start using it locally for my own
> > > version control.  Hope these steps spare any other n00bs that time in
> > > the future.
>
> > Thanks a lot Jeff, I will immediately write something about git 1.5.x
> > / 1.6.x on the ruote-web2 install procedure.
>
> > Best regards,
>
> > --
> > John Mettraux   -  http://jmettraux.wordpress.com
>
>
--~--~---------~--~----~------------~-------~--~----~
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