This is certainly a regression since lucid where this tool worked OK -
might be todo with the 2.6->2.7 python transition.

-- 
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to ocfs2-tools in Ubuntu.
https://bugs.launchpad.net/bugs/923754

Title:
  ocfs2console crashed with DeprecationWarning in
  /usr/lib/python2.7/popen2.py: The popen2 module is deprecated.  Use
  the subprocess module.

Status in “ocfs2-tools” package in Ubuntu:
  Confirmed

Bug description:
  Does not starting.

  $ ocfs2console

  ** WARNING **: Trying to register gtype 'GMountMountFlags' as enum
  when in fact it is of type 'GFlags'

  ** WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in 
fact it is of type 'GFlags'
  Traceback (most recent call last):
    File "/usr/sbin/ocfs2console", line 38, in <module>
      from ocfs2interface.console import main
    File "/usr/lib/python2.7/dist-packages/ocfs2interface/console.py", line 23, 
in <module>
      from menu import Menu
    File "/usr/lib/python2.7/dist-packages/ocfs2interface/menu.py", line 23, in 
<module>
      from pushconfig import pushconfig_ok
    File "/usr/lib/python2.7/dist-packages/ocfs2interface/pushconfig.py", line 
22, in <module>
      import o2cb_ctl
    File "/usr/lib/python2.7/dist-packages/ocfs2interface/o2cb_ctl.py", line 
20, in <module>
      from process import Process
    File "/usr/lib/python2.7/dist-packages/ocfs2interface/process.py", line 20, 
in <module>
      import popen2
    File "/usr/lib/python2.7/popen2.py", line 13, in <module>
      DeprecationWarning, stacklevel=2)
  DeprecationWarning: The popen2 module is deprecated.  Use the subprocess 
module.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: ocfs2console 1.6.3-4ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-10.18-generic 3.2.1
  Uname: Linux 3.2.0-10-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  CrashCounter: 1
  Date: Mon Jan 30 18:31:57 2012
  ExecutablePath: /usr/sbin/ocfs2console
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 
(20111129.1)
  InterpreterPath: /usr/bin/python2.7
  ProcCmdline: /usr/bin/python -W\ ignore::DeprecationWarning 
/usr/sbin/ocfs2console
  PythonArgs: ['/usr/sbin/ocfs2console']
  SourcePackage: ocfs2-tools
  Title: ocfs2console crashed with DeprecationWarning in 
/usr/lib/python2.7/popen2.py: The popen2 module is deprecated.  Use the 
subprocess module.
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/923754/+subscriptions

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

Reply via email to