Head alignment dont work (HPLIP 3.17.4)

Bug #1690516 reported by Dusan Kazik
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned

Bug Description

When i try to align printing heads on my DeskJet 3775, i am able only to print alignment page and then hplip crashes (hplip window just closes itself)

Here is output of hp-align command:

[dusan@dusan-home ~]$ hp-align

HP Linux Imaging and Printing System (ver. 3.17.4)
Printer Cartridge Alignment Utility ver. 5.0

Copyright (c) 2001-15 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 : hp:/net/DeskJet_3700_series?ip=192.168.0.101

Traceback (most recent call last):
  File "/usr/share/hplip/ui5/aligndialog.py", line 454, in NextButton_clicked
    self.nextSequence()
  File "/usr/share/hplip/ui5/aligndialog.py", line 484, in nextSequence
    seq(*t)
  File "/usr/share/hplip/base/maint.py", line 722, in AlignType15Phase1
    return dataModelHelper(dev, dev.getEWSUrl_LEDM, ui2)
  File "/usr/share/hplip/base/maint.py", line 688, in dataModelHelper
    data = string.split(data, "/Jobs")[1]
AttributeError: module 'string' has no attribute 'split'

Revision history for this message
Ajay Kedar (ajay-kedar) wrote :

Hi,

The fix for this issue will be provided in the next release

Regards,
Ajay

Changed in hplip:
status: New → In Progress
status: In Progress → Fix Committed
Changed in hplip:
status: Fix Committed → Fix Released
Revision history for this message
Bartłomiej Garbiec (garbulix) wrote :

Hi,

I have the same problem - I cannot align printer heads in the same printer. It exist on many distros: Fedora 32, Fedora 31, Linux Mint 20 (hplip 3.20) and elementary 5.1 (hplip 3.17.10).

Is that problem related with python2->python3 migration? Elementary seems to have python 2.7 installed.

```
Traceback (most recent call last):
  File "/usr/bin/hp-align", line 225, in <module>
    maint.AlignType17(d, tui.load_paper_prompt, aioUI2)
  File "/usr/share/hplip/base/maint.py", line 728, in AlignType17
    return dataModelHelper(dev, dev.getUrl_LEDM, ui2)
  File "/usr/share/hplip/base/maint.py", line 688, in dataModelHelper
    data = string.split(data, "/Jobs")[1]
AttributeError: module 'string' has no attribute 'split'
```

PS. I've clicked status "Fix Released" accidentally and I don't know if it saved the status for this bug globally - I can't revert that change, because now I don't have enough permissions.

Revision history for this message
kostyarin (k-i-r) wrote :

Hi,
I Have the same on Arch with hplip 3.20.9. Has no attribute 'split'...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.