hi
The iowa_hello_world.rb example program fails to operate 'fresh out of the box' on Ruby 1.8, Windows/XP = Package:
iowa_0.99.2.17 (19-Oct-2006)
Steps involved:
1. Download and unzip iowa_0.99.2.17 b2z file.
2. cd to Iowa folder
3. Run Ruby setup.rb
* Reported scucess
4. cd to Examples\Hello_world\iowa
5. Run demo file:
$ ruby iowa_hello_world.rb
configuration_file = iowa_hello_world.cnf
6. Point Browser to http://127.0.0.1:9050, and wait.
* Nothing happens, just waits.
* Stop connection with "Stop loading page" browser button
7. Point Browser to http://127.0.0.1:2000, and wait.
* Per line:
Iowa.config[Iowa::Capplication][Iowa::Croot_url] = 'http://127.0.0.1:2000'
* Connection refused.
=================
The program only outputs the configuration file. The use of the 127.0.0.1:2000 port is confusing, but it obviously
isn't operated.
There appears to be no way to stop the server except to use the interrupt/break key on the console (CTRL/C) and resend
a url from the browser.
The log file shows an error at the end. However I can't be sure if the error is the problem, or an effect of using
Ctrl/Break to stop the program.
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Entering the main event loop...
[ERROR] iowa_log @ 2009-06-21 13:41:20 :: Inbound Data Corruption: incompatible marshal file format (can't be read)
format version 4.8 required; 71.69 given
There's no indication of what or where the Marshall file is to be found. I have included the log file from the last
couple of session for whatever help it may provide.
Is there a way to turn on diagnostics? Having seen the lack of tracker entries in the database, I'm guessing not many
people have been using Iowa -- Or those that do know how to make it work. Given the simple task I set myself yesterday
to run the demo and do a simple couple of web pages; I can't agree that the product is "production" ready:
Development Status: 5 - Production/Stable
At bet it is a Beta Release candidate, since I think it probably works in some environments, or with a more knowledgeable
sys admin. I note the development stopped about 2006, or there's been no changes since then. I posted a message on
GitHub if there is a later version, too because I don't see this package as 'ready' yet.
I'm happy to be told there's a new version, after all this release is still a release zero (0.99). I find the potential
for this concept to be very interesting, so I hope it continues.
Cheers,
Will
--- --- --- --- [iowa_Hello_world.log] --- --- --- --- ---
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Logging subsystem initialized.
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Platform (i386-mswin32) does not appear to support fork/setsid; skipping
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Listening at 127.0.0.1:9050.
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Application with docroot of W:/sandbox/swiftcore/iowa/examples/hello_world/iowa
initialized.
[INFO] iowa_log @ 2009-06-21 13:16:35 :: docroot_caching is enabled
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Loading template
W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/HelloWorld.html
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Creating namespace Iowa::Application::ContentClasses
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Parsing W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/HelloWorld.html
into template cache
[INFO] iowa_log @ 2009-06-21 13:16:35 :: NOT Saving compiled template for Iowa::Application::ContentClasses::HelloWorld:
false & true
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Done parsing
W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/HelloWorld.html
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Loading template
W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/Index.html
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Creating namespace Iowa::Application::ContentClasses
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Parsing W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/Index.html into
template cache
[INFO] iowa_log @ 2009-06-21 13:16:35 :: NOT Saving compiled template for Iowa::Application::ContentClasses::Index:
false & true
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Done parsing W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/Index.html
[INFO] iowa_log @ 2009-06-21 13:16:35 :: Entering the main event loop...
[ERROR] iowa_log @ 2009-06-21 13:19:00 :: Inbound Data Corruption: incompatible marshal file format (can't be read)
format version 4.8 required; 71.69 given
~~~~
[ERROR] iowa_log @ 2009-06-21 13:24:09 :: Inbound Data Corruption: incompatible marshal file format (can't be read)
format version 4.8 required; 71.69 given
[ERROR] iowa_log @ 2009-06-21 13:26:36 :: Inbound Data Corruption: incompatible marshal file format (can't be read)
format version 4.8 required; 71.69 given
=============[ last test ]=========
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Logging subsystem initialized.
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Platform (i386-mswin32) does not appear to support fork/setsid; skipping
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Listening at 127.0.0.1:9050.
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Application with docroot of W:/sandbox/swiftcore/iowa/examples/hello_world/iowa
initialized.
[INFO] iowa_log @ 2009-06-21 13:32:43 :: docroot_caching is enabled
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Loading template
W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/HelloWorld.html
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Creating namespace Iowa::Application::ContentClasses
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Parsing W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/HelloWorld.html
into template cache
[INFO] iowa_log @ 2009-06-21 13:32:43 :: NOT Saving compiled template for Iowa::Application::ContentClasses::HelloWorld:
false & true
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Done parsing
W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/HelloWorld.html
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Loading template
W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/Index.html
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Creating namespace Iowa::Application::ContentClasses
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Parsing W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/Index.html into
template cache
[INFO] iowa_log @ 2009-06-21 13:32:43 :: NOT Saving compiled template for Iowa::Application::ContentClasses::Index:
false & true
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Done parsing W:/sandbox/swiftcore/iowa/examples/hello_world/iowa/Index.html
[INFO] iowa_log @ 2009-06-21 13:32:43 :: Entering the main event loop...
[ERROR] iowa_log @ 2009-06-21 13:41:20 :: Inbound Data Corruption: incompatible marshal file format (can't be read)
format version 4.8 required; 71.69 given
|