On 2015-06-06 Sat 09:46 AM |, Craig Skinner wrote:
> Hi,
> 
> I've found installing the OpenPrinting HPLIP plugins
> with their python script needs py-gobject installed.
> 

So as to not clutter the last mail, here's steps to show the dep:

$ cd $(mktemp -d)
$ umask 022
$ sudo pkg_delete py-gobject
$ sudo /etc/rc.d/dbus_daemon restart
$ sudo /etc/rc.d/avahi_daemon restart
$ sudo /etc/rc.d/cupsd restart 
$ ftp 
http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-3.15.4-plugin.run
$ sh hplip-3.15.4-plugin.run --keep --nox11 --noexec
$ cd plugin_tmp/
$ patch plugin_install.py /tmp/plugin_install.py.patch # attached here
$ python ./plugin_install.py -g -i
....
...
..

error: Unable to load pkit...is HPLIP installed?
error: No module named gobject

162c162
< except ImportError:
---
> except ImportError, e:
163a164
>     log.error(e)

Reply via email to