2012-11-21 118 views
1

當Emacs啓動起來,CEDET抱怨了一系列的緩存文件被寫保護:CEDET高速緩存錯誤

Cache Error: [~/.semanticdb/!usr!include!i386-linux-gnu!sys!semantic.cache] (error In save file, list of object constructors found, but no :type specified for slot :tables), Restart Note: file is write protected [2 times]

當我打電話semantic-ia-complete-symbol-menu首次,緩存錯誤的裝載量拋出迷你緩衝區幾秒鐘內出現錯誤信息而瘋狂。

Cache Error: [~/.semanticdb/!usr!include!i386-linux-gnu!gnu!semantic.cache] (error In save file, list of object constructors found, but no :type specified for slot :tables), Restart [8 times]

初次通話後,問題就消失了。

回答

1

退出emacs,刪除~/.semanticdb &再次啓動 - 目錄將被重新創建&文件將被重新整理。它看起來像你以root身份運行emacs。

或者您可以簡單地使用chown -R <your id> ~/.semanticdbchmod -R a-w,u+wr ~/.semanticdb更改權限