Skip to main content

An advanced D-Bus Debugger

Project description

jdDBusDebugger

An advanced D-Bus Debugger

jdDBusDebugger

jdDBusDebugger allows you to debug your D-Bus Interfaces with a easy to use GUI.Everything can be done from the GUI. No need to learn commandline tools.

jdDBusDebugger has macro support. It allows you to save all that you have done and repeat it to speed up your tests. You can also generate a shell script from your macros.

Install

Flatpak

You can get jdDBusDebugger from Flathub

AUR

Arch Users can get jdDBusDebugger from the AUR

pip

You can install jdDBusDebugger from PyPI using pip:

pip install jdDBusDebugger

Using this Method, it will not include a Desktop Entry or any other Data file, so you need to runjdDBusDebuggerfrom the Command Line. Use this only, when nothing else works.

From source

This is only for experienced Users and someone, who wants to packagejdDBusDebuggerfor a Distro. jdDBusDebugger should be installed as a Python package. You can use pip or any other tool that can handle Python packages. YOu need to have lrelease installed to build the Package. After that, you should run install-unix-datafiles.py which wil install things like the Desktop Entry or the Icon in the correct place. It defaults to /usr, but you can change it with the --prefix argument. It also applies the translation to this files. You need gettext installed to run install-unix-datafiles.py.

Here's a example of installingjdDBusDebuggerinto /usr/local:

sudo pip install --prefix /usr/local .
sudo ./install-unix-datafiles.py --prefix /usr/local

Translate

You can help translatingjdDBusDebuggeron Codeberg Translate

Develop

jdDBusDebugger is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both. You can run jdDBusDebugger.pyto startjdDBusDebuggerfrom source and test your local changes. It ships with a few scripts in the tools directory that you need to develop.

CompileUI.py

This is the most important script. It will take all .ui files in jdDBusDebugger/ui and compiles it to a Python class and stores it in jdDBusDebugger/ui_compiled. Without running this script first, you can't start jdDBusDebugger. You need to rerun it every time you changed or added a .ui file.

BuildTranslations.py

This script takes all .ts files and compiles it to .qm files. The .ts files are containing the translation source and are being used during the translation process. The .qm contains the compiled translation and are being used by the Program. You need to compile a .ts file to a .qm file to see the translations in the Program.

UpdateTranslations.py

This regenerates the .ts files. You need to run it, when you changed something in the source code. The .ts files are contains the line in the source, where the string to translate appears, so make sure you run it even when you don't changed a translatable string, so the location is correct.

UpdateUnixDataTranslations.py

This regenerates the translation files in deploy/translations. these files contains the translations for the Desktop Entry and the AppStream File. It uses gettext, as it is hard to translate this using Qt. These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file. Make sure you run this when you edited one of these files. You need to have gettext installed to use it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jddbusdebugger-4.0.tar.gz (197.5 kB view details)

Uploaded Source

Built Distribution

jdDBusDebugger-4.0-py3-none-any.whl (229.9 kB view details)

Uploaded Python 3

File details

Details for the file jddbusdebugger-4.0.tar.gz.

File metadata

  • Download URL: jddbusdebugger-4.0.tar.gz
  • Upload date:
  • Size: 197.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for jddbusdebugger-4.0.tar.gz
Algorithm Hash digest
SHA256 0474101b147ac5885b7c31ec29a6a587c2ef0b3ca877aa47d389833d58e9510c
MD5 8d562dd8d6dd01ac024c73476a4e21c0
BLAKE2b-256 35413cb6b1d4eb01c32a69f6b46cb529396bb00692ff09b3be5fb92e6488f263

See more details on using hashes here.

File details

Details for the file jdDBusDebugger-4.0-py3-none-any.whl.

File metadata

  • Download URL: jdDBusDebugger-4.0-py3-none-any.whl
  • Upload date:
  • Size: 229.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for jdDBusDebugger-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89155036ec069ae0e5dae4d965b9f78a22bb0ebb5a8ae37dd85bf0057634f2b5
MD5 d8d33941a6ac6d2a6898f13173516b00
BLAKE2b-256 518f33a387c499f09c9150b2f6e16caae1405029826db79b9a3a739475aa0244

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page