0

我已经更新到 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.

明显的错误消息很明显,但我实际上无法弄清楚如何解决这个问题。有任何想法吗?

4

1 回答 1

0

好的,问题似乎出在我使用的静态数据源插件上。我删除了static.rb文件libs/夹中的文件,结果发现它现在已内置到最新版本的 nanoc (3.5.x) 中,所以我什至不需要它。

问题没有回答,但无关紧要。

于 2013-02-18T10:11:45.483 回答