domingo, 6 de diciembre de 2020

AttributeError: module 'enum' has no attribute 'IntFlag'

 Intentando ejecutar Odoo 12 en Ubuntu 16.04 me dio el siguiente error.

... import dns.resolver
File "/usr/local/lib/python3.5/dist-packages/dns/resolver.py", line 32, in import dns.flags
File "/usr/local/lib/python3.5/dist-packages/dns/flags.py", line 24, in class Flag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'

Como mi Odoo se esta ejecutando con Python 3.5 y recordé que el compañero de JPV Luis Pabon le había dado este error y lo soluciono luego de varias horas investigando junto al compañero Jonathan Reyes, le pregunte y me recomendó que desinstalara dnspython y lo volviera a instalar. lo cual lo hice con los siguientes comando de terminal.

sudo python3.5 -m pip uninstall dnspython
sudo python3.5 -m pip install dnspython

Una vez lanzado estos dos comandos, ejecute nuevamente el Odoo y todo funcio correctamente.

Felipe Villamizar. felipeodoo@gmail.com

Instalar Python 3.7 teniendo instalado Python 2.7 y Python 3.5 para Ejecutar Odoo 13

En algunas oportunidades he tenido que tenes varias versiones de Odoo para ejecutar en mi PC, según la versión de Odoo requiere una versión de Python diferente, e incluso para algunos módulos que utilizan importaciones y en algunos caso requieren una versión o subversión de Python diferente, originado bugs inesperados.

Odoo nos ofrece en el repositorio un archivo .txt por cada versión que contiene los requerimientos aceptados por dicha versión, el archivo se llama requirements.txt Cuando ejecutamos este archivo es adonde podemos ver algunas alertas o errores que debemos solventar. si no tenemos la versión de Python instada por defecto.

Para este ejemplo voy a utilizar un escenario de que tengo Python 2.7 y 3.5 instalado en Ubuntu 16.04 y requiero instalar Python 3.7 para Odoo 12 y Odoo 13. pero esto pasos le pudiera ayudar para otras versiones en otros escenarios.

Lo primero es instalar la versión de Python 3.7 via PPA con los siguientes comando:

Primero instale el paquete de propiedades del software de Ubuntu si aún no está instalado en su sistema.


apt update sudo apt install software-properties-common

Después de eso, ejecute los comandos para agregar el PPA.


add-apt-repository ppa:deadsnakes/ppa

Finalmente, ejecute los siguientes comandos para instalar Python 3.7



apt update sudo apt install python3.7

apt update sudo apt install python3.7-dev 

Con esto ya tenemos instalado python 3.7 desde una forma manual de su codigo fuente.

El siguiente paso es ejecutar requeriments.txt co pip en la virsion de python 3.7 :

python3.7 -m pip install -r requirements.txt

Si te genera el siguiente error cuando ejecutes el comando anterior.


Collecting psycopg2==2.7.3.1 (from -r requirements.txt (line 27)) Downloading https://files.pythonhosted.org/packages/6b/fb/15c687eda2f925f0ff59373063fdb408471b4284714a7761daaa65c01f15/psycopg2-2.7.3.1.tar.gz (425kB) 100% |████████████████████████████████| 430kB 615kB/s Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info/psycopg2.egg-info writing pip-egg-info/psycopg2.egg-info/PKG-INFO writing dependency_links to pip-egg-info/psycopg2.egg-info/dependency_links.txt writing top-level names to pip-egg-info/psycopg2.egg-info/top_level.txt writing manifest file 'pip-egg-info/psycopg2.egg-info/SOURCES.txt' warning: manifest_maker: standard file '-c' not found Error: b'You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.\n' ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-zcw_26si/psycopg2/

Use estos siguientes comandos, esto resolverá el mismo:


sudo apt-get install postgresql. sudo apt-get install python-psycopg2 sudo apt-get install libpq-dev

Una vez instalados los paquetes anteriores vuelva a ejecutar el siguiente comando:


python3.7 -m pip install -r requirements.txt 

Finalmente de ben ejecutar su Odoo con el siguiente comando.

python3.7 ./odoo-bin -c you_file.conf

Con esto yo he resuelto dicho inconveniente cuando he requerido de instalar python 3.7 teniendo instaldado python 2.7 y 3.5 para ejecutar algunas veriones de Odoo. Epero les sea de utilidad. felipeodoo@gmail.com

domingo, 14 de junio de 2020

Política de Privacidad de APP Grupo SMS

Privacy Policy Privacy Policy

Juventud Productiva Venezolana built the Grupo SMS app as a Free app. This SERVICE is provided by Juventud Productiva Venezolana at no cost and is intended for use as is.

This page is used to inform visitors regarding our policies with the collection, use, and disclosure of Personal Information if anyone decided to use our Service.

If you choose to use our Service, then you agree to the collection and use of information in relation to this policy. The Personal Information that we collect is used for providing and improving the Service. We will not use or share your information with anyone except as described in this Privacy Policy.

The terms used in this Privacy Policy have the same meanings as in our Terms and Conditions, which is accessible at Grupo SMS unless otherwise defined in this Privacy Policy.

Information Collection and Use

For a better experience, while using our Service, we may require you to provide us with certain personally identifiable information, including but not limited to 82232885. The information that we request will be retained by us and used as described in this privacy policy.

The app does use third party services that may collect information used to identify you.

Link to privacy policy of third party service providers used by the app

Log Data

We want to inform you that whenever you use our Service, in a case of an error in the app we collect data and information (through third party products) on your phone called Log Data. This Log Data may include information such as your device Internet Protocol (“IP”) address, device name, operating system version, the configuration of the app when utilizing our Service, the time and date of your use of the Service, and other statistics.

Cookies

Cookies are files with a small amount of data that are commonly used as anonymous unique identifiers. These are sent to your browser from the websites that you visit and are stored on your device's internal memory.

This Service does not use these “cookies” explicitly. However, the app may use third party code and libraries that use “cookies” to collect information and improve their services. You have the option to either accept or refuse these cookies and know when a cookie is being sent to your device. If you choose to refuse our cookies, you may not be able to use some portions of this Service.

Service Providers

We may employ third-party companies and individuals due to the following reasons:

  • To facilitate our Service;
  • To provide the Service on our behalf;
  • To perform Service-related services; or
  • To assist us in analyzing how our Service is used.

We want to inform users of this Service that these third parties have access to your Personal Information. The reason is to perform the tasks assigned to them on our behalf. However, they are obligated not to disclose or use the information for any other purpose.

Security

We value your trust in providing us your Personal Information, thus we are striving to use commercially acceptable means of protecting it. But remember that no method of transmission over the internet, or method of electronic storage is 100% secure and reliable, and we cannot guarantee its absolute security.

Links to Other Sites

This Service may contain links to other sites. If you click on a third-party link, you will be directed to that site. Note that these external sites are not operated by us. Therefore, we strongly advise you to review the Privacy Policy of these websites. We have no control over and assume no responsibility for the content, privacy policies, or practices of any third-party sites or services.

Children’s Privacy

These Services do not address anyone under the age of 13. We do not knowingly collect personally identifiable information from children under 13. In the case we discover that a child under 13 has provided us with personal information, we immediately delete this from our servers. If you are a parent or guardian and you are aware that your child has provided us with personal information, please contact us so that we will be able to do necessary actions.

Changes to This Privacy Policy

We may update our Privacy Policy from time to time. Thus, you are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page.

This policy is effective as of 2020-06-14

Contact Us

If you have any questions or suggestions about our Privacy Policy, do not hesitate to contact us at juventudproductivabicentenaria@gmail.com.

This privacy policy page was created at privacypolicytemplate.net and modified/generated by App Privacy Policy Generator