labelle-org / labelle

Label printing software
Apache License 2.0
49 stars 8 forks source link

Arch dbus-broker #92

Open EmJotGeh opened 6 days ago

EmJotGeh commented 6 days ago

Arch uses dbus-broker by default and I get the following error message from Labelle.

qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
Check your DBus installation.

Unfortunately no printout is possible.

maresb commented 6 days ago

Hi @EmJotGeh, thanks for the report! Could you please provide more details? What command exactly are you running? What happens if you add the --verbose flag? What specifically do you mean when you write "Unfortunately no printout is possible"?

EmJotGeh commented 4 days ago

Hi @maresb, i tried the following commands:

labelle -v hello world

DEBUG] Read config file: /root/.config/labelle.ini
[DEBUG] Found single device
[DEBUG] <DEVICE ID 0922:1002 on Bus 001 Address 011>
  manufacturer: Dymo
  product: DYMO LabelManager PnP
  serial: 000000000000000 
  configurations:
  - <CONFIGURATION 1: 500 mA>
    interfaces:
    - <INTERFACE 0: Printer>
    - <INTERFACE 1: Mass Storage>
    - <INTERFACE 2: Human Interface Device>

[DEBUG] Recognized device as LabelManager PnP (mode switch)
[DEBUG] Active device configuration already found.
[DEBUG] Opened printer interface: <INTERFACE 0: Printer>
[DEBUG] Printing label..
[DEBUG] Sending chunk of 573 bytes
[DEBUG] Sending chunk of 567 bytes
[DEBUG] Sending chunk of 517 bytes
[DEBUG] Post-send response: [64, 0, 130, 0, 9, 80, 0, 0]
[DEBUG] Done printing.
[DEBUG] Cleaned up.

no output printed.

labelle-gui

qt.qpa.theme.dbus: Session DBus not running.
qt.qpa.theme.dbus: Application will not react to setting changes.
 Check your DBus installation.

the gui is starting but no printouts are possible.

maresb commented 4 days ago

Thanks @EmJotGeh for the additional context.

To confirm, despite the Done printing. message when you run labelle -v hello world, no label is printed?

Could you please try labelle-gui -v?

Could you please provide a screenshot of the GUI?

When did this problem start? Did it used to work for you earlier?

Have you verified that your device can print via some other means? Like could it be possible that your printer is broken?