Jump to content
nogood

Entware 3-x настройка HPLIP

Recommended Posts

Пытаюсь настроить sane по сети. Но всё упирается в hplip. Ставлю версию из репозитория opkg. Получаю:

Скрытый текст



~ # hp-setup
warning: python-dbus not installed.
error: Unable to locate models.dat file

HP Linux Imaging and Printing System (ver. 0.0.0)
Printer/Fax Setup Utility ver. 9.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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


Using connection type: usb

Traceback (most recent call last):
  File "/opt/bin/hp-setup", line 375, in <module>
    device_uri = mod.getDeviceUri(devices = device.probeDevices(bus))
  File "/opt/share/hplip/base/device.py", line 578, in probeDevices
    mq = queryModelByModel(model)
  File "/opt/share/hplip/base/device.py", line 447, in queryModelByModel
    return model_dat[model]
  File "/opt/share/hplip/base/models.py", line 544, in __getitem__
    if self.read_section(self.released_dat, model):
  File "/opt/share/hplip/base/models.py", line 454, in read_section
    fd = open(filename)
TypeError: coercing to Unicode: need string or buffer, NoneType found


 

Ок, хотя при поиске ошибки - её уже пофиксили несколько версий назад.

Пробую скачать плагин чере hp-plugin, получаю:

Скрытый текст

~ # hp-plugin
warning: python-dbus not installed.
error: Unable to locate models.dat file

HP Linux Imaging and Printing System (ver. 0.0.0)
Plugin Download and Install Utility ver. 2.1

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.

warning: It is not recommended to run 'hp-plugin' in a root mode.

HP Linux Imaging and Printing System (ver. 0.0.0)
Plugin Download and Install Utility ver. 2.1

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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


----------------------------------------
| PLUG-IN INSTALLATION FOR HPLIP 0.0.0 |
----------------------------------------

  Option      Description
  ----------  --------------------------------------------------
  d           Download plug-in from HP (recommended)
  p           Specify a path to the plug-in (advanced)
  q           Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ? d

-------------------
| DOWNLOAD PLUGIN |
-------------------

Checking for network connection...                                                            error: Network connection not detected.

 

Интернет, ясное дело, есть. Но, судя по всему, тут проблема, что утилита сама не может определить свою версию.

Что делать?

Share this post


Link to post
Share on other sites

Требуемые плагины, наверняка проприетарные, собранные под архитектуру intel, а у Вас mipsel. Даже если скачаются, скорее всего не заработают.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...