bugGNU Health - Bugs: bug #44311, No module named pytz after of pip...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44311: No module named pytz after of pip installation

Submitted by:  Bruno M. Villasanti <bvillasanti>
Submitted on:  Thu 19 Feb 2015 03:00:05 PM UTC  
 
Category: InstallationSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Bruno M. Villasanti <bvillasanti>
Open/Closed: ClosedRelease: 2.8.0
Module: health

Thu 19 Feb 2015 04:31:36 PM UTC, comment #1:

Fixed on:
changeset 1858:2f5ccfefccca
changeset 1859:bfb7b87aa278

Bruno M. Villasanti <bvillasanti>In charge of this item.
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

Bruno M. Villasanti <bvillasanti>In charge of this item.

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bvillasanti (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 19 Feb 2015 04:31:36 PM UTCbvillasantiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
      ReleaseNone=>2.8.0
    Thu 19 Feb 2015 03:00:05 PM UTCbvillasantiAttached File-=>Added 20150215 - 20:38:19.png, #33134

    Back to the top


    Powered by Savane 3.1-cleanup1