I did a fresh install and was able to recreate the problem.  I was also
able to see why it didn't work, and what to do.  I'll attach the
typescript, but I can summarize pretty well

I started with "gksudo hp-setup" as advised, and got error messages
suggesting trying --qt3 and -i

I tried -i thusly: "gksudo hp-setup -i" and got a long error response.
This is what caused me to file a bug.

What I should have tried was "hp-setup -i"     That is, without the
"gksudo"; it asks for a password in a GUI dialog(!) but otherwise
proceeds sanely.  Because of the GUI dialog, it might have failed in a
console login, but I didn't try that.

How I should have know that, and why it makes a difference are opaque to
me.  They may be opaque to other users.  Please give them some help with
more sane advice in the error messages.

The typescript contains the results of three commands (all three fail)
gksudo hp-setup
gksudo hp-setup --qt3
gksudo hp-setup -i


** Attachment added: "typescript of the messages I got"
   
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1239807/+attachment/3881280/+files/hplip-failure-typescript

-- 
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/1239807

Title:
  hp-setup components need Qt4, but don't pull it in

Status in “hplip” package in Ubuntu:
  Incomplete

Bug description:
  Simple version: hp-setup(1) emits error messages relating to Qt4.
  Synaptic shows I have no Qt4 packages installed.  Shouldn't the
  "hplip" package bring it in if it needs it?

  Details:
  Starting a fresh install of Xubuntu 13.04 64-bit, and configuring my printer.

  https://help.ubuntu.com/community/HPPrinterInstallation advises "gksudo 
hp-setup" which fails with complicated error messages, including the variations
    531  gksudo hp-setup
    532  gksudo --qt3 hp-setup
    533  gksudo -i hp-setup
    534  gksudo  hp-setup --qt3
    535  man gksudo
    536  gksudo  'hp-setup --qt3'
  But the error message from the last of these suggested a way to do the setup 
directly:
    537  hp-setup -i 10.0.0.104
  This worked sort of -- at least my printer seems to work now.  The above are 
annoyances, but I'm not sure how to file bugs against them.

  The bug is related to the messages that came during the successful
  run:

  warning: Qt/PyQt 4 initialization failed.
  error: hp-testpage -u/--gui requires Qt4 GUI support. Entering interactive 
mode.

  and

  warning: Qt/PyQt 4 initialization failed.
  error: hp-systray requires Qt4 GUI and DBus support. Exiting.
  warning: Unable to connect to dbus. Is hp-systray running?

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: hplip 3.13.3-1ubuntu0.1
  ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
  Uname: Linux 3.8.0-31-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  CupsErrorLog:
   E [14/Oct/2013:11:05:47 -0700] [cups-driverd] Bad driver information file 
"/usr/share/cups/drv/cupsfilters.drv"!
   W [14/Oct/2013:11:07:33 -0700] AddProfile failed: 
org.freedesktop.DBus.Error.UnknownMethod:No such interface 
`org.freedesktop.ColorManager' on object at path 
/org/freedesktop/ColorManager/devices/cups_HP_CP2025dn
   W [14/Oct/2013:11:07:33 -0700] AddProfile failed: 
org.freedesktop.DBus.Error.UnknownMethod:No such interface 
`org.freedesktop.ColorManager' on object at path 
/org/freedesktop/ColorManager/devices/cups_HP_CP2025dn
  Date: Mon Oct 14 11:18:57 2013
  InstallationDate: Installed on 2013-10-09 (5 days ago)
  InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release amd64 
(20130423.1)
  Lpstat: device for HP_CP2025dn: 
hp:/net/HP_Color_LaserJet_CP2025dn?ip=10.0.0.104
  MachineType: MSI MS-7693
  MarkForUpload: True
  Papersize: letter
  PpdFiles: HP_CP2025dn: HP Color LaserJet CP2020 Series with Duplexer 
Postscript (recommended)
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-31-generic 
root=UUID=cb16ff71-f756-4dac-889b-cfeef0ce3a6d ro quiet splash
  SourcePackage: hplip
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/28/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: V10.3
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: 970A-G43 (MS-7693)
  dmi.board.vendor: MSI
  dmi.board.version: 3.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: MSI
  dmi.chassis.version: 3.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrV10.3:bd03/28/2013:svnMSI:pnMS-7693:pvr3.0:rvnMSI:rn970A-G43(MS-7693):rvr3.0:cvnMSI:ct3:cvr3.0:
  dmi.product.name: MS-7693
  dmi.product.version: 3.0
  dmi.sys.vendor: MSI

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to