Bug 810874 - [abrt] PackageKit-0.7.3-1.fc17: backend.py:30:<module>:ValueError: Attempted relative import in non-package
[abrt] PackageKit-0.7.3-1.fc17: backend.py:30:<module>:ValueError: Attempted ...
Product: Fedora
Classification: Fedora
Component: PackageKit (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard Hughes
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-04-09 09:52 EDT by Martin Kho
Modified: 2013-07-31 20:38 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-31 20:38:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Martin Kho 2012-04-09 09:52:02 EDT
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

: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 09:59:56 EDT

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 12:37:35 EST

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


Martin Kho
Comment 3 Fedora End Of Life 2013-07-03 18:38:12 EDT
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-07-31 20:38:33 EDT
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.

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