Radiant-People,

I want to use radiant.

I did this:
  gem install radiant
  gem list | grep radiant

Now I see:

maco-smiths-powerbook-g4-17:/ maco$
maco-smiths-powerbook-g4-17:/ maco$
maco-smiths-powerbook-g4-17:/ maco$ gem list | grep radiant
radiant (0.6.9)
maco-smiths-powerbook-g4-17:/ maco$
maco-smiths-powerbook-g4-17:/ maco$
maco-smiths-powerbook-g4-17:/ maco$


I next tried this:

maco-smiths-powerbook-g4-17:/ maco$ cd /bak/
maco-smiths-powerbook-g4-17:/bak maco$ which radiant
/r/bin/radiant
maco-smiths-powerbook-g4-17:/bak maco$
maco-smiths-powerbook-g4-17:/bak maco$ radiant --database=mysql rad1

I saw:


maco-smiths-powerbook-g4-17:/bak maco$ radiant --database=mysql rad1
      create
      create  CHANGELOG
      create  CONTRIBUTORS
      create  INSTALL
      create  LICENSE
      create  README

... snip ....


      create  config/routes.rb
      create  config/environment.rb
      create  config/boot.rb
      readme  ../../../../INSTALL

== Installation and Setup

... snip ....

maco-smiths-powerbook-g4-17:/bak maco$
maco-smiths-powerbook-g4-17:/bak maco$
maco-smiths-powerbook-g4-17:/bak maco$
maco-smiths-powerbook-g4-17:/bak maco$
maco-smiths-powerbook-g4-17:/bak maco$

I did this:


maco-smiths-powerbook-g4-17:/bak maco$ cd rad1
maco-smiths-powerbook-g4-17:/bak/rad1 maco$ rake production db:bootstrap
(in /bak/rad1)
This task will destroy any data in the database. Are you sure you want to
continue? [yn] y
== 21 RemoveSessionExpireFromUsers: reverting =================================
-- add_column(:users, :session_expire, :datetime)
   -> 0.1401s
== 21 RemoveSessionExpireFromUsers: reverted (0.1730s) ========================

== 20 AddSessionInfoToUsers: reverting ========================================
-- remove_column(:users, :session_token)
   -> 0.1588s

....snip......


== 21 RemoveSessionExpireFromUsers: migrated (0.0175s) ========================


Create the admin user (press enter for defaults).
Name (Administrator): me
Username (admin): admin
Password (radiant): me123


Initializing configuration.........OK

Select a database template:
1. Empty
2. Simple Blog
3. Styled Blog
[1-3]: 1

Finished.

maco-smiths-powerbook-g4-17:/bak/rad1 maco$
maco-smiths-powerbook-g4-17:/bak/rad1 maco$
maco-smiths-powerbook-g4-17:/bak/rad1 maco$

So Far so Good!!!

I did this:


maco-smiths-powerbook-g4-17:/bak/rad1 maco$  script/server -e production
=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with production environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).
** Rails signals registered.  HUP => reload (without restart).  It
might not work well.
** Mongrel 1.1.5 available at 0.0.0.0:3000
** Use CTRL-C to stop.
WARNING: You're using the Ruby-based MySQL library that ships with
Rails. This library is not suited for production. Please install the
C-based MySQL library instead (gem install mysql).


I then tried:

  http://localhost:3000/
  and
  http://localhost:3000/admin/login
  and
  http://localhost:3000/admin/page

When I tried to create a new page I saw this in the server console:


Processing PageController#index (for 127.0.0.1 at 2008-08-19 14:53:52) [GET]
  Session ID: 
BAh7CToOcmV0dXJuX3RvMDoMY3NyZl9pZCIlYTk1MzE5Y2JhZmZhNmJjMGRk%0AMjEwMzEyOWU0MGQyOTAiDHVzZXJfaWRpBiIKZmxhc2hJQzonQWN0aW9uQ29u%0AdHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--0edef1c4f656dd8a15ab9a3600645bfb877bec8d
  Parameters: {"action"=>"index", "controller"=>"admin/page"}
Rendering template within layouts/application
Rendering admin/page/index
Completed in 0.08098 (12 reqs/sec) | Rendering: 0.06148 (75%) | DB:
0.00000 (0%) | 200 OK [http://localhost/admin/pages]
ruby(378,0xa000ed88) malloc: ***  Deallocation of a pointer not
malloced: 0x36b40a0; This could be a double free(), or free() called
with the middle of an allocated block; Try setting environment
variable MallocHelp to see tools to help debug
ruby(378,0xa000ed88) malloc: ***  Deallocation of a pointer not
malloced: 0x38e51c0; This could be a double free(), or free() called
with the middle of an allocated block; Try setting environment
variable MallocHelp to see tools to help debug
ruby(378,0xa000ed88) malloc: ***  Deallocation of a pointer not
malloced: 0x38e7730; This could be a double free(), or free() called
with the middle of an allocated block; Try setting environment
variable MallocHelp to see tools to help debug
ruby(378,0xa000ed88) malloc: ***  Deallocation of a pointer not
malloced: 0x36b40a0; This could be a double free(), or free() called
with the middle of an allocated block; Try setting environment
variable MallocHelp to see tools to help debug
ruby(378,0xa000ed88) malloc: ***  Deallocation of a pointer not
malloced: 0x38e51c0; This could be a double free(), or free() called
with the middle of an allocated block; Try setting environment
variable MallocHelp to see tools to help debug
ruby(378,0xa000ed88) malloc: ***  Deallocation of a pointer not
malloced: 0x38e7730; This could be a double free(), or free() called
with the middle of an allocated block; Try setting environment
variable MallocHelp to see tools to help debug


The browser shows:

 NoMemoryError in Admin/welcome#login

Showing admin/welcome/login.html.haml where line #42 raised:

negative allocation size (or too big)



Anyone have clues or a workaround?

Info about my setup:


maco-smiths-powerbook-g4-17:/bak/rad1 maco$
maco-smiths-powerbook-g4-17:/bak/rad1 maco$ script/about
About your application's environment
Ruby version              1.8.6 (powerpc-darwin8.11.0)
RubyGems version          1.2.0
Rails version             2.0.2
Active_record version     2.0.2
Action_pack version       2.0.2
Active_resource version   2.0.2
Action_mailer version     2.0.2
Active_support version    2.0.2
Application root          /bak/rad1
Environment               development
Database adapter          mysql
Database schema version   21
maco-smiths-powerbook-g4-17:/bak/rad1 maco$
maco-smiths-powerbook-g4-17:/bak/rad1 maco$
maco-smiths-powerbook-g4-17:/bak/rad1 maco$

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

Reply via email to