python-2.7 - 如何运行我的远程服务器 Tryton 3.6.0?

标签 python-2.7 tryton

我想使用以下命令运行我的远程服务器 tryton 版本 3.6.0:./trytond 但它显示错误:

~/gnuhealth/tryton/server/trytond-3.6.0/bin $ ./trytond
/home/gnuhealth/gnuhealth/tryton/server/trytond-3.6.0/trytond/modules/__init__.py:38: UserWarning: Module trytond was already imported from /home/gnuhealth/gnuhealth/tryton/server/trytond-3.6.0/trytond/__init__.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
  import pkg_resources

请帮我解决这个问题。

最佳答案

这只是警告服务器运行正常,但在 3.6 版本上,标准输入上没有输出,因此您看不到任何内容。

您可以使用 --verbose 选项运行服务器来查看输出或配置日志记录,如 http://doc.tryton.org/3.6/trytond/doc/topics/logs.html?highlight=logging 中所述。

关于python-2.7 - 如何运行我的远程服务器 Tryton 3.6.0?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30240402/

相关文章:

python - pypokereval 库配置脚本失败,错误代码为 "No python development environments found"

css - 通过文本值在下拉菜单中选择一个值

python - Pandas str.extract : AttributeError: 'str' object has no attribute 'str'

python - 理解装饰器函数中的作用域和 *args 和 **kwargs

python-2.7 - 如何将变量作为列名传递 pandas

python - PyGIWarning : Gtk and Rsvg were imported without specifying a version first. 使用 gi.require_version

python - 如何在 Tryton 上使用 Python 更改选择的值

python - 设置配置数据库部分时如何修复 'SyntaxError: invalid syntax'?