bookstore_mgmt_google_books_api
in vertical-edition · source on GitHub
Bookstore integration with Google Books API
Category: Misc · APSL-Nagarro · AGPL-3
| Series | Status | Details | Code |
|---|---|---|---|
| 16.0 | —Not tested | no branch | |
| 17.0 | ~Environment problem | External Python package missing: google-books-api-wrapper · run 2026-08-26 | on GitHub |
| 18.0 | —Not tested | no branch | |
| 19.0 | —Not tested | no branch | |
| 20.0 | —Not tested | no branch |
The module’s code on 17.0
| Lines of code | python 241 · xml 36 |
| Tests | yes: 1 file(s), 74 lines |
| Migration scripts | no |
| Models | 3 new · 2 extensions |
Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree 6e3caa13f088.
Depends on
| Module | Status | Checked |
|---|---|---|
| bookstore_mgmt | ✓Installs | 2026-08-20 |
| web_notify | ✓Installs | 2026-08-20 |
External dependencies
Checked against modidx/odoo:17.0-deps-20260820.
| Kind | Package | In our image |
|---|---|---|
| python | google-books-api-wrapper | NOT in image |
| python | Unidecode | in image |
History
| Last change | 2025-01-19 |
| Code commits, 12 months | 0 |
| Most active | Antoni Marroig Campomar, bobrador |
| Files | 20 |
Translation and bot commits are excluded from the commit count.
Install log 17.0
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 406, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 375, in check_external_dependencies
raise UserError(msg)
odoo.exceptions.UserError: Unable to install module "bookstore_mgmt_google_books_api" because an external dependency is not met: Python library not installed: google-books-api-wrapper
2026-08-26 22:22:16,304 1 CRITICAL job_373f12502db0 odoo.service.server: Failed to initialize database `job_373f12502db0`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 496, in check_python_external_dependency
get_distribution(pydep)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 471, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 347, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'google-books-api-wrapper' distribution was not found and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 499, in check_python_external_dependency
importlib.import_module(pydep)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'google-books-api-wrapper'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 367, in check_external_dependencies
modules.check_manifest_dependencies(terp)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 518, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 504, in check_python_external_dependency
raise Exception('Python library not installed: %s' % (pydep,))
Exception: Python library not installed: google-books-api-wrapper
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1422, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
File "<decorator-gen-16>", line 2, in new
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
return func(inst, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 99, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 452, in load_modules
modules.button_install()
File "<decorator-gen-76>", line 2, in button_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 77, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 427, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 406, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 375, in check_external_dependencies
raise UserError(msg)
odoo.exceptions.UserError: Unable to install module "bookstore_mgmt_google_books_api" because an external dependency is not met: Python library not installed: google-books-api-wrapperResult looks wrong? Tell us — we will show the log or run it again. Report a wrong result