Comment 12 for bug 1530656

Revision history for this message
goutam kodu (goutam-hplip) wrote : Re: [Bug 1530656] Re: printing will fail with python3.5 set as default

Hi wolf,

Thank you for confirming that hplip-3.15.11.run is working fine.
We will surely take a look at fixing this issue when Hplip package
installed from standard repo

Thank you,
goutam
On 15 Jan 2016 15:20, "Wolf Rogner" <email address hidden> wrote:

> What did I do:
>
> I redirected python3 to python3.5 (ln -s)
>
> I ran hplip-3.15.11.run which analyses and compiles the libraries
> according to the underlying system.
> It worked fine.
>
> printing works.
>
> The log messages suggest that the compilation uses python 2.6 (I have
> 2.7 as default, which indicates that the installation routines
> deliberately choose 2.6).
>
> What I observed is that graphical frontends of 3.15.11 differ from the
> utilities in 3.7.x (which is installed by default in 15.10).
>
> Thus I tried to figure out if the issue can be reverted to just
> requiring a fresh install of 3.7.x with python3.5 as default python3
> installation.
>
> I have no way of deinstalling the utilities (there is no uninstall
> switch in the installation or at least I didn't find it).
>
> So I can only install and confirm: It works.
>
> I cannot tell or research the reason and if it is possible to fix the
> issue by simply reinstalling hplip from the standard repo.
> >From a production point of view, I cannot install a library which is not
> supported through the standard repo.
>
> --
> You received this bug notification because you are subscribed to HPLIP.
> https://bugs.launchpad.net/bugs/1530656
>
> Title:
> printing will fail with python3.5 set as default
>
> Status in HPLIP:
> New
> Status in hplip package in Ubuntu:
> New
>
> Bug description:
> Setting Python 3.5 as the default for python3 breaks printing over
> HPlib.
>
> Steps to reproduce:
>
> sudo -s
> cd /usr/bin
> rm python3
> ln -s python3.5 python3
>
> ...
>
> print something using a hplip enabled printer -> printer stopped
>
> rm python3
> ln -s python3.4 python3 # this was the default setting after installation
>
> ...
>
> printing resumes
>
> I also observed a crash in the HPLip libraries which indicated the
> cause being in the hplip package. (this was not reproducable though)
>
> ProblemType: Bug
> DistroRelease: Ubuntu 15.10
> Package: hplip 3.15.7-0ubuntu4
> ProcVersionSignature: Ubuntu 4.2.0-22.27-generic 4.2.6
> Uname: Linux 4.2.0-22-generic x86_64
> NonfreeKernelModules: nvidia wl
> ApportVersion: 2.19.1-0ubuntu5
> Architecture: amd64
> CurrentDesktop: Unity
> Date: Sun Jan 3 15:30:56 2016
> InstallationDate: Installed on 2013-05-17 (960 days ago)
> InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64+mac
> (20130424)
> Lpstat: device for HP-Color-LaserJet-CP2025dn:
> hp:/net/HP_Color_LaserJet_CP2025dn?ip=10.1.0.20
> MachineType: Apple Inc. MacBookPro10,1
> Papersize: a4
> PpdFiles: Error: command ['fgrep', '-H', '*NickName',
> '/etc/cups/ppd/HP-Color-LaserJet-CP2025dn.ppd'] failed with exit code 2:
> grep: /etc/cups/ppd/HP-Color-LaserJet-CP2025dn.ppd: Permission denied
> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-22-generic
> root=UUID=3679e976-6405-4981-aa99-8c79d15e6aa3 ro quiet splash vt.handoff=7
> SourcePackage: hplip
> UpgradeStatus: Upgraded to wily on 2015-10-23 (72 days ago)
> dmi.bios.date: 12/21/2012
> dmi.bios.vendor: Apple Inc.
> dmi.bios.version: MBP101.88Z.00EE.B03.1212211437
> dmi.board.asset.tag: Base Board Asset Tag#
> dmi.board.name: Mac-C3EC7CD22292981F
> dmi.board.vendor: Apple Inc.
> dmi.board.version: MacBookPro10,1
> dmi.chassis.type: 10
> dmi.chassis.vendor: Apple Inc.
> dmi.chassis.version: Mac-C3EC7CD22292981F
> dmi.modalias:
> dmi:bvnAppleInc.:bvrMBP101.88Z.00EE.B03.1212211437:bd12/21/2012:svnAppleInc.:pnMacBookPro10,1:pvr1.0:rvnAppleInc.:rnMac-C3EC7CD22292981F:rvrMacBookPro10,1:cvnAppleInc.:ct10:cvrMac-C3EC7CD22292981F:
> dmi.product.name: MacBookPro10,1
> dmi.product.version: 1.0
> dmi.sys.vendor: Apple Inc.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/hplip/+bug/1530656/+subscriptions
>