Bug 712722 - [abrt] liveusb-creator-3.11.0-1.fc15: creator.py:41:<module>:ImportError: Bad magic number in /usr/lib/python2.7/site-packages/liveusb/releases.pyc
Summary: [abrt] liveusb-creator-3.11.0-1.fc15: creator.py:41:<module>:ImportError: Bad...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: liveusb-creator
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e46333f6d564522e81216059b66...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-12 18:01 UTC by Rakesh Jain
Modified: 2016-09-20 02:42 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 20:20:41 UTC
Type: ---


Attachments (Terms of Use)

Description Rakesh Jain 2011-06-12 18:01:34 UTC
abrt version: 2.0.1
architecture:   x86_64
cmdline:        
component:      liveusb-creator
executable:     /usr/sbin/liveusb-creator
kernel:         2.6.38.7-30.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        liveusb-creator-3.11.0-1.fc15
reason:         creator.py:41:<module>:ImportError: Bad magic number in /usr/lib/python2.7/site-packages/liveusb/releases.pyc
time:           Sun Jun 12 23:31:09 2011
uid:            500
username:       rakesh

backtrace:
:creator.py:41:<module>:ImportError: Bad magic number in /usr/lib/python2.7/site-packages/liveusb/releases.pyc
:
:Traceback (most recent call last):
:  File "/usr/sbin/liveusb-creator", line 89, in <module>
:    main()
:  File "/usr/sbin/liveusb-creator", line 82, in main
:    from liveusb.gui import LiveUSBApp
:  File "/usr/lib/python2.7/site-packages/liveusb/__init__.py", line 35, in <module>
:    from liveusb.creator import LiveUSBError
:  File "/usr/lib/python2.7/site-packages/liveusb/creator.py", line 41, in <module>
:    from liveusb.releases import releases
:ImportError: Bad magic number in /usr/lib/python2.7/site-packages/liveusb/releases.pyc
:
:Local variables in innermost frame:
:hashlib: None
:shutil: None
:logging: None
:re: None
:__builtins__: {'bytearray': <type 'bytearray'>, 'IndexError': <type 'exceptions.IndexError'>, 'all': <built-in function all>, 'help': Type help() for interactive help, or help(object) for help about object., 'vars': <built-in function vars>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'unicode': <type 'unicode'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'memoryview': <type 'memoryview'>, 'isinstance': <built-in function isinstance>, 'copyright': Copyright (c) 2001-2010 Python Software Foundation.
:All Rights Reserved.
:
:Copyright (c) 2000 BeOpen.com.
:All Rights Reserved.
:
:Copyright (c) 1995-2001 Corporation for National Research Initiatives.
:All Rights Reserved.
:
:Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
:All Rights Reserved., 'NameError': <type 'exceptions.NameError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'dict': <type 'dict'>, 'input': <built-in function input>, 'oct': <built-in function oct>, 'bin': <built-in function bin>, 'SystemExit': <type 'exceptions.SystemExit'>, 'StandardError': <type 'exceptions.StandardError'>, 'format': <built-in function format>, 'repr': <built-in function repr>, 'sorted': <built-in function sorted>, 'False': False, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'list': <type 'list'>, 'iter': <built-in function iter>, 'reload': <built-in function reload>, 'Warning': <type 'exceptions.Warning'>, '__package__': None, 'round': <built-in function round>, 'dir': <built-in function dir>, 'cmp': <built-in function cmp>, 'set': <type 'set'>, 'bytes': <type 'str'>, 'reduce': <built-in function reduce>, 'intern': <built-in function intern>, 'issubclass': <built-in function issubclass>, 'Ellipsis': Ellipsis, 'EOFError': <type 'exceptions.EOFError'>, 'locals': <built-in function locals>, 'BufferError': <type 'exceptions.BufferError'>, 'slice': <type 'slice'>, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'sum': <built-in function sum>, 'getattr': <built-in function getattr>, 'abs': <built-in function abs>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'print': <built-in function print>, 'True': True, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'None': None, 'hash': <built-in function hash>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'len': <built-in function len>, 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
:    for supporting Python development.  See www.python.org for more information., 'frozenset': <type 'frozenset'>, '__name__': '__builtin__', 'ord': <built-in function ord>, 'super': <type 'super'>, 'TypeError': <type 'exceptions.TypeError'>, 'license': See http://www.python.org/2.7/license.html, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'filter': <built-in function filter>, 'range': <built-in function range>, 'staticmethod': <type 'staticmethod'>, 'SystemError': <type 'exceptions.SystemError'>, 'BaseException': <type 'exceptions.BaseException'>, 'pow': <built-in function pow>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'float': <type 'float'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'globals': <built-in function globals>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'apply': <built-in function apply>, 'LookupError': <type 'exceptions.LookupError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'basestring': <type 'basestring'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'zip': <built-in function zip>, 'hex': <built-in function hex>, 'long': <type 'long'>, 'next': <built-in function next>, 'ImportError': <type 'exceptions.ImportError'>, 'chr': <built-in function chr>, 'xrange': <type 'xrange'>, 'type': <type 'type'>, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", 'Exception': <type 'exceptions.Exception'>, 'tuple': <type 'tuple'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'reversed': <type 'reversed'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'IOError': <type 'exceptions.IOError'>, 'hasattr': <built-in function hasattr>, 'delattr': <built-in function delattr>, 'setattr': <built-in function setattr>, 'raw_input': <built-in function raw_input>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'compile': <built-in function compile>, 'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'str': <type 'str'>, 'property': <type 'property'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'int': <type 'int'>, '__import__': <built-in function __import__>, 'KeyError': <type 'exceptions.KeyError'>, 'coerce': <built-in function coerce>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'file': <type 'file'>, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'unichr': <built-in function unichr>, 'id': <built-in function id>, 'OSError': <type 'exceptions.OSError'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'min': <built-in function min>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'execfile': <built-in function execfile>, 'any': <built-in function any>, 'complex': <type 'complex'>, 'bool': <type 'bool'>, 'ValueError': <type 'exceptions.ValueError'>, 'NotImplemented': NotImplemented, 'map': <built-in function map>, 'buffer': <type 'buffer'>, 'max': <built-in function max>, 'object': <type 'object'>, 'TabError': <type 'exceptions.TabError'>, 'callable': <built-in function callable>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, 'eval': <built-in function eval>, '__debug__': True, 'IndentationError': <type 'exceptions.IndentationError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'classmethod': <type 'classmethod'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'OverflowError': <type 'exceptions.OverflowError'>}
:__file__: None
:StringIO: None
:datetime: None
:subprocess: None
:tempfile: None
:ST_SIZE: None
:pformat: None
:time: None
:__name__: None
:__package__: None
:os: None
:__doc__: None

Comment 1 Luke Macken 2011-06-12 18:39:49 UTC
Can you please try and produce this issue with the latest version of the liveusb-creator that is in F15 (3.11.1), thanks!

https://admin.fedoraproject.org/updates/F15/FEDORA-2011-7359

Comment 2 Rakesh Jain 2011-06-12 19:02:24 UTC
after upgrade the live usb won't even start from the gnome desktop ..
from command line I get the below error:


[root@localhost rakesh]# liveusb-creator
QGtkStyle was unable to detect the current GTK+ theme.
Qt: Session management error: None of the authentication protocols specified are supported
[creator:926] extlinux not found! Only FAT filesystems will be supported
Traceback (most recent call last):
  File "/usr/sbin/liveusb-creator", line 89, in <module>
    main()
  File "/usr/sbin/liveusb-creator", line 84, in main
    LiveUSBApp(opts, sys.argv)
  File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 56, in __init__
    self.mywindow = LiveUSBDialog(opts, args)
  File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 268, in __init__
    self.live = LiveUSBCreator(opts=opts)
  File "/usr/lib/python2.7/site-packages/liveusb/creator.py", line 431, in __init__
    self.valid_fstypes.remove('ext4')
ValueError: list.remove(x): x not in list

Comment 3 Rakesh Jain 2011-06-12 20:17:48 UTC
(In reply to comment #1)
> Can you please try and produce this issue with the latest version of the
> liveusb-creator that is in F15 (3.11.1), thanks!
> 
> https://admin.fedoraproject.org/updates/F15/FEDORA-2011-7359

after upgrade the live usb won't even start from the gnome desktop ..
from command line I get the below error:


[root@localhost rakesh]# liveusb-creator
QGtkStyle was unable to detect the current GTK+ theme.
Qt: Session management error: None of the authentication protocols specified
are supported
[creator:926] extlinux not found! Only FAT filesystems will be supported
Traceback (most recent call last):
  File "/usr/sbin/liveusb-creator", line 89, in <module>
    main()
  File "/usr/sbin/liveusb-creator", line 84, in main
    LiveUSBApp(opts, sys.argv)
  File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 56, in __init__
    self.mywindow = LiveUSBDialog(opts, args)
  File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 268, in __init__
    self.live = LiveUSBCreator(opts=opts)
  File "/usr/lib/python2.7/site-packages/liveusb/creator.py", line 431, in
__init__
    self.valid_fstypes.remove('ext4')
ValueError: list.remove(x): x not in list

Comment 4 Luke Macken 2011-06-12 20:36:12 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Can you please try and produce this issue with the latest version of the
> > liveusb-creator that is in F15 (3.11.1), thanks!
> > 
> > https://admin.fedoraproject.org/updates/F15/FEDORA-2011-7359
> 
> after upgrade the live usb won't even start from the gnome desktop ..
> from command line I get the below error:
> 
> 
> [root@localhost rakesh]# liveusb-creator
> QGtkStyle was unable to detect the current GTK+ theme.
> Qt: Session management error: None of the authentication protocols specified
> are supported
> [creator:926] extlinux not found! Only FAT filesystems will be supported
> Traceback (most recent call last):
>   File "/usr/sbin/liveusb-creator", line 89, in <module>
>     main()
>   File "/usr/sbin/liveusb-creator", line 84, in main
>     LiveUSBApp(opts, sys.argv)
>   File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 56, in __init__
>     self.mywindow = LiveUSBDialog(opts, args)
>   File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 268, in __init__
>     self.live = LiveUSBCreator(opts=opts)
>   File "/usr/lib/python2.7/site-packages/liveusb/creator.py", line 431, in
> __init__
>     self.valid_fstypes.remove('ext4')
> ValueError: list.remove(x): x not in list

Ok, so that means that the initial bug is resolved, which exposed a different bug.

I just fixed the issue upstream, and it's building in koji now.
https://fedorahosted.org/liveusb-creator/changeset/b834b70938746cb6ec4f5453ccc49e9e501104bb

Thanks for the report, Rakesh.

Comment 5 Fedora End Of Life 2012-08-07 20:20:43 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.