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

Unix/Linux
查看linux版本的几条命令
Linux系统常见疑难问题的解决
使用内存作linux下的/tmp临时文件夹
LINUX下防火墙iptables的日志管理
VNC访问时不能切换SCIM输入法的解决办法
Fatal server error: could not open 无法进图形界面的解决办法
在LINUX系统下安装卡巴斯基杀毒网络版
openoffice不能调用SCIM的问题解决方法
Linux服务启动优化
WARNING: /tmp: File system full, swap space limit exceeded的解决办法
在linux系统下让进程在后台运行的方法
Linux 系统关机后电源无法关闭的解决办法
将Red Hat 9.0 CD iso合成一张DVD iso的方法
用YUM升级CentOS下的PHP和MySQL
Linux内核代码英文版构架图
Linux操作系统学习方法小结
用rsync从Linux到Windows远程备份
Linux中的常用符号解释
Linux操作系统提高PHP性能的工具APC
更有效率的使用Linux键盘

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 105 ::
收藏到网摘: 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)