You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Bill Farner (JIRA)" <ji...@apache.org> on 2014/10/21 01:10:36 UTC

[jira] [Updated] (AURORA-827) Client error logdir path not set correctly

     [ https://issues.apache.org/jira/browse/AURORA-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Farner updated AURORA-827:
-------------------------------
    Assignee:     (was: Joe Smith)

> Client error logdir path not set correctly
> ------------------------------------------
>
>                 Key: AURORA-827
>                 URL: https://issues.apache.org/jira/browse/AURORA-827
>             Project: Aurora
>          Issue Type: Story
>          Components: Client, Reliability
>            Reporter: Joe Smith
>            Priority: Blocker
>
> {noformat}
> 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'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)