Package Details: little-brother 0.4.19-4

Git Clone URL: https://aur.archlinux.org/little-brother.git (read-only, click to copy)
Package Base: little-brother
Description: Parental controls for children
Upstream URL: https://github.com/marcus67/little_brother
Keywords: access-control client-server debian debian-package flask kindersicherung linux linux-application monitoring mysql package parental-control postgres python python3 sqlalchemy
Licenses: GPL3
Submitter: ragouel
Maintainer: marcus.rickert
Last Packager: lmartinez-mirror
Votes: 1
Popularity: 0.000000
First Submitted: 2020-05-21 05:00 (UTC)
Last Updated: 2022-03-28 21:42 (UTC)

Latest Comments

tym007 commented on 2022-11-29 21:40 (UTC)

Hello, I tried to install this package without success.


lagom/container.py:202: error: Incompatible default for argument "singletons" (default has type "None", argument has type "List[Type[Any]]")  [assignment]
lagom/container.py:202: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
lagom/container.py:202: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
lagom/container.py:270: error: Incompatible default for argument "shared" (default has type "None", argument has type "List[Type[Any]]")  [assignment]
lagom/container.py:270: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
lagom/container.py:270: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
lagom/container.py:317: error: Incompatible default for argument "shared" (default has type "None", argument has type "List[Type[Any]]")  [assignment]
lagom/container.py:317: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
lagom/container.py:317: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
lagom/container.py:318: error: Incompatible default for argument "keys_to_skip" (default has type "None", argument has type "List[str]")  [assignment]
lagom/container.py:318: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
lagom/container.py:318: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
lagom/container.py:416: error: Incompatible default for argument "keys_to_skip" (default has type "None", argument has type "List[str]")  [assignment]
lagom/container.py:416: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
lagom/container.py:416: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
lagom/container.py:418: error: Incompatible default for argument "types_to_skip" (default has type "None", argument has type "Set[Type[Any]]")  [assignment]
lagom/container.py:418: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
lagom/container.py:418: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
==> ERROR: A failure occurred in build().
    Aborting...
error: target not found: python-lagom
error: target not found: python-secure
error: target not found: python-fakeldap
error: target not found: python-playsound
error: target not found: python-pygi
error: target not found: python-google-speak
error: target not found: python-some-flask-helpers
error: target not found: python-base-app
 -> error making: python-lagom

Do you have any idea how to resolve this issue?

Thanks

lmartinez-mirror commented on 2022-03-28 21:04 (UTC)

And here I thought the included tmpfile.conf handled it. Thanks for the report, pushing a fix.

Moxon commented on 2022-03-25 10:08 (UTC) (edited on 2022-03-25 10:29 (UTC) by Moxon)

Some folders and files are not created on a fresh install, but doing so manually / calling generic-install.sh fixes it and makes little brother run:

  • /etc/little-brother/little-brother.config is missing (generic-install.sh copies it from master.config)
  • /var/spool/little-brother was not created (generic-install.sh creates it)
  • log below, first line: /var/log/little-brother was not created automatically (generic-install.sh creates it)
  • log below, last line: git_metadata not found is harmless since in git.py:35 it is caught and simply logged.

LOGFILE from first run

Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]: [Errno 2] No such file or directory: '/var/log/little-brother/LittleBrother.log'
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]: Stack trace =   File "/usr/lib/python3.10/site-packages/python_base_app/base_app.py", line 560, in main
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:     log_handling.start_logging(p_level=arguments.log_level, p_log_dir=arguments.log_dir,
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:   File "/usr/lib/python3.10/site-packages/python_base_app/log_handling.py", line 87, in start_logging
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:     h = logging.handlers.RotatingFileHandler(log_filename, backupCount=LOG_BACKUP_COUNT, maxBytes=LOG_MAX_BYTES,
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:   File "/usr/lib/python3.10/logging/handlers.py", line 155, in __init__
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:     BaseRotatingHandler.__init__(self, filename, mode, encoding=encoding,
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:   File "/usr/lib/python3.10/logging/handlers.py", line 58, in __init__
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:     logging.FileHandler.__init__(self, filename, mode=mode,
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:   File "/usr/lib/python3.10/logging/__init__.py", line 1169, in __init__
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:     StreamHandler.__init__(self, self._open())
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:   File "/usr/lib/python3.10/logging/__init__.py", line 1201, in _open
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]:     return open_func(self.baseFilename, self.mode,
Mar 25 10:46:10 MYMACHINE run_little_brother.py[213152]: cannot import name 'git_metadata' from 'little_brother' (/usr/lib/python3.10/site-packages/little_brother/__init__.py)
Mar 25 10:46:10 MYMACHINE systemd[1]: little-brother.service: Control process exited, code=exited, status=1/FAILURE

lmartinez-mirror commented on 2022-03-11 01:53 (UTC)

Thanks for the heads up, pushing a fix now!

marcus.rickert commented on 2022-03-05 21:01 (UTC)

Hello!

Looking at the current list of packages and comparing it with the current file requirements.txt the following PIP packages are probably missing, too:

  • python-ldap
  • distro

Warm regards, Marcus (the maintainer of the LittleBrother application)

Moxon commented on 2022-03-01 21:10 (UTC)

Although it compiles and installs cleanly, it fails to start up and complains about missing python_base_app. The solution is to install these two dependencies with pip3 manually:

  • python_base_app
  • some_flask_helpers

(see: https://github.com/marcus67/little_brother/blob/master/NON-DEBIAN-INSTALLATION.md)