bookstore_mgmt_google_books_api

in vertical-edition · source on GitHub

Bookstore integration with Google Books API

Category: Misc · APSL-Nagarro · AGPL-3

16.0×Not in this series
17.0~Environment problem
18.0×Not in this series
19.0×Not in this series
20.0×Not in this series
SeriesStatusDetailsCode
16.0—Not testedno branch
17.0~Environment problemExternal Python package missing: google-books-api-wrapper · run 2026-08-26on GitHub
18.0—Not testedno branch
19.0—Not testedno branch
20.0—Not testedno branch

The module’s code on 17.0

Lines of codepython 241 · xml 36
Testsyes: 1 file(s), 74 lines
Migration scriptsno
Models3 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

ModuleStatusChecked
bookstore_mgmt✓Installs2026-08-20
web_notify✓Installs2026-08-20

External dependencies

Checked against modidx/odoo:17.0-deps-20260820.

KindPackageIn our image
pythongoogle-books-api-wrapperNOT in image
pythonUnidecodein image

History

Last change2025-01-19
Code commits, 12 months0
Most activeAntoni Marroig Campomar, bobrador
Files20

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-wrapper

Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result

Get told when this module changes state

Data updated 2026-10-07 13:00 UTC · build 4aa2dbe · we publish the install log with a date, not a vendor rating · CSV and JSON are open

Questions or a wrong result: open an issue or hello@allservices.one

Privacy · Terms

Independent project. Not affiliated with Odoo S.A. or the Odoo Community Association.