ruote log_2010-07-07

2010-07-07 04:05:53 utc dhf jmettraux: there is no "log/test_logger" in the test file. I posted the full test and the class with the process. This came from your sample. with a couple of changes for names
2010-07-07 04:06:43 utc dhf did a grep and nothing was reported
2010-07-07 04:09:53 utc jmettraux replying per email
2010-07-07 04:15:09 utc jmettraux replied
2010-07-07 04:15:16 utc dhf reloaded the ruote gem to be sure I did not do any thing while i was in i studying
2010-07-07 04:15:38 utc dhf sme problem
2010-07-07 04:18:29 utc jmettraux what does "grep -r test_logger ~/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11" yield for you ?
2010-07-07 04:32:14 utc dhf I uninstalled all and just did an install of the gem giving me .10 It still fails. Did the grep and got http://pastie.org/1033796
2010-07-07 04:32:50 utc dhf is there a virgin test> I had to cut and paste to get what I got
2010-07-07 04:34:05 utc jmettraux I'm sorry, I don't understand the question about the virgin test
2010-07-07 04:37:25 utc jmettraux you could try with a blank gemset
2010-07-07 04:37:41 utc dhf is the code for the rspec sample test wher I can just down load it and see if it works. I am stumped because it is all so simple
2010-07-07 04:40:01 utc jmettraux http://groups.google.com/group/openwferu-users/msg/66b523302a9766f7 I'm using the same ruby as you, installed via rvm like, with rspec 1.3.0 and it works
2010-07-07 04:41:03 utc jmettraux what are the filenames you're using ?
2010-07-07 04:41:49 utc jmettraux in your message http://groups.google.com/group/openwferu-users/msg/06cdbba180a2bdb2 you just give two files, no mention of filenames and filestructure for your tests
2010-07-07 04:42:20 utc jmettraux maybe you're using ruote.rb or something like that and it disorients the ruby "classloader"
2010-07-07 04:46:38 utc jmettraux Does this minimal thing http://gist.github.com/466318 work for you ?
2010-07-07 04:49:45 utc dhf interesting. even on that simple one I get the error.
2010-07-07 04:51:36 utc jmettraux weird
2010-07-07 04:52:23 utc dhf I am going to set up a gemset and do a fresh load to try it
2010-07-07 05:58:13 utc tosch_le good morning!
2010-07-07 05:58:42 utc jmettraux tosch_le: good morning, sorry for the forgotten specs yesterday
2010-07-07 05:58:44 utc tosch_le jmettraux: thanks for the fixes. just pulled & pushed. and i released a new gem, too.
2010-07-07 05:58:52 utc jmettraux great !
2010-07-07 05:59:13 utc jmettraux wunderbar
2010-07-07 05:59:23 utc tosch_le felt it was time for a new version, the bug fixes were somewhat important...
2010-07-07 06:00:04 utc tosch_le now we can recommend using the gem version again ;)
2010-07-07 06:01:19 utc jmettraux still have to work on /errors though
2010-07-07 06:01:36 utc jmettraux excellent initiative
2010-07-07 06:04:21 utc tosch_le yes, unfortunately /participants is missing, too, but waiting longer would have meant that the gem stays nearly unusable. not very user friendly
2010-07-07 06:04:44 utc tosch_le nah, not unusable, but not as good as the current master branch
2010-07-07 06:05:05 utc tosch_le ACTION should be more positive ;)
2010-07-07 06:05:11 utc jmettraux :)
2010-07-07 06:12:44 utc anb_ Hello
2010-07-07 06:13:09 utc tosch_le hello anb_!
2010-07-07 06:14:44 utc anb_ tosch_le : it's best to use your branch of ruote-kit or kenneth's ?
2010-07-07 06:15:07 utc anb_ which one is bleeding edge :) ?
2010-07-07 06:15:29 utc tosch_le they are both at the same commit now.
2010-07-07 06:16:02 utc tosch_le bleeding edge are john's and mine, but i'll update kenneth' branch regularly
2010-07-07 06:16:30 utc anb_ ok
2010-07-07 06:16:40 utc tosch_le in fact, as soon as a somewhat stable point is reached
2010-07-07 07:21:03 utc dhf jmettraux: You are not going to believe this. I uninstalled all ruote versions. installed the gem and it failed. Uninstalled it and recloned fro github installed taht gem and it failed. This was all done under an Gemfile that had just :gem 'rspec'
2010-07-07 07:21:03 utc dhf gem 'ruote', :path => '/Users/dhf/code/ruote/ruote/'
2010-07-07 07:21:04 utc dhf gem 'bundler' in it. That also failed. Where does context.rb get the real name it should load.
2010-07-07 07:23:27 utc jmettraux dhf: always the same exact error ?
2010-07-07 07:24:44 utc jmettraux "gem 'ruote', :path => '/Users/dhf/code/ruote/ruote/'" is suspect
2010-07-07 07:24:52 utc jmettraux it should be "gem 'ruote'"
2010-07-07 07:25:10 utc jmettraux or something like "gem 'ruote', :git => 'git://github.com/jmettraux/ruote.git', :branch => 'ruote2.1'"
2010-07-07 07:26:29 utc dhf yes.using the very simple one you gave me. But the interesting thing I changed it as in http://pastie.org/1033904 the uncommented one works the first one does not
2010-07-07 07:26:38 utc dhf the comment one does not
2010-07-07 07:27:06 utc jmettraux same error as always ?
2010-07-07 07:28:41 utc jmettraux dhf: how about this one http://gist.github.com/466419 ?
2010-07-07 07:29:24 utc lbt_ dhf: are you using NFS ?
2010-07-07 07:29:51 utc dhf no NFS on an OSX 10.5
2010-07-07 07:31:04 utc lbt_ OK nm :) I have fails on nfsv4 due to, iirc, flock()
2010-07-07 07:32:18 utc jmettraux lbt_: hi, dhf's symptom is detailed there http://groups.google.com/group/openwferu-users/browse_thread/thread/7a200bce0338d2a2
2010-07-07 07:37:30 utc dhf At some point there was an invalid FsStorage created. Since it was failing all the time I did not look at the /tmp directory.There was a 'phynet-ruote' directory there. Removed it and they al work. Not sure what would have been in that directory. but seems as though that information should not be saved between restarts. What is the purpose of the test_logger?
2010-07-07 07:38:11 utc jmettraux ah
2010-07-07 07:38:14 utc jmettraux understood now
2010-07-07 07:38:28 utc jmettraux a previous faulty configuration was getting in the way
2010-07-07 07:38:58 utc dhf what is the purpose of the test_logger?
2010-07-07 07:39:02 utc jmettraux the test_logger is used to track the activity of a worker/engine and determine if the process instances are running as expected
2010-07-07 07:39:16 utc jmettraux ...did run as expected
2010-07-07 07:39:33 utc dhf why would it be kept between restarts?
2010-07-07 07:39:36 utc jmettraux it is also used by the helper methods wait_for and co
2010-07-07 07:39:47 utc jmettraux the configuration of the system was kept
2010-07-07 07:40:18 utc jmettraux at some point you registered a test_logger whose path was "log/test_logger.rb" in your configuration and it kept it
2010-07-07 07:40:56 utc jmettraux and then it prevented all subsequent tries
2010-07-07 07:41:01 utc dhf I noticed that some of the examples actually were registering it. Is it required to be registered?
2010-07-07 07:41:41 utc dhf Seems drastic taht the only way to fix it is to blow away the storage.
2010-07-07 07:41:59 utc jmettraux you could have simply blown the failing piece of configuration
2010-07-07 07:42:36 utc jmettraux I will come up with a safeguard
2010-07-07 07:43:48 utc dhf since it is gone now I can not look at the json config file to see what it was and where it was.
2010-07-07 07:44:21 utc jmettraux you can
2010-07-07 07:44:36 utc jmettraux but the path will now be "ruote/log/test_logger" or something like that
2010-07-07 07:46:57 utc dhf So once an engine is configured. It can never be reconfigured? There is only {"type":"configurations","_id":"engine","_rev":0} in engine.json now.
2010-07-07 07:47:16 utc jmettraux it can be re-configured
2010-07-07 07:47:33 utc jmettraux sorry but you stepped on a tricky corner case
2010-07-07 07:47:40 utc jmettraux I have to userproof it
2010-07-07 07:47:47 utc jmettraux sorry for the wasted time
2010-07-07 07:50:29 utc dhf no problem. I did not want to waste your time.I am just learning
2010-07-07 07:50:44 utc dhf Probably something stupid I did while trying tolearn
2010-07-07 07:51:02 utc jmettraux it's valuable feedback for me
2010-07-07 07:51:07 utc jmettraux thanks
2010-07-07 07:52:51 utc dhf I am sure you will get lots of feed back from me :) I appreciate your help
2010-07-07 07:52:57 utc jmettraux :)
2010-07-07 08:00:52 utc dhf cd
2010-07-07 08:02:14 utc jmettraux ~ $