On 12 май, 18:32, Iñaki Baz Castillo <[email protected]> wrote:

> > I'm playing with latest version activescaffold and legacy database.
> > All primary and foreign keys in database are of type BINARY(16) (GUID
> > eported from accounting system).
>
> > I get an error when trying to view edit the record - "Request Failed
> > (code 500, Internal Error)"
>
> Please paste the log. Use 'development' mode and check the error under
> YOUR_APP/logs/development.log.

development.log contains no errors

Processing CatalogueController#index (for 127.0.0.1 at 2010-05-12
20:08:04) [GET]
   [4;35;1mSQL (0.0ms) [0m    [0mSELECT count(*) AS count_all FROM
`catalogue`  [0m
   [4;36;1mCatalogue Load (0.0ms) [0m    [0;1mSELECT `catalogue`.*
FROM `catalogue` ORDER BY `catalogue`.`id` ASC LIMIT 0, 15 [0m
   [4;35;1mCatalogue Load (0.0ms) [0m    [0mSELECT * FROM `catalogue`
WHERE (`catalogue`.`id` IN (' t áÑ= ▌¿Φ\0 └ ≥ê','· »Ä▒  ▌à╖
\0 └ ≥ê','á▒╒╤¼A ▌¿Φ\0 └ ≥ê',' s&aW1 ▐Çu\0 └ ≥ê','±∙í╪Ç╥ ▐Çù
\0 └ ≥ê','3 3 ╝  ▌₧û\0 └ ≥ê','╧»æ\\╡¼ ▌à \0 └ ≥ê','\rìYFÑ( ▌¿Φ
\0 └ ≥ê','Θ_╠5½` ▌¿Φ\0 └ ≥ê'))  [0m
Rendering template within layouts/application
Rendering list
Rendered _list_header (140.0ms)
Rendered _list_column_headings (47.0ms)
Rendered _messages (15.0ms)
Rendered _list_messages (15.0ms)
   [4;36;1mSQL (0.0ms) [0m    [0;1mSELECT count(*) AS count_all FROM
`catalogue` WHERE (`catalogue`.parent_id =
x'01732661573111de8075001cc002f288')  [0m
   [4;35;1mCatalogue Load (0.0ms) [0m    [0mSELECT * FROM `catalogue`
WHERE (`catalogue`.parent_id = x'01732661573111de8075001cc002f288')
ORDER BY permalink LIMIT 4 [0m
Rendered _list_record_columns (16.0ms)
Rendered _list_actions (16.0ms)
Rendered _list_record (47.0ms)
..... skipped
Rendered _list_record (16.0ms)
   [4;35;1mSQL (0.0ms) [0m    [0mSELECT count(*) AS count_all FROM
`catalogue` WHERE (`catalogue`.parent_id =
x'06927ebd192811de8a47001cc002f288')  [0m
Rendered _list_record_columns (16.0ms)
Rendered _list_actions (0.0ms)
Rendered _list_record (16.0ms)
Rendered _list_pagination_links (31.0ms)
Rendered _list_pagination (47.0ms)
Rendered _list (625.0ms)
Completed in 2750ms (View: 922, DB: 16) | 200 OK [http://localhost/
catalogue]
> end of log

errors in the console to view and edit operations

[2010-05-12 20:08:32] ERROR ArgumentError: string contains null byte
        C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:
37:in `file?'
        C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:
37:in `file_exist?'
        C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/static.rb:
18:in `call'
        C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:46:in
`call'
        C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
`each'
        C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/urlmap.rb:40:in
`call'
        C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/rails/rack/
log_tailer.rb:17:in `call'
        C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/content_length.rb:
13:in `call'
        C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/webrick.rb:
46:in `service'
        C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
        C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
        C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
        C:/Ruby/lib/ruby/gems/1.8/gems/rack-1.0.0/lib/rack/handler/webrick.rb:
13:in `run'
        C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.4/lib/commands/server.rb:111
        C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
        E:/opt/src/rails/activebarsa/script/server:3
        -e:1:in `load'
        -e:1

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to