[Desktop-packages] [Bug 1759278] Re: hp-doctor: UnboundLocalError: local variable 'l' referenced before assignment

2019-03-26 Thread alain ivars
I have the same problem as Stdedos (stdedos)

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

Title:
  hp-doctor: UnboundLocalError: local variable 'l' referenced before
  assignment

Status in HPLIP:
  New
Status in hplip package in Ubuntu:
  New

Bug description:
  hp-doctor is trying to parse the Python version. Probably other tools
  are too.

  On Python 2, sys.version is "2.7.14+", whos parts cannot be parsed as an 
integer.
  On Python 3, sys.version is "3.6.5rc1", whos parts cannot be parsed as an 
integer.

  Neither of these will work.

  
  % hp-doctor
  Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in 
  check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
  python_ver = xint((sys.version).split(' ')[0])  #find the 
current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
  return l
  UnboundLocalError: local variable 'l' referenced before assignment

  
  (Note that my printer will only print "Unsupported Personality: UNKNOWN". 
This is probably an unrelated problem.)

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: hplip 3.17.10+repack0-5
  ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
  Uname: Linux 4.15.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu1
  Architecture: amd64
  Date: Tue Mar 27 14:49:56 2018
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  MachineType: System manufacturer System Product Name
  Papersize: a4
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-13-generic.efi.signed 
root=UUID=672510b8-afb9-425f-a58d-bd325f7c987a ro rootflags=subvol=@ nofb 
kernel.sysrq=1
  SourcePackage: hplip
  UpgradeStatus: Upgraded to bionic on 2018-02-19 (35 days ago)
  dmi.bios.date: 08/13/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2104
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8Z77-V
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2104:bd08/13/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-V:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1759278] Re: hp-doctor: UnboundLocalError: local variable 'l' referenced before assignment

2019-03-26 Thread alain ivars
My OS is:
$lsb_release -a 
  
14:39:55
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 18.04.2 LTS
Release:18.04
Codename:   bionic

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

Title:
  hp-doctor: UnboundLocalError: local variable 'l' referenced before
  assignment

Status in HPLIP:
  New
Status in hplip package in Ubuntu:
  New

Bug description:
  hp-doctor is trying to parse the Python version. Probably other tools
  are too.

  On Python 2, sys.version is "2.7.14+", whos parts cannot be parsed as an 
integer.
  On Python 3, sys.version is "3.6.5rc1", whos parts cannot be parsed as an 
integer.

  Neither of these will work.

  
  % hp-doctor
  Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in 
  check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
  python_ver = xint((sys.version).split(' ')[0])  #find the 
current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
  return l
  UnboundLocalError: local variable 'l' referenced before assignment

  
  (Note that my printer will only print "Unsupported Personality: UNKNOWN". 
This is probably an unrelated problem.)

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: hplip 3.17.10+repack0-5
  ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
  Uname: Linux 4.15.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu1
  Architecture: amd64
  Date: Tue Mar 27 14:49:56 2018
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  MachineType: System manufacturer System Product Name
  Papersize: a4
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-13-generic.efi.signed 
root=UUID=672510b8-afb9-425f-a58d-bd325f7c987a ro rootflags=subvol=@ nofb 
kernel.sysrq=1
  SourcePackage: hplip
  UpgradeStatus: Upgraded to bionic on 2018-02-19 (35 days ago)
  dmi.bios.date: 08/13/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2104
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8Z77-V
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr2104:bd08/13/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-V:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1787652] [NEW] package texlive-latex-recommended 2015.20160320-1ubuntu0.1 failed to install/upgrade: trying to overwrite '/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmap

2018-08-17 Thread alain ivars
Public bug reported:

after the upgrade from 16.04 to 18.04

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: texlive-latex-recommended 2015.20160320-1ubuntu0.1
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
Date: Fri Aug 17 21:32:43 2018
DuplicateSignature:
 package:texlive-latex-recommended:2015.20160320-1ubuntu0.1
 Unpacking texlive-latex-recommended (2017.20180305-1) over 
(2015.20160320-1ubuntu0.1) ...
 dpkg: error processing archive 
/tmp/apt-dpkg-install-rBs4fZ/361-texlive-latex-recommended_2017.20180305-1_all.deb
 (--unpack):
  trying to overwrite 
'/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/arabicdigits.map',
 which is also in package texlive-xetex 2015.20160320-1ubuntu0.1
ErrorMessage: trying to overwrite 
'/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/arabicdigits.map',
 which is also in package texlive-xetex 2015.20160320-1ubuntu0.1
InstallationDate: Installed on 2016-10-09 (677 days ago)
InstallationMedia: Ubuntu-MATE 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 
3.6.5-3ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 
2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt  1.6.3
SourcePackage: texlive-base
Title: package texlive-latex-recommended 2015.20160320-1ubuntu0.1 failed to 
install/upgrade: trying to overwrite 
'/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/arabicdigits.map',
 which is also in package texlive-xetex 2015.20160320-1ubuntu0.1
UpgradeStatus: Upgraded to bionic on 2018-08-17 (0 days ago)

** Affects: texlive-base (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-package bionic package-conflict

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

Title:
  package texlive-latex-recommended 2015.20160320-1ubuntu0.1 failed to
  install/upgrade: trying to overwrite '/usr/share/texlive/texmf-
  dist/fonts/misc/xetex/fontmapping/polyglossia/arabicdigits.map', which
  is also in package texlive-xetex 2015.20160320-1ubuntu0.1

Status in texlive-base package in Ubuntu:
  New

Bug description:
  after the upgrade from 16.04 to 18.04

  ProblemType: Package
  DistroRelease: Ubuntu 18.04
  Package: texlive-latex-recommended 2015.20160320-1ubuntu0.1
  ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
  Uname: Linux 4.4.0-38-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  Date: Fri Aug 17 21:32:43 2018
  DuplicateSignature:
   package:texlive-latex-recommended:2015.20160320-1ubuntu0.1
   Unpacking texlive-latex-recommended (2017.20180305-1) over 
(2015.20160320-1ubuntu0.1) ...
   dpkg: error processing archive 
/tmp/apt-dpkg-install-rBs4fZ/361-texlive-latex-recommended_2017.20180305-1_all.deb
 (--unpack):
trying to overwrite 
'/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/arabicdigits.map',
 which is also in package texlive-xetex 2015.20160320-1ubuntu0.1
  ErrorMessage: trying to overwrite 
'/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/arabicdigits.map',
 which is also in package texlive-xetex 2015.20160320-1ubuntu0.1
  InstallationDate: Installed on 2016-10-09 (677 days ago)
  InstallationMedia: Ubuntu-MATE 16.04.1 LTS "Xenial Xerus" - Release amd64 
(20160719)
  PackageArchitecture: all
  Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 
3.6.5-3ubuntu1
  PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 
2.7.15~rc1-1
  RelatedPackageVersions:
   dpkg 1.19.0.5ubuntu2
   apt  1.6.3
  SourcePackage: texlive-base
  Title: package texlive-latex-recommended 2015.20160320-1ubuntu0.1 failed to 
install/upgrade: trying to overwrite 
'/usr/share/texlive/texmf-dist/fonts/misc/xetex/fontmapping/polyglossia/arabicdigits.map',
 which is also in package texlive-xetex 2015.20160320-1ubuntu0.1
  UpgradeStatus: Upgraded to bionic on 2018-08-17 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/1787652/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp