package python3-os-xenapi 0.3.1-0ubuntu1 needs some python3 changes

Bug #1767697 reported by John Richardson
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-os-xenapi (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Just installing packages via Synaptic Package Manager

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: python3-os-xenapi 0.3.1-0ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Sat Apr 28 13:00:40 2018
ErrorMessage: installed python3-os-xenapi package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2018-04-28 (0 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
PackageArchitecture: all
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
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.1
SourcePackage: python-os-xenapi
Title: package python3-os-xenapi 0.3.1-0ubuntu1 failed to install/upgrade: installed python3-os-xenapi package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
John Richardson (jr78745) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Brian Murray (brian-murray) wrote :

From DpkgTerminalLog:

Setting up python3-os-xenapi (0.3.1-0ubuntu1) ...
  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/agent.py", line 68
    except TimeoutError, e: # noqa
                       ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/console.py", line 56
    except IOError, e: # noqa
                  ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/dom0_pluginlib.py", line 117
    except XenAPI.Failure, e: # noqa
                         ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/glance.py", line 77
    except urllib2.HTTPError, error: # noqa
                            ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/kernel.py", line 123
    except OSError, exc: # noqa
                  ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/utils.py", line 46
    except OSError, e: # noqa
                  ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/xenhost.py", line 73
    except utils.SubprocessException, e: # noqa
                                    ^
SyntaxError: invalid syntax

  File "/usr/lib/python3/dist-packages/os_xenapi/dom0/etc/xapi.d/plugins/xenstore.py", line 78
    except XenstoreError, e: # noqa
                        ^
SyntaxError: invalid syntax

There are quite a few SyntaxError's here.

summary: - package python3-os-xenapi 0.3.1-0ubuntu1 failed to install/upgrade:
- installed python3-os-xenapi package post-installation script subprocess
- returned error exit status 1
+ package python3-os-xenapi 0.3.1-0ubuntu1 needs some python3 changes
Changed in python-os-xenapi (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.