Skip to content

Instantly share code, notes, and snippets.

2020-11-25 14:39:44,950 387263 INFO epi12 werkzeug: 127.0.0.1 - - [25/Nov/2020 14:39:44] "POST /report/aeroo/api_labsample_request/1?context=%7B%22lang%22%3A%22es_ES%22%2C%22tz%22%3Afalse%2C%22uid%22%3A80%2C%22active_model%22%3A%22epi.lab.sample%22%2C%22search_disable_custom_filters%22%3Atrue%2C%22active_id%22%3A1%2C%22active_ids%22%3A%5B1%5D%7D HTTP/1.1" 500 - 3 0.001 3.656
2020-11-25 14:39:44,958 387263 ERROR epi12 werkzeug: Error on request:
Traceback (most recent call last):
File "/home/palichis/.virtualenvs/odoo13/lib/python3.7/site-packages/werkzeug/serving.py", line 270, in run_wsgi
execute(self.server.app)
File "/home/palichis/.virtualenvs/odoo13/lib/python3.7/site-packages/werkzeug/serving.py", line 258, in execute
application_iter = app(environ, start_response)
File "/home/palichis/code/odoo12/odoo/service/server.py", line 434, in app
return self.app(e, s)
File "/home/palichis/code/odoo12/odoo/service/wsgi_server.py", line 142, in application
stages:
- dev
analisis_SAST:
stage: dev
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
allow_failure: false
services:
- docker:stable-dind
@palichis
palichis / txt
Created June 22, 2017 14:13
error gunicorm
Traceback (most recent call last):
File "/usr/bin/gunicorn", line 9, in <module>
load_entry_point('gunicorn==0.14.6', 'console_scripts', 'gunicorn')()
File "/usr/lib/python2.6/site-packages/gunicorn-0.14.6-py2.6.egg/gunicorn/app/wsgiapp.py", line 32, in run
WSGIApplication("%prog [OPTIONS] APP_MODULE").run()
Arbiter(self).run()
File "/usr/lib/python2.6/site-packages/gunicorn-0.14.6-py2.6.egg/gunicorn/arbiter.py", line 185, in run
self.halt(reason=inst.reason, exit_status=inst.exit_status)
File "/usr/lib/python2.6/site-packages/gunicorn-0.14.6-py2.6.egg/gunicorn/arbiter.py", line 280, in halt
self.stop()
@palichis
palichis / quipux.py
Created September 13, 2016 14:24
uso herramienta splinter
# -*- coding: utf-8 -*-
import hashlib
from splinter import Browser
clean_password = 'clave quipux'
clean_pss = hashlib.md5(clean_password)
password = clean_pss.hexdigest()
with Browser() as browser:
url = 'http://cap.gestiondocumental.gob.ec/index.php'
@palichis
palichis / employee.xml
Created September 22, 2015 18:02
employee view
<record model="ir.ui.view" id="view_employee_modified_form">
<field name="name">hr.employee.modified.form</field>
<field name="model">hr.employee</field>
<field name="type">form</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<field name="company_id" position="replace">
<field name="company_id" invisible="1"/>
<field name="work_email" widget="email" colspan="3"/>
</field>