'NoneType' object has no attribute 'update_data'
--
You received this message because you are subscribed to the Google Groups "Hue-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hue-user+unsubscribe@cloudera.org.
Jordan Moore
Staff Consultant | Avalon Consulting, LLC
M: 217 622-5993
LinkedIn | Google+ | Twitter
-------------------------------------------------------------------------------------------------------------
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message. Any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
Okay, was able to reproduce.
[24/Jun/2017 22:32:20 -0500] access INFO 172.28.43.11 jomoore - "POST /notebook/api/close_statement HTTP/1.0"
[24/Jun/2017 22:32:20 -0500] access INFO 172.28.43.11 jomoore - "POST /notebook/api/execute HTTP/1.0"
[24/Jun/2017 22:32:20 -0500] decorators ERROR Error running <function execute at 0x7f5b45922140>
Traceback (most recent call last):
, kwargs={})
[24/Jun/2017 22:32:19 -0500] thrift_util DEBUG Thrift call <class 'TCLIService.TCLIService.Client'>.FetchResults returned in 1ms: TFetchResultsResp(status=TStatus(errorCode=None, errorMessage=None, sq
lState=None, infoMessages=None, statusCode=0), results=TRowSet(rows=[], columns=[TColumn(i32Val=None, byteVal=None, i16Val=None, i64Val=None, stringVal=TStringColumn(nulls='\x00', values=[]), boolVal=None
, doubleVal=None, binaryVal=None)], startRowOffset=0), hasMoreRows=False)
[24/Jun/2017 22:32:19 -0500] thrift_util DEBUG Thrift call: <class 'TCLIService.TCLIService.Client'>.GetResultSetMetadata(args=(TGetResultSetMetadataReq(operationHandle=TOperationHandle(hasResultSet=T
rue, modifiedRowCount=None, operationType=0, operationId=THandleIdentifier(secret='\xe6L\xc0\x0e\xb7mM\xc3\xa9\n\xcd\x82b{x\x93', guid='\xd6\xd8\x17\xfeMkA\x8f\x86H\xc6B)`\\x'))),), kwargs={})
[24/Jun/2017 22:32:19 -0500] thrift_util DEBUG Thrift call <class 'TCLIService.TCLIService.Client'>.GetResultSetMetadata returned in 1ms: TGetResultSetMetadataResp(status=TStatus(errorCode=None, error
Message=None, sqlState=None, infoMessages=None, statusCode=0), schema=TTableSchema(columns=[TColumnDesc(comment=None, columnName='_c0', typeDesc=TTypeDesc(types=[TTypeEntry(mapEntry=None, unionEntry=None,
arrayEntry=None, userDefinedTypeEntry=None, structEntry=None, primitiveEntry=TPrimitiveTypeEntry(typeQualifiers=None, type=7))]), position=1)]))
[24/Jun/2017 22:32:20 -0500] access INFO 172.28.43.11 jomoore - "POST /notebook/api/close_statement HTTP/1.0"
[24/Jun/2017 22:32:20 -0500] access INFO 172.28.43.11 jomoore - "POST /notebook/api/execute HTTP/1.0"
[24/Jun/2017 22:32:20 -0500] decorators ERROR Error running <function execute at 0x7f5b45922140>
Traceback (most recent call last):
File "/opt/hue/desktop/libs/notebook/src/notebook/decorators.py", line 81, in decorator
return func(*args, **kwargs)
File "/opt/hue/desktop/libs/notebook/src/notebook/api.py", line 160, in execute
response = _execute_notebook(request, notebook, snippet)
File "/opt/hue/desktop/libs/notebook/src/notebook/api.py", line 128, in _execute_notebook
history.update_data(notebook)
AttributeError: 'NoneType' object has no attribute 'update_data'
[24/Jun/2017 22:32:42 -0500] access INFO 172.28.43.11 jomoore - "POST /notebook/api/execute HTTP/1.0"
[24/Jun/2017 22:32:42 -0500] decorators ERROR Error running <function execute at 0x7f5b45922140>
Traceback (most recent call last):
File "/opt/hue/desktop/libs/notebook/src/notebook/decorators.py", line 81, in decorator
return func(*args, **kwargs)
File "/opt/hue/desktop/libs/notebook/src/notebook/api.py", line 160, in execute
response = _execute_notebook(request, notebook, snippet)
File "/opt/hue/desktop/libs/notebook/src/notebook/api.py", line 128, in _execute_notebook
history.update_data(notebook)
AttributeError: 'NoneType' object has no attribute 'update_data'
Jordan Moore
Staff Consultant | Avalon Consulting, LLC
M: 217 622-5993
LinkedIn | Google+ | Twitter
-------------------------------------------------------------------------------------------------------------
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the intended recipient, you should delete this message. Any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
Very strange...
I did get some intermittent errors in Beeswax upon query submission that says something along the lines of "document has no default value 'is_trashed', which upon research, is a field in the database but yet a syncdb plus migrate didn't immediately fix it. Same queries worked in the Notebook snippets, so that was my workaround for some time, but I haven't seen either mentioned error in Beeswax recently.