{"action":"created","issue":{"url":"https://api.github.com/repos/ganga-devs/ganga/issues/686","repository_url":"https://api.github.com/repos/ganga-devs/ganga","labels_url":"https://api.github.com/repos/ganga-devs/ganga/issues/686/labels{/name}","comments_url":"https://api.github.com/repos/ganga-devs/ganga/issues/686/comments","events_url":"https://api.github.com/repos/ganga-devs/ganga/issues/686/events","html_url":"https://github.com/ganga-devs/ganga/issues/686","id":166581408,"number":686,"title":"Difficulty setting up Vanilla DIRAC job","user":{"login":"alexanderrichards","id":4686942,"avatar_url":"https://avatars.githubusercontent.com/u/4686942?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderrichards","html_url":"https://github.com/alexanderrichards","followers_url":"https://api.github.com/users/alexanderrichards/followers","following_url":"https://api.github.com/users/alexanderrichards/following{/other_user}","gists_url":"https://api.github.com/users/alexanderrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderrichards/subscriptions","organizations_url":"https://api.github.com/users/alexanderrichards/orgs","repos_url":"https://api.github.com/users/alexanderrichards/repos","events_url":"https://api.github.com/users/alexanderrichards/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderrichards/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ganga-devs/ganga/labels/help%20wanted","name":"help wanted","color":"bfe5bf"},{"url":"https://api.github.com/repos/ganga-devs/ganga/labels/question","name":"question","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-20T13:29:43Z","updated_at":"2016-07-20T13:57:53Z","closed_at":null,"body":"I think since this seems to be a credential problem that maybe @milliams is the best person to answer this but after just checking out the head of develop I get the following:\r\n\r\n```python\r\n[14:24:01]\r\nGanga In [5]: j=Job(backend=Dirac())\r\n\r\n[14:24:04]\r\nGanga In [6]: j.submit()\r\nINFO     submitting job 62\r\nINFO     job 62 status changed to \"submitting\"\r\nINFO     Preparing Executable application.\r\nINFO     Created shared directory: conf-8fd0f3b6-4fc7-4531-b47d-47344c745a37\r\nINFO     Preparing subjobs\r\nINFO     Setting Command to be: '['echo', 'Hello World']'\r\nINFO     submitting job 62 to Dirac backend\r\nWARNING  ---------- error in user/extension code ----------\r\nWARNING  Traceback (most recent call last):\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/Ganga/GPIDev/Adapters/IBackend.py\", line 181, in master_submit\r\nWARNING      if b.submit(sc, master_input_sandbox):\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Backends/DiracBase.py\", line 225, in submit\r\nWARNING      return self._common_submit(dirac_script_filename)\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Backends/DiracBase.py\", line 148, in _common_submit\r\nWARNING      result = execute(dirac_cmd)\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Utilities/DiracUtilities.py\", line 243, in execute\r\nWARNING      env = getDiracEnv()\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Utilities/DiracUtilities.py\", line 42, in getDiracEnv\r\nWARNING      DIRAC_ENV = get_env(source_command)\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Utilities/DiracUtilities.py\", line 62, in get_env\r\nWARNING      execute('source {0}'.format(env_source), shell=True, env=env, update_env=True)\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Utilities/DiracUtilities.py\", line 248, in execute\r\nWARNING      _checkProxy(force = True)\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Utilities/DiracUtilities.py\", line 208, in _checkProxy\r\nWARNING      _dirac_check_proxy( renew, shouldRaise )\r\nWARNING    File \"/home/hep/arichard/git/ganga/python/GangaDirac/Lib/Utilities/DiracUtilities.py\", line 169, in _dirac_check_proxy\r\nWARNING      _isValid = proxy.isValid()\r\nWARNING  AttributeError: 'bool' object has no attribute 'isValid'\r\nWARNING  --------------------------------------------------\r\nERROR    JobManagerError: error during submit\r\nERROR    JobManagerError: error during submit ... reverting job 62 to the new status\r\nINFO     job 62 status changed to \"new\"\r\nERROR    Error: JobError: Error: JobManagerError: error during submit\r\n```\r\n\r\n\r\nTo avoid the LCG GLITE warnings I follow the startup suggestion and set\r\n```ini\r\n[LCG]\r\nGLITE_ENABLE = False\r\n```\r\n\r\nI also have the following DIRAC setup\r\n```ini\r\n[DIRAC]\r\nuserVO = gridpp\r\nDiracEnvSource = /home/hep/arichard/dirac_ui/bashrc\r\n```\r\n\r\nany ideas why it thinks that proxy is a `bool`?"},"comment":{"url":"https://api.github.com/repos/ganga-devs/ganga/issues/comments/233956973","html_url":"https://github.com/ganga-devs/ganga/issues/686#issuecomment-233956973","issue_url":"https://api.github.com/repos/ganga-devs/ganga/issues/686","id":233956973,"user":{"login":"alexanderrichards","id":4686942,"avatar_url":"https://avatars.githubusercontent.com/u/4686942?v=3","gravatar_id":"","url":"https://api.github.com/users/alexanderrichards","html_url":"https://github.com/alexanderrichards","followers_url":"https://api.github.com/users/alexanderrichards/followers","following_url":"https://api.github.com/users/alexanderrichards/following{/other_user}","gists_url":"https://api.github.com/users/alexanderrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanderrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanderrichards/subscriptions","organizations_url":"https://api.github.com/users/alexanderrichards/orgs","repos_url":"https://api.github.com/users/alexanderrichards/repos","events_url":"https://api.github.com/users/alexanderrichards/events{/privacy}","received_events_url":"https://api.github.com/users/alexanderrichards/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T13:57:53Z","updated_at":"2016-07-20T13:57:53Z","body":"I tried adding the `[LCG]VirtualOrganisation` option that you mention and I get the same error. If I remove the `GLITE_ENABLE = False` option but keep the former then I also get the same error except when starting ganga I also see:\r\n\r\n```python\r\nWARNING  Configuration of GLITE for LCG: \r\nWARNING  File not found: /afs/cern.ch/sw/ganga/install/config/grid_env_auto.sh\r\n```\r\nwhich since GLITE is enabled seems proper"}}
{"actor":{"display_login":"alexanderrichards"}}