hello. i downloaded the latest i2 wiki from the subversion repository. i''m not able to see it working even running under webrick (under windows xp sp2). i created the database (mysql 4.1) via "rake migrate" and instantiated the first web through the console (as suggested by the readme file). when running it what i get in the browser window is a blank page and in the webrick (dos) window the following: C:\Program Files\Apache Group\Apache2\htdocs\balestrieri.com.org.net\wiki2>ruby script\server -e development => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-01-01 21:37:16] INFO WEBrick 1.3.1 [2006-01-01 21:37:16] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32] [2006-01-01 21:37:16] INFO WEBrick::HTTPServer#start: pid=4280 port=3000 127.0.0.1 - - [01/Jan/2006:21:37:31 W. Europe Standard Time] "GET / HTTP/1.1" 50 0 0 - -> / did someone managed to have it working? thanks! --luigi
derek: thanks for your hint. unfortunately, even after reinstalling ruby on my windows box i''m still getting the same situation. i double checked the database access and everything seems ok in the table. in addition if i run the webrick server againsta a stable typo installation on the same machine all is working fine. (i did this after attempting to run i2, just to avoid some cache collision). does anybody on the list knows of a successfull installation of i2 on windows? i''m having some troubles with instiki (namely exporting my content with the 0.10.2 version) and with instiki-ar (installation instructions for this release are pretty confusing...). any ideas of working rails-based wikis which i could use? thank you. On 1/1/06, Derek Chesterfield <dez@mac.com> wrote:> > On 1 Jan 2006, at 8:43pm, Luigi Rizzo wrote: > > > 127.0.0.1 - - [01/Jan/2006:21:37:31 W. Europe Standard Time] "GET / > > HTTP/1.1" 500 0 > > If you have any old Ruby session files hanging around, I recommend > deleting them. I have seen this problem before, and it was caused by > having an old session with a class in it, and that was causing the > HTTP 500s. > > I don''t know where they are store on Windows, but on Mac OS X they > are in /tmp, and have a name beginning with ''Ruby''.
i attempted again to reach the i2 installation but with the following url: http://127.0.0.1:3000 and this time i got the following trace: http://www.rafb.net/paste/results/Mnkfwe72.html (is this a a step forward? ...) any ideas from this list i2 users? thank you.
Luigi- You have to use script/console to bootstrap i2. I don''t remember exactly what you have to do but you need to create the first ''book'' or wiki for i2 to use for its first page. The info should be in the README that came with i2. I had the same blank page problem until I bootstrapped the first wiki in script/console Cheers- -Ezra On Jan 1, 2006, at 12:43 PM, Luigi Rizzo wrote:> hello. > > i downloaded the latest i2 wiki from the subversion repository. i''m > not able to see it working even running under webrick (under windows > xp sp2). > > i created the database (mysql 4.1) via "rake migrate" and instantiated > the first web through the console (as suggested by the readme file). > when running it what i get in the browser window is a blank page and > in the webrick (dos) window the following: > > C:\Program Files\Apache Group\Apache2\htdocs\balestrieri.com.org.net > \wiki2>ruby > script\server -e development > => Rails application started on http://0.0.0.0:3000 > => Ctrl-C to shutdown server; call with --help for options > [2006-01-01 21:37:16] INFO WEBrick 1.3.1 > [2006-01-01 21:37:16] INFO ruby 1.8.2 (2004-12-25) [i386-mswin32] > [2006-01-01 21:37:16] INFO WEBrick::HTTPServer#start: pid=4280 > port=3000 > 127.0.0.1 - - [01/Jan/2006:21:37:31 W. Europe Standard Time] "GET / > HTTP/1.1" 50 > 0 0 > - -> / > > did someone managed to have it working? > > thanks! > > --luigi > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-Ezra Zygmuntowicz WebMaster Yakima Herald-Republic Newspaper ezra@yakima-herald.com 509-577-7732
1) thank you ezra! i see now i2 running ... as a matter of fact i already did what you suggested but the solution to the problem was that i was trying to access the wiki without referring to the ''wiki'' url that was created by the bootstrap process. so, in order to be eventually useful to others (especially ruby/rails newbies like i''m) in the future: a) if you, for example, bootstrap i2 (under webrick) with: Book.create :name => "My Nice Wiki", :url_name => "wiki" b) then you have to access your wiki with the following url: http://localhost:3000/wiki otherwise, if you access it with: http://localhost:3000 than you get a blank page and a 500 error without much more information 2) i tried to use the [[include <PAGE>]] tag (found in instiki to add a sidebar) but this doesn''t seem to work in i2. i guess it is by design. can some i2 user please confirm this? thank you. On 1/2/06, Ezra Zygmuntowicz <ezra@yakimaherald.com> wrote:> Luigi- > > You have to use script/console to bootstrap i2. I don''t remember > exactly what you have to do but you need to create the first ''book'' > or wiki for i2 to use for its first page. The info should be in the > README that came with i2. I had the same blank page problem until I > bootstrapped the first wiki in script/console