← Back to team overview

desktop-packages team mailing list archive

[Bug 1422004] Re: pkservice.py crashed with AttributeError in __init__(): 'module' object has no attribute 'MainLoop'

 

Denys, the info at the link you provide seems to relate more to running
the gui hp-setup; or am I missing something?

This bug affects me as "something" - cups?  I dunno - is running hp-
setup automagically and behind the scenes.

I have tried running hp-setup -i from the command line.  When I use it
to attempt to install my laserjet P1102w, I get as far as starting the
download for the plugin, and then this happens:

    Creating directory plugin_tmp
    Verifying archive integrity... All good.
    Uncompressing HPLIP 3.15.2 Plugin Self Extracting Archive...............................
    Error importing HPLIP modules.  Is HPLIP installed?
    error: Python gobject/dbus may be not installed

Done.

The same thing appears to happen when I try to install my other
laserjet, an M1212nf_MFP.

I have looked for the string error: Python gobject/dbus may be not
installed on Google.  It seems that this may arise when Python 3 is the
default, but running python -V from the command line tells me that the
default on my system is 2.7.9.

This link https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600360
suggests that I may be missing package python-gobject.

Looking in Synaptic, I see I have both python-gobject and python-
gobject2 installed.

Is it possible that somehow the new Python3 gobject is interfering with
hp-setup?  I don't feel great about the idea of removing python-gobject
to find out...

Willing to experiment here if anyone has any ideas... and as Shahar Or
mentions, there is no printing happening here at this time...


** Bug watch added: Debian Bug tracker #600360
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600360

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to hplip in Ubuntu.
https://bugs.launchpad.net/bugs/1422004

Title:
  pkservice.py crashed with AttributeError in __init__(): 'module'
  object has no attribute 'MainLoop'

Status in HP Linux Imaging and Printing:
  New
Status in hplip package in Ubuntu:
  Confirmed

Bug description:
  Crash on startup

  ProblemType: Crash
  DistroRelease: Ubuntu 15.04
  Package: hplip-data 3.15.2-0ubuntu2
  ProcVersionSignature: Ubuntu 3.16.0-22.29-generic 3.16.4
  Uname: Linux 3.16.0-22-generic x86_64
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: amd64
  CupsErrorLog: E [14/Feb/2015:19:56:52 +0100] Unable to open listen socket for address [v1.::1]:631 - Cannot assign requested address.
  Date: Sat Feb 14 05:59:51 2015
  ExecutablePath: /usr/share/hplip/pkservice.py
  InstallationDate: Installed on 2014-05-08 (282 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  InterpreterPath: /usr/bin/python3.4
  Lpstat:
   device for HP-Deskjet-1000-J110-series: usb://HP/Deskjet%201000%20J110%20series?serial=CN33A18VXG05YD
   device for PDF: cups-pdf:/
  MachineType: Acer Aspire 5943G
  PackageArchitecture: all
  Papersize: a4
  PpdFiles:
   HP-Deskjet-1000-J110-series: HP Deskjet 1000 j110 Series, hpcups 3.15.2
   PDF: Generic CUPS-PDF Printer
  ProcCmdline: /usr/bin/python3 /usr/bin/hp-pkservice
  ProcEnviron:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-22-generic root=UUID=e9be64c9-5b7e-438a-ac82-6b89bf946a86 ro quiet splash vt.handoff=7
  PythonArgs: ['/usr/bin/hp-pkservice']
  SourcePackage: hplip
  Title: pkservice.py crashed with AttributeError in __init__(): 'module' object has no attribute 'MainLoop'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:
   
  dmi.bios.date: 10/21/2010
  dmi.bios.vendor: Acer
  dmi.bios.version: V1.15
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: Aspire 5943G
  dmi.board.vendor: Acer
  dmi.board.version: V1.15
  dmi.chassis.type: 10
  dmi.chassis.vendor: Acer
  dmi.chassis.version: V1.15
  dmi.modalias: dmi:bvnAcer:bvrV1.15:bd10/21/2010:svnAcer:pnAspire5943G:pvrV1.15:rvnAcer:rnAspire5943G:rvrV1.15:cvnAcer:ct10:cvrV1.15:
  dmi.product.name: Aspire 5943G
  dmi.product.version: V1.15
  dmi.sys.vendor: Acer

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1422004/+subscriptions