Zend_Db_Statement_Exception Object
(
    [_previous:Zend_Exception:private] => 
    [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '129-665' for key 'UNQ_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_SET_ID_ATTRIBUTE_ID'
    [string:Exception:private] => 
    [code:protected] => 23000
    [file:protected] => /var/www/alwaysriding/lib/Zend/Db/Statement/Pdo.php
    [line:protected] => 234
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /var/www/alwaysriding/lib/Varien/Db/Statement/Pdo/Mysql.php
                    [line] => 110
                    [function] => _execute
                    [class] => Zend_Db_Statement_Pdo
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 4
                                    [1] => 129
                                    [2] => 1422
                                    [3] => 665
                                    [4] => 1
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Zend/Db/Statement.php
                    [line] => 311
                    [function] => _execute
                    [class] => Varien_Db_Statement_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 4
                                    [1] => 129
                                    [2] => 1422
                                    [3] => 665
                                    [4] => 1
                                )

                        )

                )

            [2] => Array
                (
                    [file] => /var/www/alwaysriding/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 480
                    [function] => execute
                    [class] => Zend_Db_Statement
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [0] => 4
                                    [1] => 129
                                    [2] => 1422
                                    [3] => 665
                                    [4] => 1
                                )

                        )

                )

            [3] => Array
                (
                    [file] => /var/www/alwaysriding/lib/Zend/Db/Adapter/Pdo/Abstract.php
                    [line] => 238
                    [function] => query
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 4
                                    [1] => 129
                                    [2] => 1422
                                    [3] => 665
                                    [4] => 1
                                )

                        )

                )

            [4] => Array
                (
                    [file] => /var/www/alwaysriding/lib/Varien/Db/Adapter/Pdo/Mysql.php
                    [line] => 428
                    [function] => query
                    [class] => Zend_Db_Adapter_Pdo_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 4
                                    [1] => 129
                                    [2] => 1422
                                    [3] => 665
                                    [4] => 1
                                )

                        )

                )

            [5] => Array
                (
                    [file] => /var/www/alwaysriding/lib/Zend/Db/Adapter/Abstract.php
                    [line] => 576
                    [function] => query
                    [class] => Varien_Db_Adapter_Pdo_Mysql
                    [type] => ->
                    [args] => Array
                        (
                            [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                            [1] => Array
                                (
                                    [0] => 4
                                    [1] => 129
                                    [2] => 1422
                                    [3] => 665
                                    [4] => 1
                                )

                        )

                )

            [6] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Eav/Model/Entity/Setup.php
                    [line] => 1063
                    [function] => insert
                    [class] => Zend_Db_Adapter_Abstract
                    [type] => ->
                    [args] => Array
                        (
                            [0] => eav_entity_attribute
                            [1] => Array
                                (
                                    [entity_type_id] => 4
                                    [attribute_set_id] => 129
                                    [attribute_group_id] => 1422
                                    [attribute_id] => 665
                                    [sort_order] => 1
                                )

                        )

                )

            [7] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Eav/Model/Entity/Setup.php
                    [line] => 677
                    [function] => addAttributeToSet
                    [class] => Mage_Eav_Model_Entity_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 4
                            [1] => 129
                            [2] => Patchworks
                            [3] => connector_internal_id
                            [4] => 
                        )

                )

            [8] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/community/Patchworks/Connector/sql/patchworksconnector_setup/mysql4-install-1.1.1.php
                    [line] => 47
                    [function] => addAttribute
                    [class] => Mage_Eav_Model_Entity_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => catalog_product
                            [1] => connector_internal_id
                            [2] => Array
                                (
                                    [group] => Patchworks
                                    [input] => text
                                    [type] => varchar
                                    [label] => Connector ID
                                    [backend] => 
                                    [visible] => 0
                                    [required] => 0
                                    [user_defined] => 0
                                    [searchable] => 0
                                    [filterable] => 0
                                    [comparable] => 0
                                    [visible_on_front] => 0
                                    [visible_in_advanced_search] => 0
                                    [is_html_allowed_on_front] => 0
                                    [global] => 1
                                )

                        )

                )

            [9] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 624
                    [args] => Array
                        (
                            [0] => /var/www/alwaysriding/app/code/community/Patchworks/Connector/sql/patchworksconnector_setup/mysql4-install-1.1.1.php
                        )

                    [function] => include
                )

            [10] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 421
                    [function] => _modifyResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => install
                            [1] => 
                            [2] => 1.1.20
                        )

                )

            [11] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 327
                    [function] => _installResourceDb
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                            [0] => 1.1.20
                        )

                )

            [12] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                    [line] => 235
                    [function] => applyUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [13] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/App.php
                    [line] => 417
                    [function] => applyAllUpdates
                    [class] => Mage_Core_Model_Resource_Setup
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [14] => Array
                (
                    [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/App.php
                    [line] => 343
                    [function] => _initModules
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [15] => Array
                (
                    [file] => /var/www/alwaysriding/app/Mage.php
                    [line] => 684
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Array
                                (
                                    [scope_code] => uk
                                    [scope_type] => store
                                    [options] => Array
                                        (
                                        )

                                )

                        )

                )

            [16] => Array
                (
                    [file] => /var/www/alwaysriding/index.php
                    [line] => 117
                    [function] => run
                    [class] => Mage
                    [type] => ::
                    [args] => Array
                        (
                            [0] => uk
                            [1] => store
                        )

                )

        )

    [previous:Exception:private] => PDOException Object
        (
            [message:protected] => SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '129-665' for key 'UNQ_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_SET_ID_ATTRIBUTE_ID'
            [string:Exception:private] => 
            [code:protected] => 23000
            [file:protected] => /var/www/alwaysriding/lib/Zend/Db/Statement/Pdo.php
            [line:protected] => 228
            [trace:Exception:private] => Array
                (
                    [0] => Array
                        (
                            [file] => /var/www/alwaysriding/lib/Zend/Db/Statement/Pdo.php
                            [line] => 228
                            [function] => execute
                            [class] => PDOStatement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 4
                                            [1] => 129
                                            [2] => 1422
                                            [3] => 665
                                            [4] => 1
                                        )

                                )

                        )

                    [1] => Array
                        (
                            [file] => /var/www/alwaysriding/lib/Varien/Db/Statement/Pdo/Mysql.php
                            [line] => 110
                            [function] => _execute
                            [class] => Zend_Db_Statement_Pdo
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 4
                                            [1] => 129
                                            [2] => 1422
                                            [3] => 665
                                            [4] => 1
                                        )

                                )

                        )

                    [2] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Zend/Db/Statement.php
                            [line] => 311
                            [function] => _execute
                            [class] => Varien_Db_Statement_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 4
                                            [1] => 129
                                            [2] => 1422
                                            [3] => 665
                                            [4] => 1
                                        )

                                )

                        )

                    [3] => Array
                        (
                            [file] => /var/www/alwaysriding/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 480
                            [function] => execute
                            [class] => Zend_Db_Statement
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [0] => 4
                                            [1] => 129
                                            [2] => 1422
                                            [3] => 665
                                            [4] => 1
                                        )

                                )

                        )

                    [4] => Array
                        (
                            [file] => /var/www/alwaysriding/lib/Zend/Db/Adapter/Pdo/Abstract.php
                            [line] => 238
                            [function] => query
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 4
                                            [1] => 129
                                            [2] => 1422
                                            [3] => 665
                                            [4] => 1
                                        )

                                )

                        )

                    [5] => Array
                        (
                            [file] => /var/www/alwaysriding/lib/Varien/Db/Adapter/Pdo/Mysql.php
                            [line] => 428
                            [function] => query
                            [class] => Zend_Db_Adapter_Pdo_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 4
                                            [1] => 129
                                            [2] => 1422
                                            [3] => 665
                                            [4] => 1
                                        )

                                )

                        )

                    [6] => Array
                        (
                            [file] => /var/www/alwaysriding/lib/Zend/Db/Adapter/Abstract.php
                            [line] => 576
                            [function] => query
                            [class] => Varien_Db_Adapter_Pdo_Mysql
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES (?, ?, ?, ?, ?)
                                    [1] => Array
                                        (
                                            [0] => 4
                                            [1] => 129
                                            [2] => 1422
                                            [3] => 665
                                            [4] => 1
                                        )

                                )

                        )

                    [7] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Eav/Model/Entity/Setup.php
                            [line] => 1063
                            [function] => insert
                            [class] => Zend_Db_Adapter_Abstract
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => eav_entity_attribute
                                    [1] => Array
                                        (
                                            [entity_type_id] => 4
                                            [attribute_set_id] => 129
                                            [attribute_group_id] => 1422
                                            [attribute_id] => 665
                                            [sort_order] => 1
                                        )

                                )

                        )

                    [8] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Eav/Model/Entity/Setup.php
                            [line] => 677
                            [function] => addAttributeToSet
                            [class] => Mage_Eav_Model_Entity_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 4
                                    [1] => 129
                                    [2] => Patchworks
                                    [3] => connector_internal_id
                                    [4] => 
                                )

                        )

                    [9] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/community/Patchworks/Connector/sql/patchworksconnector_setup/mysql4-install-1.1.1.php
                            [line] => 47
                            [function] => addAttribute
                            [class] => Mage_Eav_Model_Entity_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => catalog_product
                                    [1] => connector_internal_id
                                    [2] => Array
                                        (
                                            [group] => Patchworks
                                            [input] => text
                                            [type] => varchar
                                            [label] => Connector ID
                                            [backend] => 
                                            [visible] => 0
                                            [required] => 0
                                            [user_defined] => 0
                                            [searchable] => 0
                                            [filterable] => 0
                                            [comparable] => 0
                                            [visible_on_front] => 0
                                            [visible_in_advanced_search] => 0
                                            [is_html_allowed_on_front] => 0
                                            [global] => 1
                                        )

                                )

                        )

                    [10] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 624
                            [args] => Array
                                (
                                    [0] => /var/www/alwaysriding/app/code/community/Patchworks/Connector/sql/patchworksconnector_setup/mysql4-install-1.1.1.php
                                )

                            [function] => include
                        )

                    [11] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 421
                            [function] => _modifyResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => install
                                    [1] => 
                                    [2] => 1.1.20
                                )

                        )

                    [12] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 327
                            [function] => _installResourceDb
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => 1.1.20
                                )

                        )

                    [13] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/Resource/Setup.php
                            [line] => 235
                            [function] => applyUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [14] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/App.php
                            [line] => 417
                            [function] => applyAllUpdates
                            [class] => Mage_Core_Model_Resource_Setup
                            [type] => ::
                            [args] => Array
                                (
                                )

                        )

                    [15] => Array
                        (
                            [file] => /var/www/alwaysriding/app/code/core/Mage/Core/Model/App.php
                            [line] => 343
                            [function] => _initModules
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                )

                        )

                    [16] => Array
                        (
                            [file] => /var/www/alwaysriding/app/Mage.php
                            [line] => 684
                            [function] => run
                            [class] => Mage_Core_Model_App
                            [type] => ->
                            [args] => Array
                                (
                                    [0] => Array
                                        (
                                            [scope_code] => uk
                                            [scope_type] => store
                                            [options] => Array
                                                (
                                                )

                                        )

                                )

                        )

                    [17] => Array
                        (
                            [file] => /var/www/alwaysriding/index.php
                            [line] => 117
                            [function] => run
                            [class] => Mage
                            [type] => ::
                            [args] => Array
                                (
                                    [0] => uk
                                    [1] => store
                                )

                        )

                )

            [previous:Exception:private] => 
            [errorInfo] => Array
                (
                    [0] => 23000
                    [1] => 1062
                    [2] => Duplicate entry '129-665' for key 'UNQ_EAV_ENTITY_ATTRIBUTE_ATTRIBUTE_SET_ID_ATTRIBUTE_ID'
                )

        )

)