CSIRO-enviro-informatics / ldrpyutils

Python utils for the Linked Data Registry
https://csiro-enviro-informatics.github.io/ldrpyutils
Other
3 stars 3 forks source link

multi register issue #34

Open meganrwong opened 5 years ago

meganrwong commented 5 years ago

Hello Johnathan @jyucsiro

I had created the register fed-uni and collections within this register via user interface. I then tried to load concepts into the collections via your multi-register Excel2LDR tool and got messages below.

Perhaps you can help me see where these 'blank' register IDs refer to?

I used v1.1.10

current upload is soil fed-uni multi-register02.xlsx

Multi-register is clicked True Creating register procedure in http://registry.it.csiro.au/sandbox/soil/fed-uni Failed to post content to LDR. Bad Request <bound method Response.json of <Response [400]>> Creating register property in http://registry.it.csiro.au/sandbox/soil/fed-uni Failed to post content to LDR. Bad Request <bound method Response.json of <Response [400]>> id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... Creating register object in http://registry.it.csiro.au/sandbox/soil/fed-uni Failed to post content to LDR. Bad Request <bound method Response.json of <Response [400]>> Creating register procedure in http://registry.it.csiro.au/sandbox/soil/fed-uni Failed to post content to LDR. Bad Request <bound method Response.json of <Response [400]>> Creating register property in http://registry.it.csiro.au/sandbox/soil/fed-uni Failed to post content to LDR. Bad Request <bound method Response.json of <Response [400]>> id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... id column is empty. checking if row is empty. row is empty. skipping... Creating register object in http://registry.it.csiro.au/sandbox/soil/fed-uni Failed to post content to LDR. Bad Request <bound method Response.json of <Response [400]>> Traceback (most recent call last): File "Excel2ldrGui.py", line 174, in OnSend File "Excel2ldrGui.py", line 226, in run File "site-packages\ldrpyutils-1.1.10-py3.7.egg\ldrpyutils\core.py", line 99, in load_multi_register_file File "site-packages\ldrpyutils-1.1.10-py3.7.egg\ldrpyutils\core.py", line 279, in build_graph_and_post KeyError: 'http://registry.it.csiro.au/sandbox/soil/fed-uni/procedure'