Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8447

traceback when adding new individual and google geo-coding fails to connect

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.4.4
    • Fix Version/s: 4.4.0
    • Component/s: None
    • Labels:
      None

      Description

      I'm testing on a virtual server on my laptop - any kind of local network problems could be preventing this connection to happen (in other words - maybe the failure to connect is another bug - but in this report I'm focusing on how civicrm responds to a failure to connect).

      I think it's just trying to add geo-coding data to the record being created, so allowing this connection to gracefully fail while the record is successfully inserted would the desired result.

      Thanks!!

      jamie

      backTrace

      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 159
      , handle,
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 931
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/packages/PEAR.php, PEAR_Error, 566
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/packages/Net/Socket.php, raiseError, 156
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/packages/HTTP/Request.php, connect, 737
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Utils/Geocode/Google.php, sendRequest, 126
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/BAO/Address.php(359) : eval()'d code, format, 1
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, eval, 359
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, fixAddress, 150
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/BAO/Address.php, add, 126
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/BAO/Location.php, create, 77
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php, create, 310
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Contact/BAO/Contact.php, create, 1539
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Profile/Form.php, createProfileContact, 1017
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Profile/Form/Edit.php, postProcess, 249
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/Form.php, postProcess, 250
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/StateMachine.php, mainProcess, 167
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php, perform, 64
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php, perform, 203
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php, handle, 103
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/Controller.php, handle, 284
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Utils/Wrapper.php, run, 115
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/Invoke.php, run, 341
      , profile,
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/CRM/Core/Invoke.php, call_user_func, 190
      /home/jamie/projects/jamie/drupal/drupal-6/sites/all/modules/civicrm/drupal/civicrm.module, invoke, 363
      , civicrm_invoke,
      /home/jamie/projects/jamie/drupal/drupal-6/includes/menu.inc, call_user_func_array, 349
      /home/jamie/projects/jamie/drupal/drupal-6/index.php, menu_execute_active_handler, 17

      Additional Details:

      Array
      (
      [callback] => Array
      (
      [0] => CRM_Core_Error
      [1] => handle
      )

      [code] => 110
      [message] => Connection timed out
      [mode] => 16
      [debug_info] =>
      [type] => PEAR_Error
      [user_info] =>
      [to_string] => [pear_error: message="Connection timed out" code=110 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]
      )

      u

        Attachments

          Activity

            People

            • Assignee:
              neha.saraph Neha Kulkarni
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: