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

whoami throws exception #188

Open
kadrlica opened this issue Dec 5, 2022 · 0 comments
Open

whoami throws exception #188

kadrlica opened this issue Dec 5, 2022 · 0 comments

Comments

@kadrlica
Copy link
Collaborator

kadrlica commented Dec 5, 2022

I'm running easyaccess v1.4.7 on Scientific Linux. This is as user delve_reader from the DECADE database

DECADE ~> whoami
Traceback (most recent call last):
  File "/cvmfs/des.opensciencegrid.org/fnal/anaconda2/envs/des20a/bin/easyaccess", line 3, in <module>
    ea.cli()
  File "/cvmfs/des.opensciencegrid.org/fnal/anaconda2/envs/des20a/lib/python3.7/site-packages/easyaccess/easyaccess.py", line 1345, in cli
    refresh=not args.norefresh).cmdloop()
  File "/cvmfs/des.opensciencegrid.org/fnal/anaconda2/envs/des20a/lib/python3.7/site-packages/easyaccess/easyaccess.py", line 302, in cmdloop
    stop = self.onecmd(line)
  File "/cvmfs/des.opensciencegrid.org/fnal/anaconda2/envs/des20a/lib/python3.7/cmd.py", line 217, in onecmd
    return func(arg)
  File "/cvmfs/des.opensciencegrid.org/fnal/anaconda2/envs/des20a/lib/python3.7/site-packages/easyaccess/eautils/des_utils.py", line 202, in do_whoami
    self.query_and_print(sql_getUserDetails, print_time=False, clear=True)
UnboundLocalError: local variable 'sql_getUserDetails' referenced before assignment

Connecting as kadrlica to DESOPER or DESSCI I get

DESSCI ~> whoami

<class 'cx_Oracle.DatabaseError'>
ORA-01031: insufficient privileges
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