Ir al contenido
Odoo Menú
  • Iniciar sesión
  • Pruébalo gratis
  • Aplicaciones
    Finanzas
    • Contabilidad
    • Facturación
    • Gastos
    • Hoja de cálculo (BI)
    • Documentos
    • Firma electrónica
    Ventas
    • CRM
    • Ventas
    • PdV para tiendas
    • PdV para restaurantes
    • Suscripciones
    • Alquiler
    Sitios web
    • Creador de sitios web
    • Comercio electrónico
    • Blog
    • Foro
    • Chat en vivo
    • eLearning
    Cadena de suministro
    • Inventario
    • Manufactura
    • PLM
    • Compras
    • Mantenimiento
    • Calidad
    Recursos humanos
    • Empleados
    • Reclutamiento
    • Vacaciones
    • Evaluaciones
    • Referencias
    • Flotilla
    Marketing
    • Redes sociales
    • Marketing por correo
    • Marketing por SMS
    • Eventos
    • Automatización de marketing
    • Encuestas
    Servicios
    • Proyectos
    • Registro de horas
    • Servicio externo
    • Soporte al cliente
    • Planeación
    • Citas
    Productividad
    • Conversaciones
    • Aprobaciones
    • IoT
    • VoIP
    • Artículos
    • WhatsApp
    Aplicaciones externas Studio de Odoo Plataforma de Odoo en la nube
  • Industrias
    Venta minorista
    • Librería
    • Tienda de ropa
    • Mueblería
    • Tienda de abarrotes
    • Ferretería
    • Juguetería
    Alimentos y hospitalidad
    • Bar y pub
    • Restaurante
    • Comida rápida
    • Casa de huéspedes
    • Distribuidora de bebidas
    • Hotel
    Bienes inmuebles
    • Agencia inmobiliaria
    • Estudio de arquitectura
    • Construcción
    • Gestión de bienes inmuebles
    • Jardinería
    • Asociación de propietarios
    Consultoría
    • Firma contable
    • Partner de Odoo
    • Agencia de marketing
    • Bufete de abogados
    • Adquisición de talentos
    • Auditorías y certificaciones
    Manufactura
    • Textil
    • Metal
    • Muebles
    • Comida
    • Cervecería
    • Regalos corporativos
    Salud y ejercicio
    • Club deportivo
    • Óptica
    • Gimnasio
    • Especialistas en bienestar
    • Farmacia
    • Peluquería
    Trades
    • Personal de mantenimiento
    • Hardware y soporte de TI
    • Sistemas de energía solar
    • Zapateros y fabricantes de calzado
    • Servicios de limpieza
    • Servicios de calefacción, ventilación y aire acondicionado
    Otros
    • Organización sin fines de lucro
    • Agencia para la protección del medio ambiente
    • Alquiler de anuncios publicitarios
    • Fotografía
    • Alquiler de bicicletas
    • Distribuidor de software
    Descubre todas las industrias
  • Odoo Community
    Aprende
    • Tutoriales
    • Documentación
    • Certificaciones
    • Capacitación
    • Blog
    • Podcast
    Fortalece la educación
    • Programa educativo
    • Scale Up! El juego empresarial
    • Visita Odoo
    Obtén el software
    • Descargar
    • Compara ediciones
    • Versiones
    Colabora
    • GitHub
    • Foro
    • Eventos
    • Traducciones
    • Conviértete en partner
    • Servicios para partners
    • Registra tu firma contable
    Obtén servicios
    • Encuentra un partner
    • Encuentra un contador
    • Contacta a un consultor
    • Servicios de implementación
    • Referencias de clientes
    • Soporte
    • Actualizaciones
    GitHub YouTube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Solicita una demostración
  • Precios
  • Ayuda

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilidad
  • Inventario
  • PoS
  • Proyectos
  • MRP
All apps
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Debe estar registrado para interactuar con la comunidad.
Todas las publicaciones Personas Insignias
Etiquetas (Ver todo)
odoo accounting v14 pos v15
Acerca de este foro
Ayuda

Internal Server Error after changing __manifest__.py

Suscribirse

Reciba una notificación cuando haya actividad en esta publicación

Se marcó esta pregunta
1 Responder
3893 Vistas
Avatar
German

Hi guys

I successfully installed my add-on and when after I updated the descriptions in my __manifest__.py I no longer can 'update app list' and get a 'Internal Server Error' remote server.
I have tried odoo -u module name -d databasename and it doesn't work, see logs:

/opt/bitnami/python/lib/python3.6/site-packages/pkg_resources/__init__.py:1235: UserWarning: /opt/bitnami/.tmp is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
Running as user 'root' is a security risk.
2018-12-16 08:04:28,409 19927 INFO ? odoo: Odoo version 11.0-20180818
2018-12-16 08:04:28,439 19927 INFO ? odoo: addons paths: ['/opt/bitnami/apps/odoo/.local/addons/11.0', '/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/addons']
2018-12-16 08:04:28,439 19927 INFO ? odoo: database: default@default:default
2018-12-16 08:04:28,461 19927 INFO ? odoo.sql_db: Connection to the database failed
Traceback (most recent call last):
  File "/opt/bitnami/apps/odoo/bin/odoo", line 4, in <module>
    __import__('pkg_resources').run_script('odoo==11.0.post20180818', 'odoo')
  File "/opt/bitnami/python/lib/python3.6/site-packages/pkg_resources/__init__.py", line 658, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/opt/bitnami/python/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1438, in run_script
    exec(code, namespace, namespace)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/EGG-INFO/scripts/odoo", line 8, in <module>
    odoo.cli.main()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/cli/command.py", line 60, in main
    o.run(args)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/cli/server.py", line 175, in run
    main(args)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/cli/server.py", line 140, in main
    odoo.service.db._create_empty_database(db_name)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/service/db.py", line 95, in _create_empty_database
    with closing(db.cursor()) as cr:
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/sql_db.py", line 634, in cursor
    return Cursor(self.__pool, self.dbname, self.dsn, serialized=serialized)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/sql_db.py", line 178, in __init__
    self._cnx = pool.borrow(dsn)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/sql_db.py", line 517, in _locked
    return fun(self, *args, **kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/sql_db.py", line 585, in borrow
    **connection_info)
  File "/opt/bitnami/python/lib/python3.6/site-packages/psycopg2-2.7.1-py3.6-linux-x86_64.egg/psycopg2/__init__.py", line 130, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?



when I run: sudo odoo -u modulename
I get the following and the process is hung, no prompt is ever back and have to cancel out:

/opt/bitnami/python/lib/python3.6/site-packages/pkg_resources/__init__.py:1235: UserWarning: /opt/bitnami/.tmp is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).
  warnings.warn(msg, UserWarning)
Running as user 'root' is a security risk.
2018-12-16 07:55:47,804 19905 INFO ? odoo: Odoo version 11.0-20180818
2018-12-16 07:55:47,805 19905 INFO ? odoo: addons paths: ['/opt/bitnami/apps/odoo/.local/addons/11.0', '/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/addons']
2018-12-16 07:55:47,805 19905 INFO ? odoo: database: default@default:default
Exception in thread odoo.service.httpd:
Traceback (most recent call last):
  File "/opt/bitnami/python/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/opt/bitnami/python/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/service/server.py", line 251, in http_thread
    self.httpd = ThreadedWSGIServerReloadable(self.interface, self.port, app)
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/service/server.py", line 103, in __init__
    handler=RequestHandler)
  File "/opt/bitnami/python/lib/python3.6/site-packages/Werkzeug-0.12.2-py3.6.egg/werkzeug/serving.py", line 504, in __init__
    HTTPServer.__init__(self, (host, int(port)), handler)
  File "/opt/bitnami/python/lib/python3.6/socketserver.py", line 453, in __init__
    self.server_bind()
  File "/opt/bitnami/apps/odoo/lib/odoo-11.0.post20180818-py3.6.egg/odoo/service/server.py", line 113, in server_bind
    super(ThreadedWSGIServerReloadable, self).server_bind()
  File "/opt/bitnami/python/lib/python3.6/http/server.py", line 136, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/opt/bitnami/python/lib/python3.6/socketserver.py", line 467, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use
Warn: Can't find .pfb for face 'Times-Roman'
2018-12-16 07:55:47,944 19905 INFO ? odoo.addons.base.ir.ir_actions_report: You need Wkhtmltopdf to print a pdf version of the reports.

Does anyone have any ideas?

Thanks

0
Avatar
Descartar
Avatar
Hazem Mahmoud (Rising Systems AG)
Mejor respuesta

Hi German

Was it working before your changes in the mainfest file? if yes, you can simply delete your changes and restart odoo service again to see if the problem was in the changing you have made 

If it worked after deleting your changes, then the problem was most probably in the syntax of the description you have made in the mainfest, otherwise I think the problem in the connection of the database, make sure you are running in the correct .conf file and you have correctly set your database connection

Let me know 

Regards,

Hazem

0
Avatar
Descartar
¿Le interesa esta conversación? ¡Participe en ella!

Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.

Registrarse
Comunidad
  • Tutoriales
  • Documentación
  • Foro
Código abierto
  • Descargar
  • GitHub
  • Runbot
  • Traducciones
Servicios
  • Alojamiento en Odoo.sh
  • Soporte
  • Actualizaciones del software
  • Desarrollos personalizados
  • Educación
  • Encuentra un contador
  • Encuentra un partner
  • Conviértete en partner
Sobre nosotros
  • Nuestra empresa
  • Activos de marca
  • Contáctanos
  • Empleos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidad
  • Seguridad
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo es un conjunto de aplicaciones de código abierto que cubren todas las necesidades de tu empresa: CRM, comercio electrónico, contabilidad, inventario, punto de venta, gestión de proyectos, etc.

La propuesta única de valor de Odoo es ser muy fácil de usar y estar totalmente integrado.

Sitio web hecho con

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now