ruote log_2010-05-13

2010-05-13 01:34:06 utc jmettraux hansen_: good morning
2010-05-13 01:40:11 utc hansen_ good morning
2010-05-13 01:42:27 utc hansen_ Hi John, Could I use ruote-activerecord? I don't is there any body used it?
2010-05-13 01:42:46 utc jmettraux sorry, it's not actively maintained it seems
2010-05-13 01:43:28 utc hansen_ I find there is no download
2010-05-13 01:43:35 utc jmettraux indeed
2010-05-13 01:43:37 utc hansen_ the number is zero
2010-05-13 01:43:48 utc jmettraux what do you need it for ?
2010-05-13 01:44:15 utc jmettraux http://rubygems.org/gems/ruote-activerecord :(
2010-05-13 01:45:35 utc hansen_ I find may be I have more information put in DB
2010-05-13 01:46:10 utc jmettraux you could use ruote-dm for process runtime data, and then implement your own ActiveRecordParticipant
2010-05-13 01:46:32 utc jmettraux or you could use ruote-dm for everything and then query workitems via active-record
2010-05-13 01:48:16 utc hansen_ OK, thank you
2010-05-13 01:48:25 utc jmettraux you're welcome
2010-05-13 02:15:30 utc hansen_ Hi, John
2010-05-13 02:15:40 utc jmettraux hello
2010-05-13 02:16:09 utc hansen_ ruote-dm goes wrong
2010-05-13 02:16:18 utc jmettraux ?
2010-05-13 02:18:15 utc hansen_ I installed the gem,and configed in ruote_kit.rb require 'ruote-dm'
2010-05-13 02:18:21 utc hansen_ but it not work
2010-05-13 02:18:29 utc jmettraux what is the error message ?
2010-05-13 02:20:00 utc jmettraux feel free to use http://gist.github.com/ to paste information (code, error message, stack traces, ...)
2010-05-13 02:20:25 utc hansen_ OK
2010-05-13 02:22:25 utc hansen_ http://gist.github.com/399413
2010-05-13 02:23:00 utc jmettraux what database are you using ?
2010-05-13 02:23:07 utc hansen_ mysql
2010-05-13 02:23:56 utc jmettraux /usr/local/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- data_objects (MissingSourceFile)
2010-05-13 02:24:04 utc jmettraux please do
2010-05-13 02:24:09 utc jmettraux gem install do_mysql
2010-05-13 02:24:49 utc jmettraux data_objects --> do_mysql (data objects mysql)
2010-05-13 02:25:13 utc jmettraux lunch time for me, I will be back very soon
2010-05-13 02:25:13 utc hansen_ ok
2010-05-13 02:25:25 utc hansen_ ok thank you
2010-05-13 02:25:30 utc jmettraux :)
2010-05-13 02:49:54 utc jmettraux back
2010-05-13 03:00:42 utc hansen_ ok
2010-05-13 03:01:11 utc jmettraux there are some problems with ruote-dm 2.1.9 and MySQL
2010-05-13 03:01:25 utc jmettraux but they are fixed in the "trunk" (ruote-dm 2.1.10)
2010-05-13 03:02:27 utc hansen_ there other error come now
2010-05-13 03:02:48 utc jmettraux probably the issue 2.1.9 <-> MySQL
2010-05-13 03:03:20 utc hansen_ http://gist.github.com/399441
2010-05-13 03:03:37 utc hansen_ may be
2010-05-13 03:04:07 utc jmettraux /usr/local/ruby1.8.7/lib/ruby/gems/1.8/gems/dm-core-0.10.2/lib/dm-core/migrations.rb:146:in `execute_non_query': Specified key was too long; max key length is 767 bytes (DataObjects::SQLError)
2010-05-13 03:04:09 utc jmettraux it is
2010-05-13 03:04:30 utc hansen_ yes
2010-05-13 03:05:12 utc jmettraux here http://github.com/jmettraux/ruote-dm/blob/v2.1.9/lib/ruote/dm/storage.rb#L36
2010-05-13 03:05:18 utc jmettraux replace 2048 with 255
2010-05-13 03:06:16 utc jmettraux this should be OK : http://github.com/jmettraux/ruote-dm/blob/ruote2.1/lib/ruote/dm/storage.rb#L43-48
2010-05-13 03:09:39 utc hansen_ undefined method `DmStorage' for Ruote::Dm:Module (NoMethodError) ruote-kit.rb config.set_storage(Ruote::Dm::DmStorage(:default))
2010-05-13 03:11:17 utc jmettraux could you please create a gist ?
2010-05-13 03:11:38 utc jmettraux wait
2010-05-13 03:11:40 utc jmettraux no need
2010-05-13 03:11:49 utc jmettraux replace Ruote::Dm::DmStorage(:default)
2010-05-13 03:12:00 utc jmettraux with Ruote::Dm::DmStorage.new(:default)
2010-05-13 03:12:29 utc jmettraux sorry, my fault when I gave you this gist yesterday
2010-05-13 03:14:56 utc hansen_ not at all, the new error http://gist.github.com/399452
2010-05-13 03:16:43 utc jmettraux Ruote::Dm::DmStorage.new(:default) ?
2010-05-13 03:17:34 utc jmettraux like in http://github.com/jmettraux/ruote-dm/blob/ruote2.1/test/integration_connection.rb#L31 ?
2010-05-13 03:20:21 utc hansen_ it seems Conflict for ruote-kit
2010-05-13 03:21:46 utc jmettraux what version of ruote-kit are you using ? Did you download it or "git clone"d it ?
2010-05-13 03:21:54 utc hansen_ in `storage_instance': undefined method `new' for # (NoMethodError) /home/hand/RubymineProjects/ruote-rails/vendor/gems/ruote-kit-2.1.7/lib/ruote-kit/configuration.rb:60:
2010-05-13 03:22:13 utc hansen_ 2.1.7
2010-05-13 03:22:32 utc jmettraux please use the latest
2010-05-13 03:23:22 utc jmettraux git clone http://github.com/kennethkalmer/ruote-kit.git
2010-05-13 03:24:19 utc hansen_ OK, I used http://github.com/threetee/ruote-rails-example sample test, ruote-rails-example + ruote-dm
2010-05-13 03:24:37 utc jmettraux ok
2010-05-13 06:13:50 utc hansen_ Hello John
2010-05-13 06:13:59 utc jmettraux hello again
2010-05-13 06:15:27 utc hansen_ I have changed the latest ruote-kit,but the error is still on
2010-05-13 06:15:38 utc jmettraux same error ?
2010-05-13 06:15:44 utc hansen_ yes
2010-05-13 06:16:17 utc jmettraux could you please prepare a gist with the error trace ?
2010-05-13 06:17:38 utc hansen_ http://gist.github.com/399557
2010-05-13 06:18:01 utc jmettraux /home/hand/RubymineProjects/ruote-rails/vendor/gems/ruote-kit-2.1.7/lib/ruote-kit/configuration.rb:60:in `storage_instance': undefined method `new' for # (NoMethodError)
2010-05-13 06:18:12 utc jmettraux you are still using ruote-kit-2.1.7
2010-05-13 06:18:13 utc hansen_ yes
2010-05-13 06:18:19 utc hansen_ no
2010-05-13 06:18:48 utc hansen_ I didn't change the folder name
2010-05-13 06:19:05 utc jmettraux how did you get ruote-kit ?
2010-05-13 06:19:46 utc hansen_ I download the source and put it in /vendor/gem
2010-05-13 06:20:38 utc jmettraux git clone http://github.com/kennethkalmer/ruote-kit.git ?
2010-05-13 06:20:51 utc jmettraux which version of rails are you using ?
2010-05-13 06:20:57 utc hansen_ 2.3.5
2010-05-13 06:22:11 utc jmettraux ok
2010-05-13 06:22:19 utc jmettraux you really have to use the latest ruote-kit
2010-05-13 06:22:28 utc hansen_ yes
2010-05-13 06:23:07 utc jmettraux ah
2010-05-13 06:23:08 utc hansen_ 2.1.8.2
2010-05-13 06:23:13 utc jmettraux I think I understand
2010-05-13 06:23:59 utc jmettraux sorry, my fault
2010-05-13 06:24:12 utc jmettraux c.setStorage(Ruote::Dm::DmStorage, :default)
2010-05-13 06:30:56 utc hansen_ c.set_storage(Ruote::Dm::DmStorage, :default)
2010-05-13 06:31:02 utc jmettraux yes
2010-05-13 06:31:06 utc hansen_ No error now,thank you!
2010-05-13 06:31:14 utc jmettraux :) sorry
2010-05-13 06:31:56 utc hansen_ It does not matter,I shoud say that
2010-05-13 06:39:34 utc hansen_ OK,the information stored in db now,thank you very much!John
2010-05-13 06:39:42 utc jmettraux :) excellent
2010-05-13 06:39:54 utc hansen_ ^_^
2010-05-13 06:40:20 utc jmettraux \(^_^)/