On Thu, May 7, 2009 at 8:41 PM, pranav <[email protected]> wrote: > > Hi, > I am trying to setup ruote-web2 on my windows machine following the > instructions posted here - > http://groups.google.com/group/openwferu-users/browse_thread/thread/cbfac03d6055f8f4/df23e1ffc0eddb78?lnk=gst&q=ruote-web2#df23e1ffc0eddb78 > > I am able to work till the rake db:migrate step. But I get the > following error when I try to execute > rake db:fixtures:load FIXTURE_PATH=db/dev_fixtures > > Error > --------------------------------------------------------------------------------------------------------------------------------------------------- > > rake aborted! > ActiveRecord::ActiveRecordError: Conversion failed when converting > datetime from character string.: INSERT INTO ar_workitems ([wfname], > [fei], [wi_fields], [participant_name], [wfrevision], [wfid], [id], > [store_name], [expid], [last_modified], [dispatch_time]) VALUES > ('test', '(fei 0.9.20 s_engine /Users/mettraux/ruote-web2/public/defs/ > truck_sell_0.rb TruckSell 0 20081003-gajoyususo participant 0.6.0)', > '--- > a: A > b: B > ', 'alpha', 0, '20081003-gajoyususo', 1, 'store1', '0.0.1', > '2009-05-08 11:29:07 UTC', '2009-05-08 11:29:07 UTC')
> I am working on JRuby 1.2.0, Rails 2.3.2. > I am using MS SQL Server database and activerecord-jdbc-adapter (0.9) > > I am new to this and would really appreciate any possible help. Hello Pranav, this seems related to this issue with activerecord and ms-sql : http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&q=activerecord+mssql+Conversion+failed+when+convertingdatetime+from+character+string I'd recommend changing the dates found in test/fixtures/ar_workitems.yml from "2009-05-08 11:29:07 UTC" to something that is understood by ms-sql. You should maybe follow the basic instructions at : http://github.com/jmettraux/ruote-web2/blob/master/README.txt and not try to load test fixtures. I hope this will help. 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 -~----------~----~----~----~------~----~------~--~---
