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

Basic install and test #3

Open
BlakeGFitch opened this issue Feb 26, 2020 · 0 comments
Open

Basic install and test #3

BlakeGFitch opened this issue Feb 26, 2020 · 0 comments

Comments

@BlakeGFitch
Copy link

BlakeGFitch commented Feb 26, 2020

Hello... I'm trying to use your library. I don't seem to be getting through the install and test on
ubuntu 18. Any advice would be most welcome!

bgf@U18Sing:~/xnat-rest$ node --version
v10.19.0
bgf@U18Sing:~/xnat-rest$ npm --version
6.13.4
bgf@U18Sing:~/xnat-rest$ npm test

> [email protected] test /home/bgf/xnat-rest
> lab -m 24000 -v test.js

Test xnat REST
  ✖ 1) returns true when user information is acquired
  ✖ 2) returns true when user is logged in.
Searching DICOM files
  ✖ 3) returns true when files are found in directory
  ✖ 4) returns true when dicomdump is executed.
  ✖ 5) returns true when get projects.
  ✖ 6) returns true when get project subjects.
  ✖ 7) returns true when get project experiments.
  ✖ 8) returns true when get subject experiments.
true
  ✔ 9) returns true when user is logged out. (5 ms)


Failed tests:

  1) Test xnat REST returns true when user information is acquired:

      xnat.getUsernamePassword is not a function

      at /home/bgf/xnat-rest/test.js:21:21
      at Immediate.setImmediate (/home/bgf/xnat-rest/node_modules/lab/lib/runner.js:672:36)
      at runCallback (timers.js:705:18)
      at tryOnImmediate (timers.js:676:5)
      at processImmediate (timers.js:658:5)
      at process.topLevelDomainCallback (domain.js:126:23)

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