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

In some cases, barista loses group information after refresh (group dropdown / selection not available after login) #569

Closed
BarbaraCzub opened this issue Aug 7, 2018 · 19 comments

Comments

@BarbaraCzub
Copy link

When I was making GO-CAM models, which I refer to in this annotation ticket geneontology/go-annotation#2047, I was not able to select the ARUK-UCL attribution (or any other attribution). The drop-down menu with this option seems to have disappeared. So now all of the models appear to be assigned by GO_Noctua (instead of ARUK-UCL).

cc @RLovering

Here are the model details:

Test for AE and output comparison - case 1 gomodel:5b528b1100000699 http://orcid.org/0000-0002-3898-1727 development 2018-08-07         Edit Form GPAD OWL
Test for AE and output comparison - case 2 gomodel:5b528b1100000729 http://orcid.org/0000-0002-3898-1727 development 2018-08-07         Edit Form GPAD OWL
Test for AE and output comparison - case 3 gomodel:5b528b1100000667 http://orcid.org/0000-0002-3898-1727 development 2018-08-07
@kltm kltm added this to the hotfix milestone Aug 7, 2018
@kltm
Copy link
Member

kltm commented Aug 7, 2018

Wow, that's weird. I can duplicate.
I'm looking into this now.

@kltm kltm changed the title Not possible to select annotation group when making GO-CAM models Groups dropdown not available after login Aug 7, 2018
@kltm
Copy link
Member

kltm commented Aug 7, 2018

Refreshing has no effect (not that it should).
noctua-dev.berkeleybop.org still works as expected.
Will check server logs.

@kltm
Copy link
Member

kltm commented Aug 7, 2018

Possibly a supervisord restart attempt tried to bring up another barista, clobbering or making the running one unhappy?

events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRINUSE :::9090
    at Object._errnoException (util.js:992:11)
    at _exceptionWithHostPort (util.js:1014:20)
    at Server.setupListenHandle [as _listen2] (net.js:1355:14)
    at listenInCluster (net.js:1396:12)
    at Server.listen (net.js:1480:7)
    at VantageServer.vantageServer.init (/home/swdev/local/src/git/noctua/node_modules/vantage/lib/server.js:130:17)
    at Vantage.listen (/home/swdev/local/src/git/noctua/node_modules/vantage/lib/index.js:160:17)
    at new BaristaLauncher (/home/swdev/local/src/git/noctua/barista.js:1311:10)
    at Object.<anonymous> (/home/swdev/local/src/git/noctua/barista.js:2656:15)
    at Module._compile (module.js:652:30)
[13:30:39] 'run-barista' errored after 865 ms
[13:30:39] Error: Command `node barista.js --debug 0 --users ~/local/src/git/go-site/metadata/users.yaml --groups ~/local/src/git/go-site/metadata/groups.yaml --self http://toaster.lbl.gov:3400 --secrets ~/local/src/git/go-internal/barista/ --context go --repl 9090` failed with exit code 1
    at ChildProcess.exithandler (child_process.js:275:12)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:925:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

@kltm
Copy link
Member

kltm commented Aug 7, 2018

Interesting that it was the local vantage server reporting there.

@kltm
Copy link
Member

kltm commented Aug 7, 2018

@BarbaraCzub I seem to have it working again. That was a little odd.
You may have to logout and login again. All of your work should be saved and fine.

@kltm kltm changed the title Groups dropdown not available after login Group dropdown / selection not available after login Aug 7, 2018
@kltm
Copy link
Member

kltm commented Aug 7, 2018

Note that barista was reset, removing all current sessions and resetting temporary position information.

@BarbaraCzub
Copy link
Author

Thank you for fixing this @kltm . The group selection option is back now. However, would it be possible to change my default 'assigned by' field to 'ARUK-UCL'? ( cc @RLovering )

@pgaudet
Copy link

pgaudet commented Aug 8, 2018

I think it has to do with the order in which your groups are listed in the users.yaml file. I dont know if something else needs to happen; can you please test again ?

Thanks, Pascale

@BarbaraCzub
Copy link
Author

BarbaraCzub commented Aug 8, 2018

Hi Pascale, 'BHF-UCL' is still displayed as my default 'assigned by' option.

@BarbaraCzub
Copy link
Author

BarbaraCzub commented Aug 8, 2018

So, while I'm working on a model, even if I select 'ARUK-UCL' to start with, if I need to refresh the page, it always reverts back to 'BHF-UCL'.

@pgaudet
Copy link

pgaudet commented Aug 8, 2018

Did you try logging out and log back in ?

@BarbaraCzub
Copy link
Author

I have now. 'BHF-UCL' is still the default option.

@BarbaraCzub
Copy link
Author

Maybe it could be removed completely from next to my name in the users.yaml file?
(I do not expect I'll need to use it).

@pgaudet
Copy link

pgaudet commented Aug 8, 2018

Sure - but still the order should be taken into account. I'd like to know what the issue is; perhaps this is not immediate.

@BarbaraCzub
Copy link
Author

No, it's not immediate.

@kltm
Copy link
Member

kltm commented Aug 8, 2018

@pgaudet Note: #456
As well, yes--there is always an extra manual step to make sure that problems do not leak into the system.

@kltm
Copy link
Member

kltm commented Aug 8, 2018

I'll put in to do the services restart later today.

@BarbaraCzub
Copy link
Author

BarbaraCzub commented Aug 8, 2018

Thanks @kltm I'll check tomorrow whether my default group has been updated. (Unless 'services restart' is referring to something else?).

@BarbaraCzub
Copy link
Author

Thanks @kltm. My default group has now been updated.

@kltm kltm reopened this Aug 9, 2018
@kltm kltm changed the title Group dropdown / selection not available after login In some cases, barista loses group information after refresh (group dropdown / selection not available after login) Aug 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants