digital-guard / preserv-BR

Digital Preservation of Brazilian metadata of donated maps.
http://git.digital-guard.org/preserv-BR
3 stars 1 forks source link

make me pg_db=ingest20 com problema #143

Closed crebollobr closed 1 year ago

crebollobr commented 1 year ago

Apesar de verificar o procedimento de donor.csv e donorPackage.csv e feito o make load_optim_csv pg_datalake=dl03t_main não consegui achar o problema do make me.

carlos@addressforall:/var/gits/_dg/preserv-BR/data/SP/MogiCruzes/_pk0152.01$ make me pg_db=ingest20 
-- Generating makefile --
cd /var/gits/_dg/preserv/src; make generate_makefile country=BR pack_id=152.1 baseSrcPack=/var/gits/_dg/preserv-BR/data/SP/MogiCruzes/_pk0152.01 baseSrc=/var/gits/_dg output=/tmp/pg_io/tmpfile_BR152.1
make[1]: Entering directory '/var/gits/_dg/preserv/src'
-- Generating makefile in /tmp/pg_io/tmpfile_BR152.1 --
NOTICE:  codec_desc_global : {"srid": "4760"}
NOTICE:  layer : via, method: shp2sql
NOTICE:  codec resultante : {"srid": "4760"}
NOTICE:  codec_extension from method: <NULL>
ERROR:  TypeError: the JSON object must be str, bytes or bytearray, not NoneType
CONTEXT:  Traceback (most recent call last):
  PL/Python function "jsonb_mustache_render", line 4, in <module>
    j = json.loads(i)
  PL/Python function "jsonb_mustache_render", line 338, in loads
PL/Python function "jsonb_mustache_render"
SQL statement "SELECT replace(jsonb_mustache_render(mkme_tpl, optim.jsonb_mustache_prepare(p_yaml)),E'\u130C9',$$\"$$)"
PL/pgSQL function optim.generate_makefile(text,text,text,text,text) line 16 at SQL statement
make[1]: *** [makefile:232: generate_makefile] Error 1
make[1]: Leaving directory '/var/gits/_dg/preserv/src'
make: *** [makefile:42: me] Error 2
crebollobr commented 1 year ago

erro de digitação