Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-827

Client error logdir path not set correctly

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 0.6.0
    • Client, Reliability
    • None

    Description

      log(ERROR): Unknown error: 'NoneType' object has no attribute 'startswith'
      Traceback (most recent call last):
        File "/opt/twitter/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
          "__main__", fname, loader, pkg_name)
        File "/opt/twitter/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
          exec code in run_globals
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/__main__.py", line 24, in <module>
          bootstrap_pex(__entry_point__)
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/.bootstrap/_twitter_common_python/pex_bootstrapper.py", line 47, in bootstrap_pex
          pex.PEX(entry_point).execute()
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/.bootstrap/_twitter_common_python/pex.py", line 137, in execute
          self.execute_entry(entry_point, args)
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/.bootstrap/_twitter_common_python/pex.py", line 167, in execute_entry
          runner(entry_point)
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/.bootstrap/_twitter_common_python/pex.py", line 190, in execute_pkg_resources
          runner()
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/twitter/aurora/client/cli_internal/client.py", line 225, in proxy_main
          sys.exit(bridge.execute(sys.argv))
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/.deps/apache.aurora.clientv2-0.5.1_DEV1412893905-py2.7.egg/apache/aurora/client/cli/bridge.py", line 89, in execute
          return cl.execute(args)
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/twitter/aurora/client/cli_internal/client.py", line 195, in execute
          return self.commandline.execute(args[1:])
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/.deps/apache.aurora.clientv2-0.5.1_DEV1412893905-py2.7.egg/apache/aurora/client/cli/__init__.py", line 453, in execute
          self.dump_error_log(args, exc_type, exc_value, exc_traceback)
        File "/Users/csaid/.tools-cache/home/aurora/tools/client/libexec/aurora-client/.deps/apache.aurora.clientv2-0.5.1_DEV1412893905-py2.7.egg/apache/aurora/client/cli/__init__.py", line 433, in dump_error_log
          dir = os.path.expanduser(Context.get_error_log_dir())
        File "/opt/twitter/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 261, in expanduser
          if not path.startswith('~'):
      AttributeError: 'NoneType' object has no attribute 'startswith'
      

      Attachments

        Issue Links

          Activity

            People

              yasumoto Joe Smith
              yasumoto Joe Smith
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: