Self-Auth, Rest-API, Vaults etc now Functional against actual network!

Just another reason for ditching Windows and moving to Linux :wink:

4 Likes

Trying some basics on OpenSuSE 13.2 x64, here, installed rust nightly via their script.

/usr/local/bin/rustc -V
rustc 1.4.0-nightly (cd138dc44 2015-09-02)
/usr/local/bin/cargo -V
cargo 0.5.0-nightly (4bc0456 2015-09-02)

Needed to install libsodium on OpenSuSE 13.2, giving me rpm packages installed

libsodium13-1.0.0-1.1.x86_64
libsodium-devel-1.0.0-1.1.x86_64

and fetched the two release .zip from
https://github.com/maidsafe/safe_vault/archive/0.1.5.zip
https://github.com/maidsafe/safe_client/archive/0.1.5.zip

unpacked them resulting in

drwxr-xr-x 7 testuser users 4096 Sep 3 14:20 safe_vault-0.1.5
drwxr-xr-x 5 testuser users 4096 Sep 3 14:28 safe_client-0.1.5

allowed me to build and start safe_vault first via:

cargo run --release – --first

displaying output lines

  Compiling cookie v0.1.21
  Compiling hyper v0.6.13
  Compiling igd v0.1.3
  Compiling crust v0.2.11
  Compiling routing v0.3.8
  Compiling safe_vault v0.1.5 (file:///home/testuser/maidsafe.org/experimental/safe_vault-0.1.5)
    Running `target/release/safe_vault --first`

But the display stops there and never displays anything after that in that console window, same behavior to the other second and third vault instances over in their respective consoles, only outputting there:

testuser@linux-x64:~/maidsafe.org/experimental/safe_vault-0.1.5> cargo run --release
Running target/release/safe_vault

The safe client builds and starts and runs, but never continues past Trying to create account…
(btw, it didnt take the --features “USE_ACTUAL_ROUTING” at all, I needed to omit that)

Compiling igd v0.1.3
Compiling crust v0.2.11
Compiling routing v0.3.8
Compiling safe_client v0.1.5 (file:///home/testuser/maidsafe.org/experimental/safe_client-0.1.5)
Running target/debug/examples/self_authentication

Do you already have an account created (enter Y for yes) ?
n

    Account Creation
    ================

------------ Enter Keyword ---------------
testuserkeyword

------------ Enter Password --------------
testuserpassword

--------- Enter PIN (4 Digits) -----------
1234

Trying to create an account …

Am I missing anything? Thanks.

Currently I get errors on cargo build in ~/maidsafe.org/safe_vault>

git log -n 1

commit 6f54d9bedf98d29b4257605c7c681b7ebd81c41c
Merge: 0130b52 21653d2
Author: Fraser Hutchison fraser.hutchison@maidsafe.net
Date: Thu Sep 17 08:58:50 2015 +0100
Merge pull request #248 from maqi/MAID-1324_churn_verification
MAID-1324_churn_verification

cargo build


Compiling routing v0.3.8
Compiling safe_vault v0.1.6 (file:///home/testuser/maidsafe.org/safe_vault)
src/data_manager/mod.rs:31:9: 31:52 error: unresolved import routing::Authority::NaeManager. Could not find Authority in routing [E0432]
src/data_manager/mod.rs:31 pub use routing::Authority::NaeManager as Authority;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/data_manager/mod.rs:31:9: 31:52 help: run rustc --explain E0432 to see a detailed explanation
src/maid_manager/mod.rs:22:9: 22:55 error: unresolved import routing::Authority::ClientManager. Could not find Authority in routing [E0432]
src/maid_manager/mod.rs:22 pub use routing::Authority::ClientManager as Authority;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/maid_manager/mod.rs:22:9: 22:55 help: run rustc --explain E0432 to see a detailed explanation
src/pmid_manager/mod.rs:22:9: 22:53 error: unresolved import routing::Authority::NodeManager. Could not find Authority in routing [E0432]
src/pmid_manager/mod.rs:22 pub use routing::Authority::NodeManager as Authority;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pmid_manager/mod.rs:22:9: 22:53 help: run rustc --explain E0432 to see a detailed explanation
src/pmid_node/mod.rs:20:9: 20:53 error: unresolved import routing::Authority::ManagedNode. Could not find Authority in routing [E0432]
src/pmid_node/mod.rs:20 pub use routing::Authority::ManagedNode as Authority;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/pmid_node/mod.rs:20:9: 20:53 help: run rustc --explain E0432 to see a detailed explanation
src/sd_manager/mod.rs:22:9: 22:52 error: unresolved import routing::Authority::NaeManager. Could not find Authority in routing [E0432]
src/sd_manager/mod.rs:22 pub use routing::Authority::NaeManager as Authority;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sd_manager/mod.rs:22:9: 22:52 help: run rustc --explain E0432 to see a detailed explanation
error: aborting due to 5 previous errors
Could not compile safe_vault.