ho-nl / magento1-Ho_Import

A Magento Module that allows you to map fields and import all sorts of file formats, sources and entities. Fast and Low Memory
175 stars 55 forks source link

Error after correct catalog_category_product entity import #69

Closed dariodor closed 7 years ago

dariodor commented 9 years ago

With Magento 1.9.1.1 after correct Category-product relation import, critical error occurs:

2015-07-08T19:06:50+00:00 INFO (6): Setting option ignore_duplicates to 1
2015-07-08T19:06:50+00:00 INFO (6): Setting option partial_indexing to 1
2015-07-08T19:06:50+00:00 INFO (6): Mapping source fields and saving to temp csv file (/home/username/domains/domain.com/public_html/berto/var/import/category_products.csv)
2015-07-08T19:06:50+00:00 INFO (6): Getting source adapter ho_import/source_adapter_xml
2015-07-08T19:06:50+00:00 INFO (6): Loading source file var/import/accord/ArtModa.xml
2015-07-08T19:06:50+00:00 INFO (6): Fieldmapping category_products with 53 rows, 53 entities (done in 0.03 seconds, 1766.67 rows/s)
2015-07-08T19:06:50+00:00 INFO (6): Processing 53 rows from temp csv file (/home/username/domains/domain.com/public_html/berto/var/import/category_products.csv)
2015-07-08T19:06:50+00:00 INFO (6): Start profile /home/username/domains/domain.com/public_html/berto/var/import/category_products.csv
2015-07-08T19:06:52+00:00 INFO (6): Profile category_products done in 1.75 seconds, 30.29 entities/s, 30.29 rows/s.
2015-07-08T19:06:52+00:00 INFO (6): Clean entity link table
2015-07-08T19:06:52+00:00 CRIT (2): #0 /home/username/domains/domain.com/public_html/berto/app/code/core/Mage/Eav/Model/Config.php(328): Mage->throwException('entity_type specificato non valido: catalog_category_product')
#1 /home/username/domains/domain.com/public_html/berto/app/code/community/Ho/Import/Model/Import.php(1005): Mage_Eav_Model_Config->getEntityType('catalog_category_product')
#2 /home/username/domains/domain.com/public_html/berto/app/code/community/Ho/Import/Model/Import.php(1091): Ho_Import_Model_Import->_getEntityTypeId()
#3 /home/username/domains/domain.com/public_html/berto/app/code/community/Ho/Import/Model/Import.php(126): Ho_Import_Model_Import->_cleanEntityLinkTable()
#4 /home/username/domains/domain.com/public_html/berto/app/code/community/Ho/Import/Model/Observer.php(107): Ho_Import_Model_Import->process()
#5 (): Ho_Import_Model_Observer->process(Mage_Cron_Model_Schedule)
#6 /home/username/domains/domain.com/public_html/berto/app/code/core/Mage/Cron/Model/Observer.php(325): call_user_func_array(Array, Array)
#7 /home/username/domains/domain.com/public_html/berto/app/code/core/Mage/Cron/Model/Observer.php(72): Mage_Cron_Model_Observer->_processJob(Mage_Cron_Model_Schedule, Mage_Core_Model_Config_Element)
#8 /home/username/domains/domain.com/public_html/berto/app/code/core/Mage/Core/Model/App.php(1338): Mage_Cron_Model_Observer->dispatch(Varien_Event_Observer)
#9 /home/username/domains/domain.com/public_html/berto/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Mage_Cron_Model_Observer, 'dispatch', Varien_Event_Observer)
#10 /home/username/domains/domain.com/public_html/berto/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('default', Array)
#11 /home/username/domains/domain.com/public_html/berto/cron.php(76): Mage->dispatchEvent('default')

After this import, Magento admin shows "One or more of the Indexes are not up to date". Is there an error with partial indexing?

Magento 1.9.1.1, Ho_import (master branch), AvS_FastSimpleImport (develop branch)

paales commented 9 years ago

@dariodor I think I haven't implemented it for the catalog_category_product methods. Could you perhaps create a pull request to solve this issue?

JeroenVanLeusden commented 7 years ago

Closed, duplicate of #109