SAFE Network Dev Update - April 2, 2020

Fresh install to laptop with no SAFE history Linux Mint 19.3

Initial errors looking for ~/bin !?

I’m not sure where it was intending on this system atm /usr/local/bin /opt are looking like they would need sudo to create some user writable.

$ ./safe-network-app-v0.0.6-alpha.15-linux-x64.AppImage  
(node:10252) DeprecationWarning: file property is deprecated and will be removed in v5.
(node:10252) DeprecationWarning: file property is deprecated and will be removed in v5.
(node:10252) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(node:10252) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
find: ‘/home/davidpbrown/bin’: No such file or directory
18:04:23.928%c › {
  constructor: 'Error',
  status: 1,
  signal: null,
  output: [
    null,
    '',
    'find: ‘/home/davidpbrown/bin’: No such file or directory\n'
  ],
  pid: 10297,
  stdout: '',
  stderr: 'find: ‘/home/davidpbrown/bin’: No such file or directory\n',
  stack: "Error: Command failed: find /home/davidpbrown/bin -name 'safe-browser-v*alpha*'\n" +
    'find: ‘/home/davidpbrown/bin’: No such file or directory\n' +
    '\n' +
    '    at checkExecSyncError (child_process.js:634:11)\n' +
    '    at execSync (child_process.js:670:15)\n' +
    '    at Object (electron/js2c/asar.js:696:23)\n' +
    '    at getLocalLinuxAppImageName (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:1903:20)\n' +
    '    at getApplicationExecutable (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:1967:34)\n' +
    '    at getInstalledLocation (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:1992:33)\n' +
    '    at Object.checkAppsForUpdate (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4261:25)\n' +
    '    at forEach (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4414:24)\n' +
    '    at Array.forEach (<anonymous>)\n' +
    '    at setupIPCListeners (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4412:24)\n' +
    '    at App.<anonymous> (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4532:5)\n' +
    '    at App.emit (events.js:208:15)'
}
find: ‘/home/davidpbrown/bin’: No such file or directory
18:04:25.144%c › {
  constructor: 'Error',
  status: 1,
  signal: null,
  output: [
    null,
    '',
    'find: ‘/home/davidpbrown/bin’: No such file or directory\n'
  ],
  pid: 10331,
  stdout: '',
  stderr: 'find: ‘/home/davidpbrown/bin’: No such file or directory\n',
  stack: "Error: Command failed: find /home/davidpbrown/bin -name 'safe-browser-v*alpha*'\n" +
    'find: ‘/home/davidpbrown/bin’: No such file or directory\n' +
    '\n' +
    '    at checkExecSyncError (child_process.js:634:11)\n' +
    '    at execSync (child_process.js:670:15)\n' +
    '    at Object (electron/js2c/asar.js:696:23)\n' +
    '    at getLocalLinuxAppImageName (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:1903:20)\n' +
    '    at getLocalAppVersion (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:2017:26)\n' +
    '    at Object.checkAppsForUpdate (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4264:26)\n' +
    '    at forEach (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4414:24)\n' +
    '    at Array.forEach (<anonymous>)\n' +
    '    at setupIPCListeners (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4412:24)\n' +
    '    at App.<anonymous> (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4532:5)\n' +
    '    at App.emit (events.js:208:15)'
}
find: ‘/home/davidpbrown/bin’: No such file or directory
18:04:25.207%c › {
  constructor: 'Error',
  status: 1,
  signal: null,
  output: [
    null,
    '',
    'find: ‘/home/davidpbrown/bin’: No such file or directory\n'
  ],
  pid: 10333,
  stdout: '',
  stderr: 'find: ‘/home/davidpbrown/bin’: No such file or directory\n',
  stack: "Error: Command failed: find /home/davidpbrown/bin -name 'safe-cli-v*alpha*'\n" +
    'find: ‘/home/davidpbrown/bin’: No such file or directory\n' +
    '\n' +
    '    at checkExecSyncError (child_process.js:634:11)\n' +
    '    at execSync (child_process.js:670:15)\n' +
    '    at Object (electron/js2c/asar.js:696:23)\n' +
    '    at getLocalLinuxAppImageName (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:1903:20)\n' +
    '    at getLocalAppVersion (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:2017:26)\n' +
    '    at Object.checkAppsForUpdate (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4264:26)\n' +
    '    at forEach (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4414:24)\n' +
    '    at Array.forEach (<anonymous>)\n' +
    '    at setupIPCListeners (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4412:24)\n' +
    '    at App.<anonymous> (/tmp/.mount_safe-nX4pjvM/resources/app.asar/app/webpack:/app/main.prod.js:4532:5)\n' +
    '    at App.emit (events.js:208:15)'
}
(electron) 'setResizable function' is deprecated and will be removed. Please use 'resizable property' instead.
(electron) 'setMovable function' is deprecated and will be removed. Please use 'movable property' instead.

most of that above rapid, then a pause before the last two electron lines.

snapp Download progress

So, the [Safe Authenticator process not installed].[Install now] seemed to jump to install the CLI and then notionally thrid step was to install the browser.

The downloading clockwise wrap to the pause button, is a nice idea but it is of a kind that really should be a secondary indicator: the colour is not obvious enough… espcially if very little progress has been made; the CLI is relatively fast but the browser was slow; perhaps much larger… if that is the only indicator, user might well miss that it is doing its ting. So, I’d suggest ye olde numeric % that cannot be missed. At least make the colour wrap progressor bright.

snapp [Pin to Menu Bar] should be default off.

As above image shows, the position underlaps on auto hiding tool bar

[Create Account] is hidden to a new user

and they would be the one who needs it.

Snapp [SAFE CLI Alpha].[Open] doesn’t work to open a terminal.

There perhaps are different methods that need testing for desktop environment?
mate-terminal -e command
gnome-terminal -e command
xterm -e command
kconsole -e command
First one works for me because I have Mate not kde or other.

long paws

SAFE Browser does launch, after a long pause (on this 3.5GB older laptop) but too long really for being without an indication in the Snapp that it is trying to open.

Bigger issues with this install

getting stuck now - Snapp Create Account fails and stuck in a loop of trying.
Looking at what is different:

snapp CLI install sees ~/.bashrc is missing its export appended line

as
export PATH=$PATH:/home/davidpbrown/.safe/safe-cli
or similar.

So, associated problems as:
Snapp suggests CLI “Installed” but error on
$ safe --help
does work for new terminals, if the export line has been added.

?CLI install manually is to ~/.safe/cli and different from snapp.

Looking now I see that on my other SAFE environment I have oddly both ~/.safe/cli and ~/.safe/safe-cli whereas the new attempt from snapp only, has ~/.safe/safe-cli

Browser connected?

SAFE Browser doesn’t have an indicator that it is connected… is that deliberate or missing?.. without feedback to the terminal, it’s not obvious what is misfiring.

authd is not installed at ~/.safe/

Despite installing initially, authd is not obvious as .safe/authd/safe-authd
so, “No such file or directory” errors follow from the likes of safe auth start

So, stuck now for at least not having auth installed… and whatever else is required for Browser to make connection.

Now to tidy up!

this has created an unwanted at ~/bin for the browser only it seems
surely that should be at ~/.safe/

Hope that helps

5 Likes