Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 08:50
    renovate[bot] edited #784
  • 08:36
    renovate[bot] edited #119
  • 08:36
    renovate[bot] edited #204
  • 08:36
    renovate[bot] edited #203
  • 01:03

    stencila-ci on gh-pages

    Deploy website - based on ff6ef… (compare)

  • 00:55

    nokome on master

    chore(CLI): Linting (compare)

  • 00:41
    renovate[bot] edited #187
  • 00:11
    renovate[bot] edited #43
  • 00:11
    renovate[bot] edited #187
  • 00:11
    renovate[bot] synchronize #187
  • 00:11

    renovate[bot] on dev

    chore(dependencies): update dev… (compare)

  • 00:08
    renovate[bot] opened #190
  • 00:08

    renovate[bot] on npm-url-parse-vulnerability

    chore(dependencies): update dep… (compare)

  • 00:02

    stencila-ci on gh-pages

    Deploy website - based on 0f684… (compare)

  • May 06 23:55

    dependabot[bot] on npm_and_yarn

    (compare)

  • May 06 23:55
    dependabot[bot] closed #900
  • May 06 23:55
    dependabot[bot] edited #900
  • May 06 23:55
    dependabot[bot] commented #900
  • May 06 23:54
    renovate[bot] edited #784
  • May 06 23:54
    dependabot[bot] edited #900
Nokome Bentley
@nokome
Hey @100ideas :wave: . Thanks for the interest - I'll respond over on Github but feel free to move back here is you want to chat more "realtime"
Finlay Thompson
@finlay
Morning @nokome
The link instruction doesn't work ? I think you need to publish the release or something ?
Nokome Bentley
@nokome
OK, I was just fiddling with release tags - give me 15mins
...and I should have it fixed
Finlay Thompson
@finlay
Okay, different error:
finlay@triage-lab:~$ curl -L https://raw.githubusercontent.com/stencila/nixster/master/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1233  100  1233    0     0   1972      0 --:--:-- --:--:-- --:--:--  1969
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     9    0     9    0     0      5      0 --:--:--  0:00:01 --:--:--     5
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat 'nixster': No such file or directory
Nokome Bentley
@nokome
OK, works again now.
Can you please give it another try
Finlay Thompson
@finlay
Okay, another error, this time related to curl and ssl certificates!
Let me have a look see...
Finlay Thompson
@finlay
hmm, I made it work with --insecure flag on the curl
That is not a fix you want to check in though
Nokome Bentley
@nokome
Mmmm, are you behind that corporate firewall again?
Finlay Thompson
@finlay
Yes. I'll try on my laptop too
I get this message: "This site has been blocked according to MBIE Internet Usage Policy."
oh well
Nokome Bentley
@nokome
But you've got the binary installed?
Finlay Thompson
@finlay
not yet
Nokome Bentley
@nokome
Oh right, I thought the --insecure flag worked
Finlay Thompson
@finlay
no, it moved the problem to the next level
Now I am getting blocked on the API rate limit at Github!
on my laptop, which is not on the corporate network...
Nokome Bentley
@nokome
Right - well you could just use the "manual" instructions https://github.com/stencila/nixster#linux
Finlay Thompson
@finlay
okay, so the guest wifi was also blocked because of the API limits at Github. Presumably many people hitting the github api all the time from a big organisation
all being seen from one, non-authenticated, IP address
I'll try the manual instructions...
Nokome Bentley
@nokome
Wow, lots of roadblocks :construction: !
Finlay Thompson
@finlay
No, can't do a manual download on the MBIE network
Blocked because: "Your request was denied because of its content categorization: "MED Safe Sites;Software Downloads;Content Servers""
Guess its the "Software Downloads" bit
Finlay Thompson
@finlay
Okay, got the binary onto the computer. Now I get a more serious error:
finlay@triage-lab:~$ nixster --help
pkg/prelude/bootstrap.js:1185
      throw error;
      ^

Error: Cannot find module '../build/better_sqlite3.node'
1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
    at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1287:46)
    at Function.Module._load (internal/modules/cjs/loader.js:506:25)
    at Module.require (internal/modules/cjs/loader.js:635:17)
    at Module.require (pkg/prelude/bootstrap.js:1166:31)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/snapshot/nixster/node_modules/better-sqlite3/lib/database.js:5:21)
    at Module._compile (pkg/prelude/bootstrap.js:1261:22)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:710:10)
    at Module.load (internal/modules/cjs/loader.js:598:32)
That looks like it needs to have a access to a sqlite3 db somewhere ?
-rwxr-xr-x 1 finlay finlay 56M May 16 10:45 /usr/local/bin/nixster
Does that look to be right size ?
hmm, annoyingly it works fine on my 16.04 laptop...
with the exact same file
Nokome Bentley
@nokome
I'll check...
Nokome Bentley
@nokome
I get the same size as you...now wondering about that sqlite3 issue
it looks like it can't find the binary node module that provides the sqlite bindings
Finlay Thompson
@finlay
yeah, which I would need to install globally ?
Nokome Bentley
@nokome
no, it should come in the nixster binary and get unpacked
Finlay Thompson
@finlay
okay, so it is not just the binary...
Nokome Bentley
@nokome
Can you please ls .local/bin/node_modules

This is what I get:

> ls .local/bin/node_modules
better-sqlite3/  integer/  node-pty/

Those modules (which have native binaries) are unpacked when you first run the nixster binary (we need to put them in a better place)

Finlay Thompson
@finlay
Okay, I worked out what the problem is.....
So if I run it in .local/bin it unpacks the files into .local/bin/
but, I put the file into /user/local/bin/
and it couldn't do that
file permissions etc.