It seems to work now (kind of see below). On Oct 27, 12:03 am, "John Mettraux" <[EMAIL PROTECTED]> wrote: > OK, I will try to upgrade to Rails 1.2.5 to see what happens. > > If you make any progress in the mean time, please tell me.
I deleted the work, work_development, work_production and all the directories under tmp ( I did do rake tmp:clear many times before this) Now I can see the eadmin page, but now launching a process seems to go into an infinite loop and in few of the rare instances crashes ruby web server Unfortunately I have to sleep now, so this is all I can for today. Will try again tomorrow. I including all the logs for your reference. Seems like a PostgreSQL issue with the insert commands. Of course since you are working with MySQL it will be difficult for you to investigate. I will also look into it tomorrow. But atleast we found one workaround for my original problem. Thanks John for all your help. Screen output shown below http://localhost:3000/eadmin -> /launchp #{RAILS_ROOT}/app/controllers/definitions_controller.rb:79: warning: parenthesize argument(s) for future version 127.0.0.1 - - [27/Oct/2007:00:23:02 Pacific Daylight Time] "GET / definitions/vie w/2 HTTP/1.1" 200 4041 http://localhost:3000/launchp -> /definitions/view/2 #{RAILS_ROOT}/app/controllers/definitions_controller.rb:79: warning: parenthesize argument(s) for future version 127.0.0.1 - - [27/Oct/2007:00:23:03 Pacific Daylight Time] "GET / definitions/vie w/2 HTTP/1.1" 200 4041 http://localhost:3000/launchp -> /definitions/view/2 127.0.0.1 - - [27/Oct/2007:00:23:06 Pacific Daylight Time] "GET / launchp HTTP/1. 1" 200 3096 http://localhost:3000/definitions/view/2 -> /launchp 127.0.0.1 - - [27/Oct/2007:00:23:08 Pacific Daylight Time] "GET / launchp/launch/ 2 HTTP/1.1" 302 95 http://localhost:3000/launchp -> /launchp/launch/2 [FATAL] failed to allocate memory >From development.log Processing LaunchpController#launch (for 127.0.0.1 at 2007-10-27 00:23:08) [GET] Session ID: ff8302ec14bc9e2e6fc941ab31f1ca6a Parameters: {"action"=>"launch", "id"=>"2", "controller"=>"launchp"} [4;35;1mUser Load (0.000000) [0m [0mSELECT * FROM users WHERE (users."id" = 4) LIMIT 1 [0m [4;36;1mSQL (0.000000) [0m [0;1m SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = 'launch_permissions'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum [0m [4;35;1mLaunchPermission Load (0.000000) [0m [0mSELECT * FROM launch_permissions WHERE (launch_permissions."id" = 2) [0m [4;36;1mLaunchPermission Load (0.000000) [0m [0;1mSELECT * FROM launch_permissions [0m Redirected to http://localhost:3000/launchp Completed in 0.04700 (21 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/launchp/launch/2] [4;35;1mSQL (0.015000) [0m [0m SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = 'fields'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum [0m [4;36;1mSQL (0.016000) [0m [0;1mBEGIN [0m [4;35;1mSQL (0.015000) [0m [0mCOMMIT [0m [4;36;1mSQL (0.000000) [0m [0;1mBEGIN [0m [4;35;1mSQL (0.000000) [0m [0mCOMMIT [0m [4;36;1mSQL (0.016000) [0m [0;1mBEGIN [0m [4;35;1mSQL (0.000000) [0m [0mCOMMIT [0m [4;36;1mSQL (0.015000) [0m [0;1mBEGIN [0m [4;35;1mSQL (0.016000) [0m [0mCOMMIT [0m [4;36;1mSQL (0.016000) [0m [0;1mBEGIN [0m [4;35;1mPK and serial sequence (0.078000) [0m [0m SELECT attr.attname, name.nspname, seq.relname FROM pg_class seq, pg_attribute attr, pg_depend dep, pg_namespace name, pg_constraint cons WHERE seq.oid = dep.objid AND seq.relnamespace = name.oid AND seq.relkind = 'S' AND attr.attrelid = dep.refobjid AND attr.attnum = dep.refobjsubid AND attr.attrelid = cons.conrelid AND attr.attnum = cons.conkey[1] AND cons.contype = 'p' AND dep.refobjid = 'workitems'::regclass [0m [4;36;1mOpenWFE::Extras::Workitem Create (0.016000) [0m [0;1mINSERT INTO workitems ("last_modified", "store_name", "wfid", "wf_revision", "participant_name", "dispatch_time", "wf_name", "fei") VALUES(NULL, 'bravo', '20071027-gedagipoza', '1', 'bravo', '2007-10-27 00:23:09.109000', 'simple_sequence', '(fei 0.9.16 engine/engine public/ process_definitions/simple_sequence_1.xml simple_sequence 1 20071027- gedagipoza participant 0.0.1)') [0m [4;35;1mSQL (0.000000) [0m [0mNoMemoryError: failed to allocate memory: SELECT currval('workitems_id_seq') [0m [4;36;1mSQL (0.000000) [0m [0;1mPostgresPR::ParseError: #<Buffer: 0x4828058 @content="C\000\000\000\vT\000Z\000\000\000\005", @size=12, @position=7>: SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc, a.attnotnull FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = 'users'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum [0m --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenWFEru users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/openwferu-users?hl=en -~----------~----~----~----~------~----~------~--~---
