Problem/Motivation
After installation, I have enabled module. Created as described in README and in CSV_Test.csv-file my csv, and imported it with module. The import didnt worked, reverie some error and blank page. After that tried to uninstall the mod - didnt worked - receive error:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'MY_DB_NAME.file_managed' doesn't exist: SELECT file_managed.fid FROM file_managed WHERE uri LIKE :fid; Array ( [:fid] => public://taxonomy_files/% ) in taxonomy_import_uninstall() (line 15 of /PATH_TO/modules/contrib/taxonomy_import/taxonomy_import.install).
I can remove it with composer remove drupal/taxonomy_import , but after that if I run
drush/updatedb I receive error:
[error] (Currently using Missing or invalid module The following module is marked as installed in the core.extension
configuration, but it is missing:
* taxonomy_import
Review the suggestions for resolving this incompatibility [1] to repair your
installation, and then re-run update.php.
[1] https://www.drupal.org/docs/8/update/troubleshooting-database-updates
)
Re-installation didnt help. So, how do I please remove it?
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3236839-8.patch | 4.6 KB | vuil |
Comments
Comment #2
alexeye commentedPS, (if necessary): the vocabulary was already existed, so for import I gave a name of this vocabulary, as in README wrote the vocabulary can be reused.
PS2: removed now existing vocabulary and tried to import with creating a new vocabulary - the same error during import: "The website encountered an unexpected error. Please try again later."
PS3: Tried it with xml-file - the same error.
PS4: found the related issue, added it to report (https://www.drupal.org/project/taxonomy_import/issues/3017222). Last comment there 9 days ago and still no fix.
Admins, please set this module AS NOT STABLE.
PS5: thanks the last at this time commentary #9 from related theme (https://www.drupal.org/project/taxonomy_import/issues/3017222#comment-14...), I was finally able to import xml-file: vocabulary was created and imported several terms.
BUT its still not possible to UNINSTALL this module:
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'MY_DB_NAME.file_managed' doesn't exist: SELECT file_managed.fid FROM file_managed WHERE uri LIKE :fid; Array ( [:fid] => public://taxonomy_files/% ) in taxonomy_import_uninstall() (line 15 of /PATH_TO/modules/contrib/taxonomy_import/taxonomy_import.install).
Comment #3
alexeye commentedComment #4
alexeye commentedthanks https://www.drupal.org/project/taxonomy_import/issues/3017222#comment-14... , finally I was able to remove this module: in the same manner as there described I changed in file: modules/contrib/taxonomy_import/taxonomy_import.install on the line 15 the file_managed TO {file_managed}. And was able run drush pmu taxonomy_import . After that just composer-command: remove drupal/taxonomy_import .
Comment #5
alexeye commentedPLEASE SET THIS MODULE AS NOT STABLE, BECAUSE IT IS NOT STABLE
Comment #6
vuil@alexeye
Please test with the latest
2.x-devand let us know if the issue still exist. Thank you.Comment #7
vuilComment #8
vuilComment #9
vuilComment #11
vuil