Thu 19 Feb 2015 03:00:05 PM UTC, original submission:
The error occurs on an environment installed with version 2.8.1 using the command pip:
pip install "trytond_health>=2.8,<2.9" psycopg2
trytond -c PATH/TO/trytond.conf
--
Error: No module named pytz
Traceback (most recent call last):
File "/trytond/protocols/jsonrpc.py", line 150, in _marshaled_dispatch
response['result'] = dispatch_method(method, params)
File "/trytond/protocols/jsonrpc.py", line 179, in _dispatch
res = dispatch(*args)
File "/trytond/protocols/dispatcher.py", line 42, in dispatch
res = security.login(database_name, user, session)
File "/trytond/security.py", line 25, in login
pool = _get_pool(dbname)
File "/trytond/security.py", line 19, in _get_pool
pool.init()
File "/trytond/pool.py", line 140, in init
self.start()
File "/trytond/pool.py", line 92, in start
register_classes()
File "/trytond/modules/__init__.py", line 351, in register_classes
mod_file, pathname, description)
File "/trytond/modules/health/__init__.py", line 25, in <module>
from .health import *
File "/trytond/modules/health/health.py", line 36, in <module>
import pytz
ImportError: No module named pytz
Also attached screen capture error trying to create a new database.
--
Bugs related:
- bug #43561: Some datetime fields are printed in UTC timezone
- bug #43450: Wrong time computed in "New work schedule" appointments wizard
|