Bug 630969

Summary: [abrt] backintime-gnome-0.9.26-4.fc14: app.py:30:<module>:ImportError: No module named pynotify
Product: [Fedora] Fedora Reporter: leigh scott <leigh123linux>
Component: backintimeAssignee: Tim Jackson <rpm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: rpm
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: abrt_hash:7e3af426
Fixed In Version: backintime-1.0.6-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-13 09:00:47 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:
Attachments:
Description Flags
File: backtrace none

Description leigh scott 2010-09-07 14:06:13 UTC
abrt version: 1.1.13
architecture: x86_64
cmdline: python /usr/share/backintime/gnome/app.py
component: backintime
executable: /usr/share/backintime/gnome/app.py
kernel: 2.6.35.4-14.fc14.x86_64
package: backintime-gnome-0.9.26-4.fc14
reason: app.py:30:<module>:ImportError: No module named pynotify
release: Fedora release 14 (Laughlin)
time: 1283867902
uid: 500

backtrace
-----
app.py:30:<module>:ImportError: No module named pynotify

Traceback (most recent call last):
  File "/usr/share/backintime/gnome/app.py", line 30, in <module>
    import pynotify
ImportError: No module named pynotify

Local variables in innermost frame:
stat: <module 'stat' from '/usr/lib64/python2.7/stat.pyc'>
__builtins__: <module '__builtin__' (built-in)>
__file__: '/usr/share/backintime/gnome/app.py'
gtk: <module 'gtk' from '/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.pyc'>
pygtk: <module 'pygtk' from '/usr/lib64/python2.7/site-packages/pygtk.pyc'>
__package__: None
sys: <module 'sys' (built-in)>
__name__: '__main__'
os: <module 'os' from '/usr/lib64/python2.7/os.pyc'>
__doc__: None

comment
-----
You have a missing Requires, please add this to the spec file and rebuild.

Requires:  notify-python

How to reproduce
-----
1. Tried to run it
2. 
3.

Comment 1 leigh scott 2010-09-07 14:06:15 UTC
Created an attachment (id=443513)
File: backtrace

Comment 2 Tim Jackson 2011-02-02 18:15:05 UTC
A significant update to backintime has been made in Fedora 14+ which may solve this problem - please see https://admin.fedoraproject.org/updates/backintime-1.0.6-1.fc14 and bug #655263 for details.
Please could you test the update and see if you still experience it.

Comment 3 leigh scott 2011-02-02 18:40:24 UTC
The new package still give the error as you have failed to follow my advice to add the missing requires to the spec file

[leigh@localhost ~]$ /usr/bin/backintime-gnome
Traceback (most recent call last):
  File "/usr/share/backintime/gnome/app.py", line 30, in <module>
    import pynotify
ImportError: No module named pynotify

Comment 4 Tim Jackson 2011-02-02 19:20:57 UTC
Sorry, had a bunch of related bugs which I thought were all the same (backtraces from the core program rather than packaging issues) but this one was separate.
New package building now.

Comment 5 Fedora Update System 2011-02-02 19:25:50 UTC
backintime-1.0.6-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/backintime-1.0.6-2.fc14

Comment 6 leigh scott 2011-02-02 21:17:06 UTC
Hi Tim,

Ok that fixed the missing pynotify module error.
I have found another missing requirement (gloobus-preview)


[leigh@localhost ~]$ /usr/bin/backintime-gnome

Back In Time
Version: 1.0.6

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime-gnome --license' for details.

which: no gloobus-preview in (/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/leigh/bin)



Thanks

Leigh

Comment 7 Tim Jackson 2011-02-03 19:23:11 UTC
The gloobus-preview issue is completely different, and it's an optional dependency, nothing broken if it's not installed.

Comment 8 Fedora Update System 2011-02-13 09:00:34 UTC
backintime-1.0.6-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.