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 de brusque com erro #164

Closed crebollobr closed 1 year ago

crebollobr commented 1 year ago

Link https://github.com/digital-guard/preserv-BR/tree/main/data/SC/Brusque/_pk0075.02

Depois de atualizar donor.csv, donatedPack.csv cd /var/gits/_dg/preserv/src make load_optim_csv pg_datalake=dl05s_main cd /var/gits/_dg/preserv-BR/data/SC/Brusque/_pk0075.02 make me pg_db=ingest20 erro

-- Generating makefile --
cd /var/gits/_dg/preserv/src; make generate_makefile country=BR pack_id=75.2 baseSrcPack=/var/gits/_dg/preserv-BR/data/SC/Brusque/_pk0075.02 baseSrc=/var/gits/_dg output=/tmp/pg_io/tmpfile_BR75.2
make[1]: Entering directory '/var/gits/_dg/preserv/src'
-- Generating makefile in /tmp/pg_io/tmpfile_BR75.2 --
NOTICE:  codec_desc_global : {"srid": "32982"}
NOTICE:  layer : via, method: geojson2sql
NOTICE:  codec resultante : {"srid": "32982"}
NOTICE:  codec_extension from method: <NULL>
NOTICE:  layer : geoaddress, method: <NULL>
NOTICE:  codec resultante : {"srid": "32982"}
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:170: generate_makefile] Error 1
make[1]: Leaving directory '/var/gits/_dg/preserv/src'
make: *** [makefile:42: me] Error 2
crebollobr commented 1 year ago

consegui