 |
Forums |
Admin Start New Thread
By: Peter Wilkins
RE: webgen 0.4.2 not working on win XP [ reply ] 2007-08-07 14:47
|
Hi Thomas:
I replaced InstantRails 1.7 with InstantRails 1.6, which includes Ruby 1.8.5.
I also updated rubygems to avoid the Zlib buffer error I had previously gotten installing webgen with the gem install command.
Webgen now works as described in the documentation.
Thank you for the help.
Regards,
Peter
|
By: Thomas Leitner
RE: webgen 0.4.2 not working on win XP [ reply ] 2007-08-07 08:51
|
Due to a bug in Ruby 1.8.6 webgen does not work correctly. This bug has been fixed in the Ruby repository, however, I don't know if the InstantRails version you are using is so new that it has the fix.
Therefore I recommend to use Ruby 1.8.5 until a new version of the One-Click-Installer or InstantRails comes out.
|
By: Peter Wilkins
RE: webgen 0.4.2 not working on win XP [ reply ] 2007-08-07 01:39
|
I am new to ruby and new to webgen. I installed InstantRails and webgen. When I follow the tutorial instructions I get these messages (see below) and no generated site. I am running ruby 1.8.6 on WinXP. I would be happy to provide more information on my configuration if you would help you debug the problem.
Regards,
Peter
C:\Tools\InstantRails\rails_apps\sample_site>webgen
WARN -- Can't create node <C:/Tools/InstantRails/rails_apps/sample_site/output/
default.css/> as it already exists (node handled by File/DirectoryHandler)!
webgen/plugins/tags/block.rb:43:in `process_tag': undefined method `blocks' for
nil:NilClass (NoMethodError)
from webgen/plugins/tags/tag_processor.rb:63:in `process'
from webgen/plugins/tags/tag_processor.rb:103:in `replace_tags'
from webgen/plugins/tags/tag_processor.rb:52:in `process'
from webgen/plugins/filehandlers/page.rb:169:in `render_node'
from webgen/plugins/filehandlers/page.rb:179:in `write_node'
from C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.5/lib/
webgen/node.rb:262:in `send'
from C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.5/lib/
webgen/node.rb:262:in `method_missing'
from webgen/plugins/filehandlers/filehandler.rb:255:in `write_node'
... 12 levels...
from C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.5/lib/
webgen/cli.rb:454:in `cli_main'
from C:/Tools/InstantRails/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.5/bin/
webgen:4
from C:/Tools/InstantRails/ruby/bin/webgen:16:in `load'
from C:/Tools/InstantRails/ruby/bin/webgen:16
C:\Tools\InstantRails\rails_apps\sample_site>
|
By: Thomas Leitner
RE: webgen 0.4.2 not working on win XP [ reply ] 2007-04-20 05:38
|
Hi Martin,
odd problem... I did not try webgen 0.4.2 on Windows XP with ruby 1.8.6, so this may be a problem. Have you tried a 1.8.5 version of Ruby?
I will install 1.8.6 with the One-Click-Installer and then try to reproduce your error.
Till then,
Thomas
|
By: Martin MABIKA
webgen 0.4.2 not working on win XP [ reply ] 2007-04-17 17:08
|
Hello,
As newby on webgen, I have intalled ruby 1.8.6-25 (win32 binary on XP) and webgen 0.4.2 with his optionnal libraries (cmdparse, builder, etc.)
I haved tried to generate personal web example comming with webgen software, but I have got this message:
=========================================
D:\essai_prog\personal>webgen
WARN -- Can't create node <D:/essai_prog/personal/output/images/boxbg.gif/> as
it already exists (node handled by File/DirectoryHandler)!
WARN -- Can't create node <D:/essai_prog/personal/output/images/greypx.gif/> as
it already exists (node handled by File/DirectoryHandler)!
WARN -- Can't create node <D:/essai_prog/personal/output/images/bodybg.gif/> as
it already exists (node handled by File/DirectoryHandler)!
WARN -- Can't create node <D:/essai_prog/personal/output/images/tabs.gif/> as i
t already exists (node handled by File/DirectoryHandler)!
WARN -- Can't create node <D:/essai_prog/personal/output/images/innerbg.gif/> a
s it already exists (node handled by File/DirectoryHandler)!
WARN -- Can't create node <D:/essai_prog/personal/output/images/header.jpg/> as
it already exists (node handled by File/DirectoryHandler)!
WARN -- Can't create node <D:/essai_prog/personal/output/images/leaves.jpg/> as
it already exists (node handled by File/DirectoryHandler)!
WARN -- Can't create node <D:/essai_prog/personal/output/default.css/> as it al
ready exists (node handled by File/DirectoryHandler)!
WARN -- Two input files in the same language for one page, using <D:/essai_prog
/personal/src/about.de.page> instead of <D:/essai_prog/personal/src/about.de.pag
e>
WARN -- Two input files in the same language for one page, using <D:/essai_prog
/personal/src/links.de.page> instead of <D:/essai_prog/personal/src/links.de.pag
e>
WARN -- Two input files in the same language for one page, using <D:/essai_prog
/personal/src/index.de.page> instead of <D:/essai_prog/personal/src/index.de.pag
e>
webgen/plugins/tags/block.rb:43:in `process_tag': undefined method `blocks' for
nil:NilClass (NoMethodError)
from webgen/plugins/tags/tag_processor.rb:63:in `process'
from webgen/plugins/tags/tag_processor.rb:103:in `replace_tags'
from webgen/plugins/tags/tag_processor.rb:52:in `process'
from webgen/plugins/filehandlers/page.rb:169:in `render_node'
from webgen/plugins/filehandlers/page.rb:179:in `write_node'
from c:/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/node.rb:262:
in `send'
from c:/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/node.rb:262:
in `method_missing'
from webgen/plugins/filehandlers/filehandler.rb:255:in `write_node'
... 12 levels...
from c:/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/cli.rb:454:i
n `cli_main'
from c:/ruby/lib/ruby/gems/1.8/gems/webgen-0.4.2/bin/webgen:4
from c:/ruby/bin/webgen:16:in `load'
from c:/ruby/bin/webgen:16
============================================
Directories with same name as files in src have been generated in output directory with no files.
What to be done? Thanks in advance
Martin
|
|
 |