2012-11-21 121 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更改权限