un dato los modulos no cuentan con un archivo setup.py solo con uno que se
llama __init__.py y cuando trato de hacer el python __init__.py install
aparece estos mensajes
ob1006:/usr/lib/python2.7/site-packages/trytond/modules # python
__init__.py install
Traceback (most recent call last):
File "__init__.py", line 16, in <module>
import trytond.tools as tools
File "/usr/lib/python2.7/site-packages/trytond/__init__.py", line 6, in
<module>
from . import server
File "/usr/lib/python2.7/site-packages/trytond/server.py", line 17, in
<module>
from trytond.pool import Pool
File "/usr/lib/python2.7/site-packages/trytond/pool.py", line 5, in
<module>
from trytond.modules import load_modules, register_classes
File "/usr/lib/python2.7/site-packages/trytond/modules/__init__.py", line
16, in <module>
import trytond.tools as tools
File "/usr/lib/python2.7/site-packages/trytond/tools/__init__.py", line
3, in <module>
from .misc import *
File "/usr/lib/python2.7/site-packages/trytond/tools/misc.py", line 11,
in <module>
import smtplib
File "/usr/lib64/python2.7/smtplib.py", line 46, in <module>
import email.utils
File "/usr/lib64/python2.7/email/utils.py", line 32, in <module>
from email._parseaddr import quote
File "/usr/lib64/python2.7/email/_parseaddr.py", line 16, in <module>
import time, calendar
File
"/usr/lib/python2.7/site-packages/trytond/modules/calendar/__init__.py",
line 4, in <module>
from trytond.pool import Pool
ImportError: cannot import name Pool
El martes, 9 de diciembre de 2014 08:12:26 UTC-6, Francisco Maria Moyano
Casco escribió:
>
> Hola Carlos.
> ¿Has hecho el python setup.py install en cada directorio de modulo que
> queres instalar?
> Saludos
> Francisco
>
> El lunes, 8 de diciembre de 2014 18:12:25 UTC-3, Carlos navarro alvarado
> escribió:
>>
>> Buenos días, tardes, noches,
>>
>> el día de hoy al hacer la instalación de GNU health y tryton en opensuse
>> 13.1 me dí cuenta que solo se pueden visualizar los siguientes modulos "
>> ir, res y webdav" en tryton client 3.2, al verificar encuentro que los
>> demas modulos se encuentran en esta dirección
>>
>> /usr/lib/python2.7/site-packages/trytond/modules
>>
>> # ls
>> __init__.py country health_gyneco
>> health_inpatient health_ntd_dengue
>> health_reporting product
>> __init__.pyc currency health_history
>> health_inpatient_calendar health_nursing
>> health_services stock
>> account health health_icd10
>> health_lab health_pediatrics
>> health_socioeconomics stock_lot
>> account_invoice health_archives health_icd10pcs
>> health_lifestyle health_pediatrics_growth_charts health_stock
>> account_product health_calendar health_icpm
>> health_mdg6 health_pediatrics_growth_charts_who
>> health_surgery
>> calendar health_crypto health_icu
>> health_ntd health_profile
>> health_who_essential_medicines
>> company health_genetics health_imaging
>> health_ntd_chagas health_qrcodes party
>>
>> reinicie el servcio de trytond y de postgresql y sigo sin verlos
>> ¿será que necesite cambiarlos de carpeta? ¿cambiar algún parametro del
>> archivo /etc/trytond.conf ? la instalación la hice atraves de zypper.
>> anexo la configuracion del archivo /etc/trytond.conf
>> Saludos.
>>
>> vim /etc/trytond.conf
>>
>> #privatekey = server.pem
>> #certificate = server.pem
>>
>> # Configure the SMTP connection
>> #smtp_server = localhost
>> #smtp_port = 25
>> #smtp_ssl = False
>> #smtp_tls = False
>> #smtp_password = False
>> #smtp_user = False
>> #smtp_default_from_email = False
>>
>> # Configure the path to store attachments and sqlite database
>> #data_path = /var/lib/trytond
>>
>> # Allow to run more than one instance of trytond
>> #multi_server = False
>>
>> # Configure the session timeout (inactivity of the client in sec)
>> #session_timeout = 600
>>
>> # Enable auto-reload of modules if changed
>> #auto_reload = True
>>
>>
>> # Prevent database listing
>> #prevent_dblist = False
>>
>> # Enable cron
>> # cron = True
>>
>> # unoconv connection
>> #unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext
>>
>> # Number of retries on database operational error
>> # retry = 5
>>
>> # Default language code
>> # language = en_US
>>
>>