手机
当前位置:查字典教程网 >操作系统 >RedHat/Centos >linux ultrasphinx Anonymous modules have no name to be referenced by
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】相关文章:

终端下vim汉字显示不正常的解决办法

CentOS系统安装内核时提示/boot分区空间不足问题的解决方法

apache 403错误 Forbidden解决方法

在CentOS系统安装pop3的步骤

自动备份Linux/Unix服务器的数据

centos6.5添加新网卡配置方法

DELL服务器M100E中linux5.5无法启动的解决方法

centos安装rpm报Header V3 DSA signature错误的解决方法(yum安装软件报错)

Linux系统下生成引导盘与驱动程序盘的方法

virtualbox虚拟机安装centos并配置网络使宿主机和虚拟机能够互相访问

精品推荐
分类导航