Hi,
Thanks for your response. I haven’t customized any of the code. I’m just trying to run the geo demo. I get an error when running the loading job. It doesn’t recognise getGridId, so I thought I needed to compile the code but I’m unable to get it to compile. I have run source. ~/.bash_tigergraph
This is a section of the log
[INFO] Start loading /home/tigergraph/tigergraph/loadingData/ca_postcode.csv, LineBatch = 1024, LineOffset = 1, ByteOffset = 72
E0314 03:50:53.765760 11905 ioutil.cpp:201] [ERROR] LoadingCallback response: {“version”:{“edition”:“developer”,“api”:“v2”,“schema”:0},“error”:true,“message”:"/home/tigergraph/tigergraph/bin/TokenBank.so_REST
PP-LOADER_1_1_w0_h1.dir/1584157853763: undefined symbol: getGridId false\n@void* gse2::GSE_GENERIC_LOADER_UTILITY<reader, writer, buffer>::loadFuncP(const string&) [with reader = restpp::PostReader; writer =
topology4::PostWriter; buffer = gse2::GSE_DELTA_BUFFER; std::string = std::basic_string](/opt/builder/workbench/buildcentos652/192.168.11.118/tg_2.5.3_dev/product/src/core/gse/gse2/loader/generic_loader
_utility.hpp:3732)\n\nMyGraph_loadGeo for Graph ‘MyGraph’.",“code”:“REST-30000”}
E0314 03:50:53.765874 11907 ioutil.cpp:201] [ERROR] LoadingCallback response: {“version”:{“edition”:“developer”,“api”:“v2”,“schema”:0},“error”:true,“message”:"/home/tigergraph/tigergraph/bin/TokenBank.so_REST
PP-LOADER_1_1_w0_h2.dir/1584157853763: undefined symbol: getGridId false\n@void* gse2::GSE_GENERIC_LOADER_UTILITY<reader, writer, buffer>::loadFuncP(const string&) [with reader = restpp::PostReader; writer =
topology4::PostWriter; buffer = gse2::GSE_DELTA_BUFFER; std::string = std::basic_string](/opt/builder/workbench/buildcentos652/192.168.11.118/tg_2.5.3_dev/product/src/core/gse/gse2/loader/generic_loader
_utility.hpp:3732)\n\nMyGraph_loadGeo for Graph ‘MyGraph’.",“code”:“REST-30000”}
E0314 03:50:53.766016 11903 ioutil.cpp:201] [ERROR] LoadingCallback response: {“version”:{“edition”:“developer”,“api”:“v2”,“schema”:0},“error”:true,“message”:"/home/tigergraph/tigergraph/bin/TokenBank.so_REST
PP-LOADER_1_1_w0_h0.dir/1584157853763: undefined symbol: getGridId false\n@void* gse2::GSE_GENERIC_LOADER_UTILITY<reader, writer, buffer>::loadFuncP(const string&) [with reader = restpp::PostReader; writer =
topology4::PostWriter; buffer = gse2::GSE_DELTA_BUFFER; std::string = std::basic_string](/opt/builder/workbench/buildcentos652/192.168.11.118/tg_2.5.3_dev/product/src/core/gse/gse2/loader/generic_loader
_utility.hpp:3732)\n\nMyGraph_loadGeo for Graph ‘MyGraph’.",“code”:“REST-30000”}
Opening TokenBank.so
Opening TokenBank.so
Opening TokenBank.so
I can post a full log if you need it.
I tried this as well
tigergraph@d8772f961f41:~/tigergraph/dev/gdk/gsql/src/TokenBank$ g++ TokenBank.cpp
In file included from /home/tigergraph/.syspre/usr/include/stdio.h:27:0,
from TokenBank.cpp:78:
/home/tigergraph/.syspre/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
include <sys/cdefs.h>
^
compilation terminated.
And this
tigergraph@d8772f961f41:~/tigergraph/dev/gdk/gsql/src/TokenBank$ ./compile
In file included from /home/tigergraph/.syspre/usr/include/stdio.h:27:0,
from ./TokenBank.cpp:78:
/home/tigergraph/.syspre/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
include <sys/cdefs.h>
^
compilation terminated.
In file included from /home/tigergraph/.syspre/usr/include/stdio.h:27:0,
from …/TokenLib/TokenLib.hpp:77,
from …/TokenLib/TokenLib.cpp:77:
/home/tigergraph/.syspre/usr/include/features.h:367:25: fatal error: sys/cdefs.h: No such file or directory
include <sys/cdefs.h>
^
compilation terminated.
But no luck
So to recap:
I installed a fresh Dev version of TigerGraph
I followed the instructions in the repo
but can not get past the loading of the edges as the getGridId is ‘undefined’
Thanks
Frank