WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Hplip  (Read 20832 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #15 on: April 06, 2020, 11:09:50 AM »
If you are using tinycore 11.x, you need the latest version of the hplip extension to get rid of the libcrypto error.

You can update the extension using the apps gui maintenance/check for updates menu.

I'll post an hplip-plugins extension tomorrow.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Hplip
« Reply #16 on: April 07, 2020, 01:10:58 AM »
I tried scanning with simple-scan:

Code: [Select]
tc@box:~$ simple-scan -d

(simple-scan:13923): dbind-WARNING **: 04:57:59.012: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[+0.00s] DEBUG: simple-scan.vala:638: Starting simple-scan 3.36.0, PID=13923
[+0.00s] DEBUG: posix_spawn avoided (fd close requested)
[+0.01s] DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
[+0.01s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.08s] DEBUG: _g_io_module_get_default: Found default implementation keyfile (GKeyfileSettingsBackend) for ‘gsettings-backend’
[+0.13s] DEBUG: app-window.vala:1908: Loading state from /home/tc/.cache/simple-scan/state
[+0.13s] DEBUG: app-window.vala:1887: Restoring window to 600x424 pixels
[+0.19s] DEBUG: scanner.vala:1541: sane_init () -> SANE_STATUS_GOOD
[+0.19s] DEBUG: scanner.vala:1547: SANE version 1.0.24
[+0.19s] DEBUG: scanner.vala:1608: Requesting redetection of scan devices
[+0.19s] DEBUG: scanner.vala:828: Processing request
[+0.32s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+1.59s] DEBUG: scanner.vala:341: sane_get_devices () -> SANE_STATUS_GOOD
[+1.59s] DEBUG: scanner.vala:353: Device: name="hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false" vendor="Hewlett-Packard" model="hp_color_laserjet_mfp_m477fdw" type="all-in-one"
[+1.69s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+38.47s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+38.55s] DEBUG: simple-scan.vala:455: Requesting scan at 300 dpi from device 'hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false'
[+38.55s] DEBUG: scanner.vala:1676: Scanner.scan ("hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false", dpi=300, scan_mode=ScanMode.COLOR, depth=8, type=single, paper_width=2159, paper_height=2794, brightness=0, contrast=0, delay=3000ms)
[+38.55s] DEBUG: scanner.vala:828: Processing request
[+38.56s] DEBUG: posix_spawn avoided (fd close requested)
[+38.57s] DEBUG: scanner.vala:889: sane_open ("hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false") -> SANE_STATUS_IO_ERROR
[+38.57s] WARNING: scanner.vala:893: Unable to open device: Error during device I/O
[+38.87s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+42.06s] DEBUG: app-window.vala:1983: Saving state to /home/tc/.cache/simple-scan/state
[+42.06s] DEBUG: autosave-manager.vala:201: Deleting autosave records
[+42.06s] DEBUG: scanner.vala:1704: Stopping scan thread
[+42.06s] DEBUG: scanner.vala:828: Processing request
[+42.06s] DEBUG: scanner.vala:1715: sane_exit ()
tc@box:~$

The first message seems like a problem, but I don't know if it's preventing scanning or not. It sees the scanner, but can't open it. A reason would be helpful. Dbus and cups are running as I can print a test page.

Code: [Select]
tc@box:~$ ps faux|awk '$5'
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   3936   284 ?        Ss   Apr05   0:00 /sbin/init
root       317  0.0  0.0   4592  4056 ?        Ss   Apr05   0:03 /sbin/udevd --daemon
root     13784  0.0  0.0   4476  3880 ?        S    04:55   0:00  \_ /sbin/udevd --daemon
root     13785  0.0  0.0   4476  3884 ?        S    04:55   0:00  \_ /sbin/udevd --daemon
root       614  0.0  0.0   3936   108 ?        Ss   Apr05   0:00 /sbin/syslogd
root       616  0.0  0.0   3936   104 ?        Ss   Apr05   0:00 /sbin/klogd
tc        4967  0.0  0.0   4016  2548 tty1     Ss+  Apr05   0:00 -sh
tc        4999  0.0  0.0 240412  1492 ?        Ssl  Apr05   0:02 vmhgfs-fuse -o allow_other .host:/andy-home /mnt/hgfs/andy-home
root      5304  0.0  0.0   3936   112 ?        Ss   Apr05   0:00 /sbin/udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
root      5465  0.1  0.8 260928 72896 tty2     Ssl+ Apr05   2:22 /usr/local/lib/xorg/Xorg -nolisten tcp
tc        5469  0.0  0.0  25124  7144 tty1     S    Apr05   0:03 flwm
tc        5504  0.1  0.5 232804 48968 tty1     Sl   Apr05   3:23 /usr/local/bin/vmtoolsd -n vmusr
tc        5533  0.0  0.0   6692  2224 tty1     S    Apr05   0:00 dbus-launch --autolaunch 24856ab4d1cf4fa9363cbed05e8a3ead --binary-syntax --close-stderr
tc        5547  0.0  0.1  31372 10848 tty1     S    Apr05   0:08 urxvt
tc        5548  0.0  0.0   4016  2604 pts/0    Ss+  Apr05   0:00  \_ sh
tc       11349  0.0  0.0  21660  7932 pts/0    S    04:21   0:00 apps
tc       12241  0.0  0.1  56552  8756 pts/0    S    04:22   0:00 wbar
tc       13910  0.0  0.1  30136  8592 pts/0    S    04:57   0:00  \_ urxvt
tc       13911  0.0  0.0   4016  2488 pts/1    Ss   04:57   0:00      \_ sh
tc       13930  0.0  0.0  15092  2816 pts/1    R+   05:05   0:00          \_ ps faux
tc       13931  0.0  0.0   3936   956 pts/1    S+   05:05   0:00          \_ awk $5
tc       13438  0.0  0.0   5412  1944 ?        Ss   04:31   0:00 /usr/local/bin/dbus-daemon --system
tc       13444  0.0  0.1 253580  9868 ?        Sl   04:31   0:00 /usr/local/lib/colord/colord
root     13463  0.0  0.0 111064  6740 ?        Ssl  04:34   0:00 /usr/local/sbin/cupsd -C /usr/local/etc/cups/cupsd.conf -s /usr/local/etc/cups/cups-files.conf
root     13684  0.0  0.0   6692  2296 pts/0    S    04:46   0:00 dbus-launch --autolaunch 24856ab4d1cf4fa9363cbed05e8a3ead --binary-syntax --close-stderr
root     13685  0.0  0.0   5388  2060 ?        Ss   04:46   0:00 /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
root     13687  0.0  0.0 230364  5012 ?        Sl   04:46   0:00 /usr/local/lib/at-spi2-core/at-spi-bus-launcher
root     13691  0.0  0.0   5280  2404 ?        S    04:46   0:00  \_ /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
root     13699  0.0  0.0 162020  6196 ?        Sl   04:46   0:00 /usr/local/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
tc@box:~$

It works in Slackware so I know it's possible, but there I'm using sane and gimp.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #17 on: April 07, 2020, 01:53:52 AM »
I think you can ignore the error message, it's something to do with atk/at-spi2.

Has the hplip firmware been loaded in slackware?

Have you tried hp-scan in tinycore?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #18 on: April 07, 2020, 02:14:20 AM »
hplip-plugins extension posted - note that I don't have the hardware to test

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #19 on: April 07, 2020, 04:26:13 AM »
I get a similiar error if I don't do "hp-makeuri printer_ip_address" first.
« Last Edit: April 07, 2020, 04:36:56 AM by Juanito »

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #20 on: April 07, 2020, 11:03:12 AM »
Good work guys, but something new.

I updated hplip and ghostscript. After loading hplip and trying hp-info,
the new error is 'can't execute python3: no such file or directory.'

Printer still shows the 'filter failed' in the job.

tce-load -wi hp-plugins - yields no such file or directory.
brent



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #21 on: April 07, 2020, 11:20:01 AM »
How did you update hplip? If you used the apps gui it should have downloaded the new dep file, which would download python3.6.

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #22 on: April 07, 2020, 10:10:10 PM »
yes, after updating hplip, hp-info now shows a python3 error instead of the libcryptoso.


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14826
Re: Hplip
« Reply #23 on: April 08, 2020, 12:34:49 AM »
You don't say if you're using x86 or x86_64, but the x86 hplip dep file says this:
Code: [Select]
cups.tcz
ghostscript.tcz
dbus-python3.6.tcz
libsane.tcz
net-snmp.tcz
..which means that python3.6 will be loaded when you load hplip.

What do you get from this command:
Code: [Select]
$ tce-status -i | grep python
Note also that user @andyj confirms he can now load plugins for his printer

Offline techsuper

  • Newbie
  • *
  • Posts: 34
Re: Hplip
« Reply #24 on: April 08, 2020, 10:25:04 PM »
I had updated hplip using your instructions.
(You can update the extension using the apps gui maintenance/check for updates menu)
Which cured the libcrypto error but created the python error.

I just ran the command tce-load -wi hp-plugins, which looks like it installed/updated hplip-plugins, dbus-python3.6, and python3.6.

Typing hp-info now reads HP LINUX Imaging and Printing System.....yada yada.....
last line is in Red. error: No device found that support this feature.

uname-a shows an i686, which I believe is 32 bit.
(how else is this achieved?)

tce-status -i | grep python
yeilds  dbus-python3.6

installing the printer using the p1505 or the p1505n driver still yields it clicking twice, the job showing the 'filter failed' with no print out. The same test to a networked p3005 yields the Data light flashing, shows Processing, goes Ready and nothing prints. The job has the same "filter failed" error.

thanks,
stay safe
brent

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11658
Re: Hplip
« Reply #25 on: April 08, 2020, 10:47:40 PM »
Hi techsuper
... I just ran the command tce-load -wi hp-plugins, which looks like it installed/updated hplip-plugins, dbus-python3.6, and python3.6. ...
No,  tce-load  does not update anything.

Run these commands:
Code: [Select]
tce-audit builddb
tce-audit updatedeps
tce-audit fetchmissing
tce-update
Click the  Exit  icon and select reboot.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Hplip
« Reply #26 on: April 08, 2020, 11:43:12 PM »
I updated my extensions per @Rich, rebooted, loaded hplip-plugins, and tried hp-scan. It needs python3.6-pillow in one of the deps, and dbus needs to be restarted for some reason. After that, I get this:

Code: [Select]
tc@box:~$ hp-scan -m color -o scan1.jpg

HP Linux Imaging and Printing System (ver. 3.20.3)
Scan Utility ver. 2.2

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device hpaio:/net/hp_color_laserjet_mfp_m477fdw?ip=192.168.3.77&queue=false
Opening connection to device...

Resolution: 300dpi
Mode: color
Compression: JPEG
Scan area (mm):
  Top left (x,y): (0.000000mm, 0.000000mm)
  Bottom right (x,y): (215.899994mm, 296.925995mm)
  Width: 215.899994mm
  Height: 296.925995mm
Destination(s): file
Output file: /home/tc/scan1.jpg

Warming up...                                                                                                                 

Scanning...
Reading data: [*****************************************************************************************] 100%  25.6 MB   
Read 25.6 MB from scanner.
Closing device.

Outputting to destination 'file':

Done.

I didn't even have to give it a device. The one it remembers from cups is apparently good enough. Results seem a little muddy, but it works well enough for not having tweaked it at all.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11658
Re: Hplip
« Reply #27 on: April 08, 2020, 11:51:02 PM »
Hi andyj
... and dbus needs to be restarted for some reason. ...
Its been awhile, but this has come up before. The  dbus-daemon  does not automatically get started when  dbus.tcz  is installed.

Offline andyj

  • Hero Member
  • *****
  • Posts: 1036
Re: Hplip
« Reply #28 on: April 09, 2020, 12:11:28 AM »
It is running, just something isn't right until I restart it. Strace just tells me it's broken.

Dbus is running right after I boot:

Code: [Select]
tc@box:~$ ps faux|awk '$5'
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  1.2  0.0   3936   288 ?        Ss   03:57   0:00 /sbin/init
root       316  2.6  0.0   4840  4336 ?        Ss   03:57   0:01 /sbin/udevd --daemon
root      2425  0.0  0.0   4840  4244 ?        S    03:57   0:00  \_ /sbin/udevd --daemon
root      2458  0.0  0.0   4840  4236 ?        S    03:57   0:00  \_ /sbin/udevd --daemon
root       577  0.0  0.0   3936   108 ?        Ss   03:57   0:00 /sbin/syslogd
root       579  0.0  0.0   3936   100 ?        Ss   03:57   0:00 /sbin/klogd
tc        4981  0.0  0.0   4016  2456 tty1     Ss+  03:57   0:00 -sh
tc        5026  0.0  0.0 100852   640 ?        Ssl  03:57   0:00 vmhgfs-fuse -o allow_other .host:/andy-home /mnt/hgfs/andy-home
root      5093  0.0  0.0   3936   108 ?        Ss   03:57   0:00 /sbin/udhcpc -b -i eth0 -x hostname:box -p /var/run/udhcpc.eth0.pid
root      5492  4.2  0.6 241364 53344 tty2     Ssl+ 03:57   0:01 /usr/local/lib/xorg/Xorg -nolisten tcp
tc        5496  0.3  0.0  24700  6364 tty1     S    03:57   0:00 flwm
tc        5528  0.7  0.6 232676 49096 tty1     Sl   03:57   0:00 /usr/local/bin/vmtoolsd -n vmusr
tc        5554  0.3  0.1  56376  8664 tty1     S    03:57   0:00 wbar
tc        5574  0.4  0.1  30984 10140 tty1     S    03:57   0:00  \_ urxvt
tc        5575  0.0  0.0   4016  2452 pts/0    Ss   03:57   0:00      \_ sh
tc        5591  0.0  0.0  15092  2820 pts/0    R+   03:58   0:00          \_ ps faux
tc        5592  0.0  0.0   3936   956 pts/0    S+   03:58   0:00          \_ awk $5
tc        5560  0.0  0.0   6692  2304 tty1     S    03:57   0:00 dbus-launch --autolaunch 9fc2c0577895299f3544eb305e8e9d31 --binary-syntax --close-stderr
tc        5561  0.0  0.0   5272  2056 ?        Ss   03:57   0:00 /usr/local/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
tc        5563  0.0  0.0 230380  5276 ?        Sl   03:57   0:00 /usr/local/lib/at-spi2-core/at-spi-bus-launcher
tc        5567  0.0  0.0   5280  2404 ?        S    03:57   0:00  \_ /usr/local/bin/dbus-daemon --config-file=/usr/local/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
tc        5569  0.0  0.0 162020  6208 ?        Sl   03:57   0:00 /usr/local/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
tc@box:~$

This is what strace says on the first try. Looks OK initially, but then it goes wrong (first bazillion lines snipped):

Code: [Select]
write(1, "\n", 1
)                       = 1
write(1, "Resolution: 300dpi\n", 19Resolution: 300dpi
)    = 19
write(1, "Mode: color\n", 12Mode: color
)           = 12
write(1, "Compression: JPEG\n", 18Compression: JPEG
)     = 18
write(1, "Scan area (mm):\n", 16Scan area (mm):
)       = 16
write(1, "  Top left (x,y): (0.000000mm, 0.000000mm)\n", 43  Top left (x,y): (0.000000mm, 0.000000mm)
) = 43
write(1, "  Bottom right (x,y): (215.899994mm, 296.925995mm)\n", 51  Bottom right (x,y): (215.899994mm, 296.925995mm)
) = 51
write(1, "  Width: 215.899994mm\n", 22  Width: 215.899994mm
) = 22
write(1, "  Height: 296.925995mm\n", 23  Height: 296.925995mm
) = 23
write(1, "Destination(s): file\n", 21Destination(s): file
)  = 21
write(1, "Output file: /home/tc/scan3.jpg\n", 32Output file: /home/tc/scan3.jpg
) = 32
write(1, "\nWarming up...", 14
Warming up...)         = 14
write(1, "\n", 1
)                       = 1
ioctl(1, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "\10 \10", )                  = 3
write(1, "\n", 1
)                       = 1
write(1, "\nScanning...", 12
Scanning...)           = 12
write(1, "\n", 1
)                       = 1
getpid()                                = 7396
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(8289), sin_addr=inet_addr("192.168.3.77")}, 16) = 0
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999995})
sendto(4, "POST / HTTP/1.1\r\nHost: http:0\r\nUser-Agent: gSOAP/2.7\r\nContent-Type: application/soap+xml; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 154, 0, NULL, 0) = 154
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999998})
sendto(4, "5ee\r\n", 5, 0, NULL, 0)     = 5
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999998})
sendto(4, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org"..., 1518, 0, NULL, 0) = 1518
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999998})
sendto(4, "\r\n0\r\n\r\n", 7, 0, NULL, 0) = 7
select(5, [4], NULL, NULL, {45, 0})     = 1 (in [4], left {42, 466271})
recvfrom(4, "HTTP/1.1 202 ACCEPTED\r\nServer: gSOAP/2.7\r\nContent-Type: application/soap+xml; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 4096, 0, NULL, NULL) = 142
select(5, [4], NULL, NULL, {45, 0})     = 1 (in [4], left {44, 999859})
recvfrom(4, "5C7\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w"..., 4096, 0, NULL, NULL) = 1448
select(5, [4], NULL, NULL, {1, 0})      = 1 (in [4], left {0, 998341})
recvfrom(4, "</SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n0\r\n\r\n", 4096, 0, NULL, NULL) = 43
close(4)                                = 0
nanosleep({0, 100000000}, NULL)         = 0
getpid()                                = 7396
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(8289), sin_addr=inet_addr("192.168.3.77")}, 16) = 0
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999994})
sendto(4, "POST / HTTP/1.1\r\nHost: http:0\r\nUser-Agent: gSOAP/2.7\r\nContent-Type: application/soap+xml; charset=utf-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 154, 0, NULL, 0) = 154
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999997})
sendto(4, "1f3\r\n", 5, 0, NULL, 0)     = 5
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999998})
sendto(4, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org"..., 499, 0, NULL, 0) = 499
select(5, NULL, [4], NULL, {45, 0})     = 1 (out [4], left {44, 999998})
sendto(4, "\r\n0\r\n\r\n", 7, 0, NULL, 0) = 7
select(5, [4], NULL, NULL, {45, 0})     = 1 (in [4], left {41, 298280})
recvfrom(4, "HTTP/1.1 200 OK\r\nServer: gSOAP/2.7\r\nContent-Type: application/dime\r\nTransfer-Encoding: chunked\r\nConnection: close\r\n\r\n", 4096, 0, NULL, NULL) = 117
select(5, [4], NULL, NULL, {45, 0})     = 1 (in [4], left {44, 997132})
recvfrom(4, "800\r\n\f \0\0\0\7\0'\0\0\1\314cid:id0\0http://www.w3.org/2003/05/soap-envelope\0<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC=\"http://www.w3.org/2003/05/soap-encoding\" xmlns:xsi=\"http:/"..., 4096, 0, NULL, NULL) = 1453
getuid()                                = 1001
openat(AT_FDCWD, "/etc/passwd", O_RDONLY|O_CLOEXEC) = 5
lseek(5, 0, SEEK_CUR)                   = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=211, ...}) = 0
read(5, "root:x:0:0:root:/root:/bin/sh\nlp:x:7:7:lp:/var/spool/lpd:/bin/sh\nnobody:x:65534:65534:nobody:/nonexistent:/bin/false\ntc:x:1001:50:Linux User,,,:/home/tc:/bin/sh\nandy:x:1000:1000:Linux User,,,:/home/andy:/bin/sh\n", 4096) = 211
close(5)                                = 0getpid()                                = 7396
write(2, "dbus[7396]: ", 12dbus[7396]: )            = 12
write(2, "arguments to dbus_connection_send() were incorrect, assertion \"connection != NULL\" failed in file dbus-connection.c line 3307.\nThis is normally a bug in some application using the D-Bus library.\n", 195arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3307.
This is normally a bug in some application using the D-Bus library.
) = 195
write(2, "\n", 1
)                       = 1
write(2, "  D-Bus not built with -rdynamic so unable to print a backtrace\n", 64  D-Bus not built with -rdynamic so unable to print a backtrace
) = 64
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid()                                = 7396
gettid()                                = 7396
tgkill(7396, 7396, SIGABRT)             = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=7396, si_uid=1001} ---
+++ killed by SIGABRT +++
Aborted

After I "sudo /usr/local/etc/init.d/dbus restart" hp-scan works as expected. The "your app is buggy" position doesn't hold much water when it works after dbus is restarted.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11658
Re: Hplip
« Reply #29 on: April 09, 2020, 12:36:57 AM »
Hi andyj
... Dbus is running right after I boot: ...
I'm running TC10 x86 and  /usr/local/tce.installed/dbus  sets up a couple of directories but does not start  dbus.  Maybe another
extension, bootlocal.sh, or something in ~/.X.d is starting it.