Bug 630969 - [abrt] backintime-gnome-0.9.26-4.fc14: app.py:30:<module>:ImportError: No module named pynotify
Summary: [abrt] backintime-gnome-0.9.26-4.fc14: app.py:30:<module>:ImportError: No mod...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: backintime
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Tim Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7e3af426
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-07 14:06 UTC by leigh scott
Modified: 2011-02-13 09:00 UTC (History)
1 user (show)

Fixed In Version: backintime-1.0.6-2.fc14
Clone Of:
Environment:
Last Closed: 2011-02-13 09:00:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (708 bytes, text/plain)
2010-09-07 14:06 UTC, leigh scott
no flags Details

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.


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