client::AppendVariable not implemented in Admin Report SDK ???

23 views
Skip to first unread message

a.pers...@talarmedia.com

unread,
Jun 1, 2018, 9:38:39 AM6/1/18
to Google APIs Client Library for C++
I have tryed to start my executable for admin service, and got error output:

F0601 12:08:30.981245  8771 client_service.cc:257] Either override AppendVariable or PrepareHttpRequest
*** Check failure stack trace: ***
    @     0x5555555e953a  google::LogMessage::Fail()
    @     0x5555555eb482  google::LogMessage::SendToLog()
    @     0x5555555e90c1  google::LogMessage::Flush()
    @     0x5555555ebf49  google::LogMessageFatal::~LogMessageFatal()
    @     0x5555555cc1f9  googleapis::client::ClientServiceRequest::AppendVariable()
    @     0x5555555cc53b  googleapis::client::ClientServiceRequest::CallAppendVariable()
    @     0x5555555ce12b  googleapis::_MemberResultCallback_0_3<>::Run()
    @     0x5555557f64f8  googleapis::client::ProcessVariable()
    @     0x5555557f6823  googleapis::client::UriTemplate::Expand()
    @     0x5555555ccd70  googleapis::client::UriTemplate::Expand()
    @     0x5555555cb28f  googleapis::client::ClientServiceRequest::PrepareUrl()
    @     0x5555555cb004  googleapis::client::ClientServiceRequest::PrepareHttpRequest()
    @     0x5555555cb492  googleapis::client::ClientServiceRequest::Execute()
    @     0x5555555cb954  googleapis::client::ClientServiceRequest::ExecuteAndParseResponse()
    @     0x5555555adbad  google_admin_admin_api::ActivitiesResource_ListMethod::ExecuteAndParseResponse()
    @     0x5555555ad8d4  GS2GL::Run()
    @     0x5555555ada78  GS2GL::CGSAdminSource::GetActivities()
    @     0x5555555a9d74  GS2GL::CGSAdminParser::Parse()
    @     0x5555555a89a6  GS2GL::CGSAdminInput::GetEvents()
    @     0x5555555a3b4e  GS2GL::CEventQueue::QueueThread()
    @     0x5555555a7e80  _ZNSt12_Bind_simpleIFPFviEiEE9_M_invokeIJLm0EEEEvSt12_Index_tupleIJXspT_EEE
    @     0x5555555a7dd3  std::_Bind_simple<>::operator()()
    @     0x5555555a7d6e  std::thread::_State_impl<>::_M_run()
    @     0x7ffff790ce6f  (unknown)
    @     0x7ffff7122494  start_thread
    @     0x7ffff6e64acf  clone

When I have checked source for googleapis::client::ClientServiceRequest::AppendVariable() I saw:

util::Status ClientServiceRequest::AppendVariable(
    const string& variable_name, const UriTemplateConfig& config,
    string* target) {
  LOG(FATAL) << "Either override AppendVariable or PrepareHttpRequest";
  return StatusUnimplemented("Internal error");
}


please tell me, about status of this API, may I use it in development or no? I saw unimplemented methods in another places, but it was simple - empty destructor, or method with 1 line of code, but this case more complex.

Reply all
Reply to author
Forward
0 new messages