我安装了所有的依赖项,如tryton.org网站页,然后安装tryton客户端并构建trytond(服务器)。在
但当我尝试初始化数据库时
C:\Python27/python.exe C:\Python27/Scripts/trytond -c C:\Python27/Scripts/trytond.conf -d --all
我得到错误的标题,就像是没有重新定义UTC时间
我把时间改为UTC就像建议这个答案,重新启动我的电脑,现在我的时区是UTC。在
https://superuser.com/questions/482860/does-windows-8-support-utc-as-bios-time
但就是继续错误
有什么想法或文件需要修改来纠正这个错误吗?在
trytond.conf
[jsonrpc] listen == localhost:8000 hostname == localhost
[database] uri == postgresql://tryton:tryton@localhost:5432/
[session] timeout == 600 super_pwd == tUYUV3PebcivM
[report] unoconv == "C:\Program Files (x86)\LibreOffice 5\program\python.exe" unoconv
编辑
print time.strftime("%Z%z")
Hora estándar oeste, SudaméricaHora estándar oeste, Sudamérica
print time.gmtime()
time.struct_time(tm_year=2016, tm_mon=1, tm_mday=9, tm_hour=20, tm_min=15, tm_sec=33, tm_wday=5, tm_yday=9, tm_isdst=0)
print time.localtime()
time.struct_time(tm_year=2016, tm_mon=1, tm_mday=9, tm_hour=16, tm_min=15, tm_sec=33, tm_wday=5, tm_yday=9, tm_isdst=0)
目前没有回答
相关问题 更多 >
编程相关推荐