Ingobernable / kaos155

Programa de analisis de Contratación con la administración pública y relaciones societarias en España.
GNU General Public License v3.0
17 stars 7 forks source link

Falla BOCM 2011 #29

Closed j-lml closed 6 years ago

j-lml commented 6 years ago

Ya había terminado BOE (BOE correcto) pero me falla en BOCM

He lanzado varios años al mismo tiempo y ahora solo me funciona el 2017 Aparte del fallo, ¿hay forma de poder forzar a que rehaga el proceso sin borrar TODAS las tablas?

nota: me da el mismo fallo en varios años

MySQL IP:localhost
PROCESS:BOCM
Anyo:2011
new connection BOCM mysql OK
ERROR http://w3.bocm.es/boletin/CM_Boletin_BOCM/2011/01/01/BOCM-20110101.PDF
delay ok.
/home/data/projects/kaos155/App/node_app/_common.js:183
                                if (data._list.length > 0) {
                                               ^

TypeError: Cannot read property 'length' of undefined
    at /home/data/projects/kaos155/App/node_app/_common.js:183:48
    at /home/data/projects/kaos155/App/node_app/_common.js:84:37
    at /home/data/projects/kaos155/App/node_app/scrap/scr_bocm.js:145:25
    at Timeout._onTimeout (/home/data/projects/kaos155/App/node_app/func_common.js:53:29)
    at ontimeout (timers.js:475:11)
    at tryOnTimeout (timers.js:310:5)
    at Timer.listOnTimeout (timers.js:270:5) 
Softman65 commented 6 years ago

CALL bbdd_kaos155_text.DropTextFromYear(<{_from_year int}>, <{_to_year int}>, <{_type nvarchar(7)}>);

borra los textos del scrap desde un año hasta otro y el tipo de proceso BORME BOE o BOCM

2018-01-11 8:54 GMT+01:00 j-lml notifications@github.com:

Closed #29 https://github.com/Ingobernable/kaos155/issues/29.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Ingobernable/kaos155/issues/29#event-1419224792, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBVe_AktbthralFdePD29J081yTbmDaks5tJb5IgaJpZM4RA-Ju .