BOSWatch 3 Core Repo - Documentation at http://docs.boswatch.de
Find a file
KoenigMjr 4415697d31 (bugfix/mysql): Change: Remove whitespace and check for empty strings
Error:

??? python[22805]: Traceback (most recent call last):
??? python[22805]:    File "/opt/boswatch3/venv/lib/python3.13/site-packages/mysql/connector/connection_cext.py", line 772, in cmd_query
??? python[22805]:       self._cmysql.query(
??? python[22805]:       ~~~~~~~~~~~~~~~~~~^
??? python[22805]:             query,
??? python[22805]:             ^^^^^^
??? python[22805]:       ...<3 lines>...
??? python[22805]:             query_attrs=self.query_attrs,
??? python[22805]:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
??? python[22805]:       )
??? python[22805]:       ^
??? python[22805]: _mysql_connector.MySQLInterfaceError: Query was empty
??? python[22805]: The above exception was the direct cause of the following exception:
??? python[22805]: Traceback (most recent call last):
??? python[22805]:    File "/opt/boswatch3/bw_server.py", line 79, in <module>
??? python[22805]:       if not bwRoutMan.buildRouters(bwConfig):
??? python[22805]:              ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
??? python[22805]:    File "/opt/boswatch3/boswatch/router/routerManager.py", line 77, in buildRouters
??? python[22805]:       loadedClass = importedFile.BoswatchPlugin(routeConfig)
??? python[22805]:    File "/opt/boswatch3/plugin/mysql.py", line 35, in __init__
??? python[22805]:       super().__init__(__name__, config)  # you can access the config class on 'self.config'
??? python[22805]:       ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
??? python[22805]:    File "/opt/boswatch3/plugin/pluginBase.py", line 54, in __init__
??? python[22805]:       self.onLoad()
??? python[22805]:       ~~~~~~~~~~~^^
??? python[22805]:    File "/opt/boswatch3/plugin/mysql.py", line 60, in onLoad
??? python[22805]:       self.cursor.execute(stmnt)
??? python[22805]:       ~~~~~~~~~~~~~~~~~~~^^^^^^^
??? python[22805]:    File "/opt/boswatch3/venv/lib/python3.13/site-packages/mysql/connector/cursor_cext.py", line 353, in execute
??? python[22805]:       self._connection.cmd_query(
??? python[22805]:       ~~~~~~~~~~~~~~~~~~~~~~~~~~^
??? python[22805]:             self._stmt_partition["mappable_stmt"],
??? python[22805]:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
??? python[22805]:       ...<2 lines>...
??? python[22805]:             raw_as_string=self._raw_as_string,
??? python[22805]:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
??? python[22805]:       )
??? python[22805]:       ^
??? python[22805]:    File "/opt/boswatch3/venv/lib/python3.13/site-packages/mysql/connector/opentelemetry/context_propagation.py", line 97, in wrapper
??? python[22805]:       return method(cnx, *args, **kwargs)
??? python[22805]:    File "/opt/boswatch3/venv/lib/python3.13/site-packages/mysql/connector/connection_cext.py", line 781, in cmd_query
??? python[22805]:       raise get_mysql_exception(
??? python[22805]:             err.errno, msg=err.msg, sqlstate=err.sqlstate
??? python[22805]:       ) from err
??? python[22805]: mysql.connector.errors.ProgrammingError: 1065 (42000): Query was empty
2025-11-21 17:42:38 +01:00
.github Potential fix for code scanning alert no. 2: Workflow does not contain permissions 2025-11-17 10:18:08 +01:00
boswatch Fix POCSAG decoding crash caused by invalid subric parsing 2025-10-22 09:59:59 +02:00
config Fehlerbehebung: Logging-Setup für Multi-Client-Betrieb korrigiert 2025-07-31 16:02:22 +02:00
docu Merge branch 'develop' into feature/telegram-neu 2025-10-21 13:39:04 +02:00
logo little adds and changes 2018-01-07 23:41:52 +01:00
module Update module/filter/doubleFilter.py 2025-06-11 10:22:12 +02:00
plugin (bugfix/mysql): Change: Remove whitespace and check for empty strings 2025-11-21 17:42:38 +01:00
test Avoid "DeprecationWarning: invalid escape sequence" 2023-09-19 17:49:09 +02:00
.gitignore save router run stats to stats file 2019-10-25 14:33:18 +02:00
build_docu.sh add docu build script 2019-09-19 17:34:59 +02:00
bw_client.py Fehlerbehebung: Logging-Setup für Multi-Client-Betrieb korrigiert 2025-07-31 16:02:22 +02:00
bw_server.py Avoid "DeprecationWarning: invalid escape sequence" 2023-09-19 17:49:09 +02:00
Dockerfile Update Dockerfile 2021-02-16 15:08:30 +01:00
FileHead.template.py Avoid "DeprecationWarning: invalid escape sequence" 2023-09-19 17:49:09 +02:00
init_db.sql Change spacing in init_db.sql and add comment on table creation 2021-03-04 12:40:57 +01:00
install.sh Update install.sh 2025-06-04 11:40:57 +02:00
install_service.py feat: Interaktives Installationsskript mit Mehrsprachigkeit, argparse und Logging 2025-08-08 21:12:17 +02:00
LICENSE Create LICENSE 2018-09-18 06:16:24 +02:00
pytest.sh fix some pep8 errors 2020-02-24 23:52:20 +01:00
README.md Update README.md 2021-02-03 10:46:12 +01:00
requirements.txt Update requirements.txt 2025-06-10 08:03:47 +02:00

BOSWatch

BOSWatch

pytest documentation CodeQL

Es wird darauf hingewiesen, dass für die Teilnahme am BOS-Funk nur nach den Technischen Richtlinien der BOS zugelassene Funkanlagen verwendet werden dürfen. Der BOS-Funk ist ein nichtöffentlicher mobiler Landfunk. Privatpersonen gehören nicht zum Kreis der berechtigten Funkteilnehmer. (Quelle: TR-BOS)

Documentation: https://docs.boswatch.de

Wenn dir dieses Projekt gefällt, gib uns bitte einen STAR


The intercept of the German BOS radio is strictly prohibited and will be prosecuted. The use is only permitted for authorized personnel.

If you like this project, please give us a STAR