Bug 810874

Summary: [abrt] PackageKit-0.7.3-1.fc17: backend.py:30:<module>:ValueError: Attempted relative import in non-package
Product: [Fedora] Fedora Reporter: Martin Kho <rh-bugzilla>
Component: PackageKitAssignee: Richard Hughes <hughsient>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: hughsient, jonathan, rvitale, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:28e9b83852f1c0b3e032ecd1c7aeed06a9f0b177
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-01 00:38:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kho 2012-04-09 13:52:02 UTC
libreport version: 2.0.10
abrt_version:   2.0.10
cmdline:        python -O /usr/lib/python2.7/site-packages/packagekit/backend.py /usr/lib/python2.7/site-packages/packagekit/enums.py /usr/lib/python2.7/site-packages/packagekit/filter.py /usr/lib/python2.7/site-packages/packagekit/__init__.py /usr/lib/python2.7/site-packages/packagekit/misc.py /usr/lib/python2.7/site-packages/packagekit/package.py /usr/lib/python2.7/site-packages/packagekit/progress.py
comment:        No user involvement. This error only shows up when abrt-gui is run as root.
executable:     /usr/lib/python2.7/site-packages/packagekit/backend.py
kernel:         3.3.1-3.fc17.x86_64
time:           Sat 07 Apr 2012 03:04:03 PM CEST
uid:            0
username:       root

backtrace:
:backend.py:30:<module>:ValueError: Attempted relative import in non-package
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/packagekit/backend.py", line 30, in <module>
:    from .enums import *
:ValueError: Attempted relative import in non-package
:
:Local variables in innermost frame:
:__builtins__: <module '__builtin__' (built-in)>
:__file__: '/usr/lib/python2.7/site-packages/packagekit/backend.py'
:traceback: <module 'traceback' from '/usr/lib64/python2.7/traceback.pyo'>
:__package__: None
:sys: <module 'sys' (built-in)>
:codecs: <module 'codecs' from '/usr/lib64/python2.7/codecs.pyo'>
:__name__: '__main__'
:os: <module 'os' from '/usr/lib64/python2.7/os.pyo'>
:__doc__: None
:print_function: _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)

Comment 1 Martin Kho 2012-04-09 13:59:56 UTC
Hi,

Not sure if it's relevant, but I've patched filter.py conform the commit mentioned in bug #748790.

Martin Kho

Comment 2 Martin Kho 2013-01-14 17:37:35 UTC
Hi,

I think this report can be closed. I've not seen this issue recently.

Thanks,

Martin Kho

Comment 3 Fedora End Of Life 2013-07-03 22:38:12 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is 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  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

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.

Comment 4 Fedora End Of Life 2013-08-01 00:38:33 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.