2013-02-16 38 views
0

我已更新到Windows 8,並且我的同一網站用於在Windows 7中編譯,並且仍然在另一臺Windows 7機器上編譯,但是我無法正常工作。這是從控制檯輸出,當我試圖nanoc compile事情:爲什麼我無法讓Nanoc在Windows 8上編譯我的網站?

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

好吧,這個問題似乎與我使用的靜態數據源插件一直存在。我刪除了我的libs/文件夾中的static.rb文件,結果證明它現在內置了最新版本的nanoc(3.5.x),所以我甚至不需要它。

問題沒有回答,但是無關緊要。

+0

nanoc 3.5.x自帶的靜態數據源是否也崩潰? – ddfreyne 2013-02-18 18:13:12

+0

不,捆綁的那個工作正常,看起來它只是我在3.4.x上使用的第三方問題。可能與Windows 8根本沒有關係!只是納米版本! – 2013-02-19 14:12:47

相關問題