Opa聊天应用无法正常工作 [英] Opa chat app not working

查看:82
本文介绍了Opa聊天应用无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我复制了opa聊天应用程序.它可以在OSX Lion上运行,但不能在我的32位linux机器上运行.我知道不支持32位,但是我能够编译opa.然后,我编译了聊天应用程序.访问它时,我会看到初始页面,但是当我添加一些文本聊天时,该文本不会显示.

I copied opa chat application. It's working on OSX Lion but not on my 32 bit linux machine. I know that 32 bit is not supported but I was able to compile opa. I then compiled chat app. When I access it, I get the initial page but when I add some text to chat, that text is not displayed.

我不知道该如何调试.我已将详细程度提高到8.我还可以做些什么来调试呢?

I don't know how to debug this. I have increased the verbosity to 8. What else can I do to debug this?

谢谢 Prabhat Gupta

Thanks Prabhat Gupta

推荐答案

如Hugo所指出的,正式不支持32位.但是,从您的经验来看,这似乎是一个容易实现的目标.如果您想调试问题,实际上是提供了32位的Opa端口,那么Opa团队愿意鼓励和支持您!

As pointed out by Hugo, 32 bits is not officially supported. However, from your experience, this seems to be an accessible goal. If you want to debug the issue, that is actually provide a 32 bits port of Opa, then the Opa team is willing to encourage and support you!

在您的情况下,有趣的输出日志可能在启动聊天应用程序的路径中的文件error.log中.但是您可以拥有更多日志.当您从源代码进行编译而没有将-release标志传递给./configure时,您可以访问许多触发调试日志(或更改编译器行为)的shell环境变量.它们都列在libbase/debugVariables.mli中(所有变量都命名为MLSTATE_SOMETHING_IN_UPPER_CASE).还有一个名为mlset的命令行工具,可以通过make install(也许是make install-all)安装,这可能会有所帮助.

In your case, the interesting output log is probably in a file error.log at the path where you launched your chat app. But you can have more logs. When you compile from sources without passing the -release flag to ./configure, you have access to a lot of shell environment variables that trigger debug logs (or alter the behavior of the compiler). They are all listed in libbase/debugVariables.mli (all variables are named MLSTATE_SOMETHING_IN_UPPER_CASE). There is also a command-line tool called mlset that is installed by make install (maybe make install-all) that may help.

调试的第一步是设置MLSTATE_SHOW_LOGS = 1,然后设置其他一些相关的标志.我建议先选择MLSTATE_SESSION_DEBUG,MLSTATE_HTTP_DEBUG,MLSTATE_PING_DEBUG(将它们设置为较高的值).

A first step to debug is to set MLSTATE_SHOW_LOGS=1, then maybe some other relevant flags. I would advise to pick first some of MLSTATE_SESSION_DEBUG, MLSTATE_HTTP_DEBUG, MLSTATE_PING_DEBUG (set them to higher values).

祝你好运!

这篇关于Opa聊天应用无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆