Re: [Radiant] JRuby1.3.1 Rack Cache Error

2009-11-03 Thread 小泉 剛
Sean Cribbs さんは書きました:
> That looks like you don't have write access to the directory that 
> Rack::Cache is trying to write the file to.  The default in Radiant 
> 0.8.1 is tmp/cache inside your instance.  Make sure that it exists, and 
> is writable by the user running JRuby.

thanks Sean Cribbs.

But I write access to 'tmp/cache' . Same error occored.

environment problem ? I'm environment is windows xp.



-- 
tsoyoshi koizumi

___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Re: [Radiant] JRuby1.3.1 Rack Cache Error

2009-10-30 Thread Sean Cribbs
That looks like you don't have write access to the directory that 
Rack::Cache is trying to write the file to.  The default in Radiant 
0.8.1 is tmp/cache inside your instance.  Make sure that it exists, and 
is writable by the user running JRuby.

Sean

小泉 剛 wrote:
> Hello!
>
> Ruby  JRuby1.3.1
> Rails 2.3.4
> WebServer Webrick
>
>
> Radiant 0.8.1 Admin Page is OK
>
>
>
> site view   error occurs.
>
> Error cause is cached.  Where should be mended? 
>
>
>
>
> Processing SiteController#show_page (for 127.0.0.1 at 2009-10-29
> 16:02:37) [GET]
>   Parameters: {"controller"=>"site", "action"=>"show_page", "url"=>"/"}
>   User Load (0.0ms)   SELECT * FROM `users` WHERE
> (`users`.`id` = 1) ORDER BY name
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_mtime
> Cache read: Radiant.cache_file
> Cache read: Radiant::Config
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_mtime
> Cache read: Radiant.cache_file
> Cache read: Radiant::Config
>   Page Load (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`parent_id` IS NULL) LIMIT 1
>   Layout Load (0.0ms)   SELECT * FROM `layouts` WHERE
> (`layouts`.`id` = 1) ORDER BY name
>   Snippet Load (15.0ms)   SELECT * FROM `snippets`
> WHERE (`snippets`.`name` = 'header') ORDER BY name LIMIT 1
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.page_id = 1) ORDER BY id, name
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'body') AND (`page_parts`.page_id = 1)
> ORDER BY id LIMIT 1
>   CACHE (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`parent_id` IS NULL) LIMIT 1
>   Page Load (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`slug` = 'articles') AND (`pages`.parent_id = 1) ORDER BY
> virtual DESC, title ASC LIMIT 1
>   Page Load (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`id` = 1) 
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_file
> Cache read: Radiant.cache_mtime
> Cache read: Radiant.cache_file
> Cache read: Radiant::Config
>   Page Load (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.parent_id = 4 AND ((virtual = 0) and (status_id = 100))) ORDER
> BY published_at DESC, virtual DESC, title ASC LIMIT 5
>   Page Load (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`id` = 4) 
>   CACHE (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`id` = 1) 
>   CACHE (0.0ms)   SELECT * FROM `users` WHERE
> (`users`.`id` = 1) ORDER BY name
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.page_id = 5) ORDER BY id, name
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'body') AND (`page_parts`.page_id = 5)
> ORDER BY id LIMIT 1
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 5)
> ORDER BY id LIMIT 1
>   CACHE (0.0ms)   SELECT * FROM `page_parts` WHERE
> (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 5) ORDER
> BY id LIMIT 1
>   CACHE (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`id` = 4) 
>   CACHE (0.0ms)   SELECT * FROM `pages` WHERE
> (`pages`.`id` = 1) 
>   CACHE (0.0ms)   SELECT * FROM `users` WHERE
> (`users`.`id` = 1) ORDER BY name
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.page_id = 6) ORDER BY id, name
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'body') AND (`page_parts`.page_id = 6)
> ORDER BY id LIMIT 1
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 6)
> ORDER BY id LIMIT 1
>   CACHE (0.0ms)   SELECT * FROM `page_parts` WHERE
> (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 6) ORDER
> BY id LIMIT 1
>   PagePart Load (0.0ms)   SELECT * FROM `page_parts`
> WHERE (`page_parts`.`name` = 'extended') AND (`page_parts`.page_id = 1)
> ORDER BY id LIMIT 1
>   Snippet Load (0.0ms)   SELECT * FROM `snippets` WHERE
> (`snippets`.`name` = 'footer') ORDER BY name LIMIT 1
> Completed in 265ms (DB: 15) | 200 [http://localhost/]
> /!\ FAILSAFE /!\  Thu Oct 29 16:02:37 +0900 2009
>   Status: 500 Internal Server Error
>   指定されたパスが見つかりません。

[Radiant] JRuby1.3.1 Rack Cache Error

2009-10-29 Thread 小泉 剛
Hello!

Ruby  JRuby1.3.1
Rails 2.3.4
WebServer Webrick


Radiant 0.8.1 Admin Page is OK



site view   error occurs.

Error cause is cached.  Where should be mended? 




Processing SiteController#show_page (for 127.0.0.1 at 2009-10-29
16:02:37) [GET]
  Parameters: {"controller"=>"site", "action"=>"show_page", "url"=>"/"}
  ___
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant