当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > linux ultrasphinx Anonymous modules have no name to be referenced by

Unix/Linux
tar解压命令详解
Linux操作系统软件的基本安装和卸载
SUSE Linux登录出现黑屏
RedHat9详细安装图解
Redhat Linux系统下磁盘配额的设置
RedHat LINUX桌面切换和用户管理技巧
创建Linux之USB启动盘
Linux 修改系统日期和时间
使ssh登陆不用输入密码的方法
Linux操作系统安全配置步骤
linux-2.6内核升级详细文档
Apache 安装详细说明
LINUX系统apache基于IP,基于port和基于域名的三种虚拟主机的配置方法
redhat下磁盘配额设置!
Linux系统下安装软件,程序
Linux 操作系统的用户和用户组管理
Linux下载工具wget和axel简介
RHEL5 Squid透明代理服务器配置过程详细说明
Linux系统下文件的压缩、打包与解压
Linux系统下快速删除某个目录下大量文件

Unix/Linux 中的 linux ultrasphinx Anonymous modules have no name to be referenced by


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 102 ::
收藏到网摘: n/a

今天在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)