我已经更新到Windows 8,并且我的同一个站点曾经在Windows 7中编译,并且仍然在另一台Windows 7计算机上编译,但我无法使其正常工作。当我尝试nanoc compile
时,这是控制台的输出:
nanoc compile
Loading site data... done
Captain! We've been hit!
Message:
EOFError: end of file reached
Compilation stack:
(empty)
Stack trace:
0. lib/static.rb:41:in `readpartial'
1. lib/static.rb:41:in `block (2 levels) in checksum_for'
2. lib/static.rb:39:in `open'
3. lib/static.rb:39:in `block in checksum_for'
4. lib/static.rb:37:in `map'
5. lib/static.rb:37:in `checksum_for'
6. lib/static.rb:21:in `block in items'
7. lib/static.rb:13:in `map'
8. lib/static.rb:13:in `items'
9. C:/Ruby193/lib/ruby/gems/1.9.1/gems/nanoc-3.5.0/lib/nanoc/base/source_data/
site.rb:310:in `block in load_items'
... 35 more lines omitted. See full crash log for details.
If you believe this is a bug in nanoc, please do report it at
-> https://github.com/ddfreyne/nanoc/issues/new <-
A detailed crash log has been written to ./crash.log.
显而易见的错误信息很明显,但我实际上无法弄清楚如何解决这个问题。有什么想法吗?
答案 0 :(得分:0)
好的,问题似乎与我使用的静态数据源插件有关。我删除了static.rb
文件夹中的libs/
文件,结果发现它现在已内置到最新版本的nanoc(3.5.x)中,所以我甚至不需要它。
问题未得到回答,但无关紧要。