2013-10-29 33 views
0

我已成功地與一些文章和網頁開始Octopress,但現在我得到一個SyntaxError,我不能夠確定:Octopress的SyntaxError上耙產生

....# rake generate 
(in /var/serv.example.com/public_html/blog) 
Generating Site with Jekyll 
identical source/stylesheets/screen.css 
Configuration from /var/www/ser.exampe.com/public_html/blog/_config.yml 
/var/www/serv.example.com/public_html/blog/plugins/render_partial.rb:25:in `require': ./plugins/octopress_filters.rb:69: undefined (?...) sequence: /<div class="entry-content">(?<content>[\s\S]*?)<\/div>\s*<(footer|\/article)>/ (SyntaxError) 
+0

什麼是你傳遞給過濾器?在我的部署中,僅使用一次 - 獲取頁面描述。這可能是其他一些內容暴露了正則表達式的一個錯誤。 – Vidya

+0

好..但如何找到它使用這個錯誤日誌,我的意思是在哪個文件? –

+0

查看插件/ octopress_filters.rb中的代碼庫。你的69線和我的線是一樣的。正如我所說,該過濾器只在我的東西中使用過一次,而且它工作正常。如果你將它應用到別的東西上,那可以解釋一些事情。 – Vidya

回答

相關問題