Package Details: zmeventnotification 6.0.6-1

Git Clone URL: https://aur.archlinux.org/zmeventnotification.git (read-only, click to copy)
Package Base: zmeventnotification
Description: A machine learning powered, secure websocket & MQTT based event notification server for ZoneMinder
Upstream URL: https://github.com/pliablepixels/zmeventnotification
Licenses: GPL
Conflicts: zmeventnotification-git
Submitter: Nocifer
Maintainer: Nocifer
Last Packager: Nocifer
Votes: 1
Popularity: 0.130911
First Submitted: 2020-07-08 15:07
Last Updated: 2020-10-28 07:34

Required by (1)

Sources (12)

Latest Comments

Nocifer commented on 2020-10-03 07:46

@Synthead

Regarding the mysql-python-connector, it's already been mentioned in a previous comment and will be added to the dependencies with the next package update, which will happen when upstream releases v6.0.0.

Regarding the service file, zmeventnotification is supposed to be run internally by ZoneMinder and share its attributes (log output, lifecycle, etc). What could a separate service offer as things currently stand? Also, this should probably better be addressed to @pliablepixels, the developer of zmeventnotification, because such a change should be made upstream, not in our package here.

Synthead commented on 2020-10-02 17:56

How about adding this to /usr/lib/systemd/system/zmeventnotification.service? :)

[Unit]
Description=ZoneMinder event notification server 
After=zoneminder.service

[Service]
User=http
Type=simple
ExecStart=/usr/bin/zmeventnotification.pl

[Install]
WantedBy=multi-user.target

Synthead commented on 2020-10-02 05:07

Getting the exception below. Fixed by installing mysql-python-connector. Please add this to the depends array :)

Traceback (most recent call last):
  File "/var/lib/zmeventnotification/bin/zm_detect.py", line 165, in <module>
    log.init(process_name='zmesdetect_' + 'm' + args.get('monitorid'), override=g.config['pyzm_overrides'])
  File "/usr/lib/python3.8/site-packages/zmes_hook_helpers/log.py", line 46, in init
    g.logger = wrapperLogger(name=process_name, override=override, dump_console=dump_console)
  File "/usr/lib/python3.8/site-packages/zmes_hook_helpers/log.py", line 10, in __init__
    zmlog.init(name=name, override=override)
  File "/usr/lib/python3.8/site-packages/pyzm/ZMLog.py", line 152, in init
    engine = create_engine(cstr, pool_recycle=3600)
  File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/__init__.py", line 500, in create_engine
    return strategy.create(*args, **kwargs)
  File "/usr/lib/python3.8/site-packages/sqlalchemy/engine/strategies.py", line 87, in create
    dbapi = dialect_cls.dbapi(**dbapi_args)
  File "/usr/lib/python3.8/site-packages/sqlalchemy/dialects/mysql/mysqlconnector.py", line 135, in dbapi
    from mysql import connector
ModuleNotFoundError: No module named 'mysql'

Nocifer commented on 2020-09-15 09:56

@hillbicks alright, even though they sound a bit weird to me (I mean, Qt5?) I do know that these 4 packages are listed as dependencies in the PKGBUILD of zmeventnotification-git, but I didn't include them in mine because I couldn't find any reference about them in the upstream documentation. I'll make sure to add them for the next release (which shouldn't be too far away, v6.0.0 is already cooking upstream).

hillbicks commented on 2020-09-15 00:45

I had to install the following additional packages, otherwise python was throwing errors about ImportErrors

python-mysql-connector python-psutil python-sqlalchemy qt5-base

Kr1ss commented on 2020-07-27 14:30

Hi @Nocifer, maintainer of python-opencv-python here, which is a dependency of your package.

I initially just created it to fulfil a dependency for another package of mine, as I haven't been aware that extra/opencv does provide python bindings. Turns out I don't actually need python-opencv-python.

Before orphaning or deleting it, I'm hereby contacting the maintainers of packages which depend on it and see who's willing to take over maintainership. If you're interested, pls email me or leave a comment at python-opencv-python; I would then add you as co-maintainer so that you can take it over after I abandon it.

Cheers !