OK, I ran across this one while trying to work around #589614: Input error: is not allowed for Catalog (not a term or synonym in Catalog).. Since I have a fairly large vocabulary for my client's UC2 installation, and importing the products appears to be failing due to the terms not existing, I figured I'd import the hierarchical vocabulary. Logical, n'est pas?
No luck. I'm now getting a similar error to the above-referenced issue, except this is with a vocabulary import. I've verified that before the import the {vocabulary}.hierarchy = 1 and that there are no conflicts. Out of an attempted 232 term import, only 2 top-level terms were successfully loaded. Sample import file, downloaded row list, and node_import debug report are attached.
Has anyone else run into this? I'm running D6.15, UC 6.x-2.2 on MySQL 5 and PHP 5.2.9.
Thanks!
-R
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | bug.jpg | 53.75 KB | graytoby |
| osc_sg - Terms - All.txt (Post-import row dump) | 97.18 KB | arpieb | |
| osc_sg - Terms.txt (TSV datafile) | 9.57 KB | arpieb | |
| node_import-term_1-12.txt (node_import debug report) | 16.15 KB | arpieb |
Comments
Comment #1
danieldd commentedI've successfully imported a 2 level vocabulary of 130 terms using similar set up.
However, I configured my CSV file differently. My CSV file listed all the terms I wanted to import, including parents, in the "term column". I listed parent terms at the top of the file, then child terms. I did not include more than one level of the vocabulary in any field.
eg
Term Parent
Fruit
Vegetable
Apple >>Fruit
Banana >>Fruit
Potato >>Vegetable
Perhaps this is a reason your inport failed. Unfortunately I do not understand the module well enough to be sure.
NB- despite having imported the vocabularly I am nevertheless having problems importing the nodes that this taxonomy relates to.
Comment #2
graytoby commentedI just ran into the same issue. See attached screenshot. It's probably caused by missing hierarchy option. What is strange is that vocabulary "hierarchy is specified by" is present on my different site, it was present a few weeks back, when I was successful importing. Now, that option suddenly disappeared. Both sites are using dev version. I removed it, uninstalled, flushed caches, ran updates, uploaded files again, enabled module and nothing. And as I mentioned before, that option was there, it is currently available on my other site, where I don't have any problems importing.
Comment #3
vaccinemedia commentedI also had problems importing into a set which had already been imported i.e. a set of products had been imported. Then I tried to import an updated CSV with more products hoping that I would just add the new products and nothing imported due to the catalog vocab not accepting any of it Then I reset the vocab for catalog to alphabetical and lo and behold it all worked fine again. For some reason the hierarchy had been lost and reseting to alphabetical worked and reset it.
Comment #4
As If commentedUnfortunately this trick didn't work for me. And this file worked fine yesterday!
What worked was referring to my terms by tid in the CSV file, rather than using the parent>>child format.
I don't know why it works sometimes and not other times, but try using tids.