linux ultrasphinx Anonymous modules have no name to be referenced by
摘要:今天在Linux上安装好ultrasphinx后,打算跑一下rakeultrasphinx:configure生成配置文件.结果运行期间出现...
今天在Linux上安装好ultrasphinx后, 打算跑一下rake ultrasphinx:configure生成配置文件.
结果运行期间出现提示 Anonymous modules have no name to be referenced by
根据rake --trace 提示,找到了出错的地方,修改了一下,便可以运行了
I was able to fix the problem by changing the last call in the
load_constants method from
# Build the field-to-type mappings.
Fields.instance.configure(MODEL_CONFIGURATION)
to
# Build the field-to-type mappings.
Ultrasphinx::Fields.instance.configure(MODEL_CONFIGURATION)
【linux ultrasphinx Anonymous modules have no name to be referenced by】相关文章:
★ centos安装rpm报Header V3 DSA signature错误的解决方法(yum安装软件报错)
★ Linux启动出现start ls-disk module sg not found
★ virtualbox虚拟机安装centos并配置网络使宿主机和虚拟机能够互相访问
上一篇:
linux kill 关闭进程命令