Tagion SDK - 2020.3 Release

What is Tagion SDK?

Tagion SDK is a cross-platform development kit that makes it easy to develop, test and debug scripts and applications for Tagion network.

What’s included in this release?

In this release, SDK Core modules are available as binaries.

The cross-platform desktop application with GUI is in early stages of development, and the basic usable client will be available starting from next release, 2020.4a1.

 

Have questions?

Feel free to ask questions or suggest your ideas in this thread.

Could you put a direct link to the release guide here? Please

Hey @TheisSimonsen, done, the link is in the post.

Videos on how to install the Tagion dev node were made by me.
Hope they helped you!

2 Likes

Thank you Emil. Added them to the guide.

Hi,
thanks for the project first of all!
Could you publish a built docker image? I’m getting segmentation fault in the container based on the image I built.

Many thanks!

Hi Frank!

Welcome to the forum :slight_smile:

I just rebuilt and checked again, it worked for me.

Now, pushed the image to the docker hub.
Could you please share if it works? I am trying to find what went wrong.

docker run -it tagion/sdk_core

Thank you for reporting!

1 Like

Hi Vlad,

thanks for the quick help! That works now :slight_smile:

I’m using a macbook, that might be the cause… I couldn’t get the binaries executed directly/without docker either.

If helpful, I can share the logging from ‘docker build’ ? But publishing the image directly is better anyways, I think… until open-sourcing of course! :smiley:

2 Likes

Yes, please share the logs, if you can :slight_smile:

Did the segmentation fault happen when you were starting a devnet after a bootstrap?

Yes, exactly devnet command resulted in the error as well as other binaries (hibonutil,tagionutil)
I couldn’t upload a txt file, so please see below.
I have also pushed the image to docker hub, hope it helps: fhohoff/tagion-sdk-core
Thanks

Sending build context to Docker daemon  140.7MB
Step 1/9 : FROM ubuntu:18.04
18.04: Pulling from library/ubuntu
5bed26d33875: Pulling fs layer
f11b29a9c730: Pulling fs layer
930bda195c84: Pulling fs layer
78bf9a5ad49e: Pulling fs layer
78bf9a5ad49e: Waiting
f11b29a9c730: Verifying Checksum
f11b29a9c730: Download complete
930bda195c84: Download complete
78bf9a5ad49e: Verifying Checksum
78bf9a5ad49e: Download complete
5bed26d33875: Verifying Checksum
5bed26d33875: Download complete
5bed26d33875: Pull complete
f11b29a9c730: Pull complete
930bda195c84: Pull complete
78bf9a5ad49e: Pull complete
Digest: sha256:bec5a2727be7fff3d308193cfde3491f8fba1a2ba392b7546b43a051853a341d
Status: Downloaded newer image for ubuntu:18.04
 ---> 4e5021d210f6
Step 2/9 : RUN apt-get update && apt-get install inotify-tools -y && apt-get install openssl -y && apt-get install -y dos2unix
 ---> Running in f5b9b40a101f
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:5 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [37.0 kB]
Get:6 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7904 B]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [835 kB]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [870 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1367 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1161 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [12.2 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [50.4 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2496 B]
Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4247 B]
Fetched 17.7 MB in 2s (8103 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libinotifytools0
The following NEW packages will be installed:
  inotify-tools libinotifytools0
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
Need to get 39.9 kB of archives.
After this operation, 131 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libinotifytools0 amd64 3.14-2 [17.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 inotify-tools amd64 3.14-2 [22.4 kB]
e[91mdebconf: delaying package configuration, since apt-utils is not installed
e[0mFetched 39.9 kB in 0s (629 kB/s)
Selecting previously unselected package libinotifytools0.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 4046 files and directories currently installed.)
Preparing to unpack .../libinotifytools0_3.14-2_amd64.deb ...
Unpacking libinotifytools0 (3.14-2) ...
Selecting previously unselected package inotify-tools.
Preparing to unpack .../inotify-tools_3.14-2_amd64.deb ...
Unpacking inotify-tools (3.14-2) ...
Setting up libinotifytools0 (3.14-2) ...
Setting up inotify-tools (3.14-2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libssl1.1
Suggested packages:
  ca-certificates
The following NEW packages will be installed:
  libssl1.1 openssl
0 upgraded, 2 newly installed, 0 to remove and 12 not upgraded.
Need to get 1913 kB of archives.
After this operation, 5279 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1~18.04.5 [1300 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 openssl amd64 1.1.1-1ubuntu2.1~18.04.5 [613 kB]
e[91mdebconf: delaying package configuration, since apt-utils is not installed
e[0mFetched 1913 kB in 0s (11.5 MB/s)
Selecting previously unselected package libssl1.1:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 4060 files and directories currently installed.)
Preparing to unpack .../libssl1.1_1.1.1-1ubuntu2.1~18.04.5_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.5) ...
Selecting previously unselected package openssl.
Preparing to unpack .../openssl_1.1.1-1ubuntu2.1~18.04.5_amd64.deb ...
Unpacking openssl (1.1.1-1ubuntu2.1~18.04.5) ...
Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.5) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Setting up openssl (1.1.1-1ubuntu2.1~18.04.5) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  dos2unix
0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
Need to get 351 kB of archives.
After this operation, 1267 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 dos2unix amd64 7.3.4-3 [351 kB]
e[91mdebconf: delaying package configuration, since apt-utils is not installed
e[0mFetched 351 kB in 0s (3504 kB/s)
Selecting previously unselected package dos2unix.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 4222 files and directories currently installed.)
Preparing to unpack .../dos2unix_7.3.4-3_amd64.deb ...
Unpacking dos2unix (7.3.4-3) ...
Setting up dos2unix (7.3.4-3) ...
Removing intermediate container f5b9b40a101f
 ---> 6d06e3bc977e
Step 3/9 : WORKDIR /tagion/
 ---> Running in 025dedb20add
Removing intermediate container 025dedb20add
 ---> 8b0ea6eba8eb
Step 4/9 : COPY . .
 ---> f7d46f846236
Step 5/9 : RUN dos2unix /tagion/devnet/bootstrap && dos2unix /tagion/devnet/demo_send && dos2unix /tagion/devnet/devnet
 ---> Running in 59938d868ea6
e[91mdos2unix: converting file /tagion/devnet/bootstrap to Unix format...
e[0me[91mdos2unix: converting file /tagion/devnet/demo_send to Unix format...
e[0me[91mdos2unix: converting file /tagion/devnet/devnet to Unix format...
e[0mRemoving intermediate container 59938d868ea6
 ---> b65d609112a9
Step 6/9 : ENV GODEBUG=cgocheck=0
 ---> Running in fa116440856e
Removing intermediate container fa116440856e
 ---> c16faea742f8
Step 7/9 : ENV PATH="/tagion/devnet:/tagion/wallet:/tagion/utils/dart:/tagion/utils/hibon:/tagion/utils/tagion:${PATH}"
 ---> Running in 8a33e7a0f394
Removing intermediate container 8a33e7a0f394
 ---> 20cf1beec4c8
Step 8/9 : WORKDIR /workspace/
 ---> Running in 6896b0d9ef71
Removing intermediate container 6896b0d9ef71
 ---> 031f88b38ce0
Step 9/9 : CMD bash
 ---> Running in 121d8d2add9c
Removing intermediate container 121d8d2add9c
 ---> 63128930f934
Successfully built 63128930f934
Successfully tagged tagion-sdk-core:latest

Thank you, Frank. I will investigate.