Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBGrid: Add examples how to list available tools and how to use sbwhich #137

Open
HenrikBengtsson opened this issue Nov 15, 2023 · 0 comments

Comments

@HenrikBengtsson
Copy link
Contributor

HenrikBengtsson commented Nov 15, 2023

There's sbgrid-cli installed for this, but it doesn't work:

[hb-test@dev1 ~]$ sbgrid-cli installed --verbose
WARNING: read-only mode
-------

Found an existing SBGrid installation under /wynton/home/opt/sbgrid/programs, but the current user has limited access.
Only a subset of CLI commands are available. Run `sbgrid-cli help` for more info

debug: DEBUG output is enabled. IM version: 2.9.8
debug: Initializing the logs directory
debug: Initializing the installation client (flavor=sbgrid)
debug: Client parameters: {"logsDir":"/wynton/home/bengtsson/hb-test/.sbgrid/logs","logLevel":"debug","flavor":"sbgrid","baseURL":"https://sbgrid.org","architectures":["x86_64-linux"],"link":"/programs","disableAPICaching":false,"allowReadOnly":true}
debug: SBGrid client initialized
g: Constructor: ConfigParserErrors: File contains no section headers.
file: /wynton/home/bengtsson/hb-test/.sbgrid_installer line: 0
NaN
    at Re.run (/snapshot/sbgrid-client_v2/cli/node_modules/@caporal/core/dist/index.js:1:27912)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:66:3)
    at Function.runMain (pkg/prelude/bootstrap.js:1848:13)
    at internal/main/run_main_module.js:17:47 {
  meta: {
    error: Error: Constructor: ConfigParserErrors: File contains no section headers.
    file: /wynton/home/bengtsson/hb-test/.sbgrid_installer line: 0
    NaN
        at ConfigParserErrors.missingSectionHeaderError (/snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/parser-errors.js:56:16)
        at /snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/config-parser.js:133:64
        at Array.forEach (<anonymous>)
        at ConfigParser.read (/snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/config-parser.js:122:15)
        at UserConfig.getSyncServer (/snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/index.js:73:16)
        at new SBGridClient (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:136:39)
        at Function.<anonymous> (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:167:34)
        at step (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:33:23)
        at Object.next (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:14:53)
        at fulfilled (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:5:58)
  }
}

error: Constructor: ConfigParserErrors: File contains no section headers.
       file: /wynton/home/bengtsson/hb-test/.sbgrid_installer line: 0
       NaN

/snapshot/sbgrid-client_v2/cli/dist/cli.js:112
                        throw error;
                        ^

g: Constructor: ConfigParserErrors: File contains no section headers.
file: /wynton/home/bengtsson/hb-test/.sbgrid_installer line: 0
NaN
    at Re.run (/snapshot/sbgrid-client_v2/cli/node_modules/@caporal/core/dist/index.js:1:27912)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:66:3)
    at Function.runMain (pkg/prelude/bootstrap.js:1848:13)
    at internal/main/run_main_module.js:17:47 {
  meta: {
    error: Error: Constructor: ConfigParserErrors: File contains no section headers.
    file: /wynton/home/bengtsson/hb-test/.sbgrid_installer line: 0
    NaN
        at ConfigParserErrors.missingSectionHeaderError (/snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/parser-errors.js:56:16)
        at /snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/config-parser.js:133:64
        at Array.forEach (<anonymous>)
        at ConfigParser.read (/snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/config-parser.js:122:15)
        at UserConfig.getSyncServer (/snapshot/sbgrid-client_v2/core/dist/corelib/package_manager/config/index.js:73:16)
        at new SBGridClient (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:136:39)
        at Function.<anonymous> (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:167:34)
        at step (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:33:23)
        at Object.next (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:14:53)
        at fulfilled (/snapshot/sbgrid-client_v2/core/dist/corelib/client.js:5:58)
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant