server_env_printing_server
in report-print-send · source on GitHub
Category: Generic Modules/Base · Camptocamp · AGPL-3
| Series | Status | Details | Code |
|---|---|---|---|
| 16.0 | —Not tested | no branch | |
| 17.0 | —Not tested | no branch | |
| 18.0 | ~Environment problem | External Python package missing: pycups · run 2026-08-26 | on GitHub |
| 19.0 | —Not tested | no branch | |
| 20.0 | —Not tested | no branch |
The module’s code on 18.0
| Lines of code | python 39 · xml 0 |
| Tests | no |
| Migration scripts | no |
| Models | 1 new · 1 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 0776a60d079a.
Depends on
| Module | Status | Checked |
|---|---|---|
| base_report_to_printer | ~Environment problem | 2026-08-26 |
| server_environment | ✓Installs | 2026-10-01 |
History
| Last change | 2025-07-28 |
| Code commits, 12 months | 0 |
| Most active | Vincent Van Rossem, nguyenhk, JuMiSanAr |
| Files | 13 |
Translation and bot commits are excluded from the commit count.
Install log 18.0
Warn: Can't find .pfb for face 'Courier'
2026-08-26 19:29:14,096 1 WARNING job_52a71886f484 odoo.modules.loading: Transient module states were reset
2026-08-26 19:29:14,097 1 ERROR job_52a71886f484 odoo.modules.registry: Failed to load registry
2026-08-26 19:29:14,097 1 CRITICAL job_52a71886f484 odoo.service.server: Failed to initialize database `job_52a71886f484`.
Traceback (most recent call last):
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
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 485, in check_python_external_dependency
version = importlib.metadata.version(requirement.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 889, in version
return distribution(distribution_name).version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for pycups
The above exception was the direct cause of the following exception:
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 506, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 495, in check_python_external_dependency
raise Exception(msg) from e
Exception: External dependency pycups not installed: No package metadata was found for pycups
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 1414, in preload_registries
registry = Registry.new(dbname, update_module=update_module)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 456, in load_modules
modules.button_install()
File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 434, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 403, in _state_update
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 409, 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 "base_report_to_printer" because an external dependency is not met: External dependency pycups not installed: No package metadata was found for pycupsResult looks wrong? Tell us — we will show the log or run it again. Report a wrong result