Rapid Photo Downloader

RPD dosnt start

Reported by Uwe Naumann on 2010-01-10
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rapid Photo Downloader
Medium
Damon Lynch

Bug Description

Ubuntu 9.04 64bit, Gnome Desktop. I cant start RPD:

naumannu@laptop:~$ rapid-photo-downloader
libnotify-Message: GetServerInformation call failed: Too few arguments in reply
Traceback (most recent call last):
  File "/usr/bin/rapid-photo-downloader", line 5, in <module>
    rapid.rapid.start ()
  File "/usr/lib/python2.6/dist-packages/rapid/rapid.py", line 3578, in start
    app = RapidApp (bus, '/', config.DBUS_NAME)
  File "/usr/lib/python2.6/dist-packages/rapid/rapid.py", line 2440, in __init__
    self.initPyNotify()
  File "/usr/lib/python2.6/dist-packages/rapid/rapid.py", line 2765, in initPyNotify
    if info['name'] == 'Notification Daemon':
TypeError: 'NoneType' object is unsubscriptable
naumannu@laptop:~$

Related branches

Damon Lynch (dlynch3) wrote :

Something seems to be wrong with your system setup regarding notification messages and python. Have you modified your setup in anyway with respect to these features?

Kookaburra (dimi-roger) wrote :

Debian Squeeze 32 bit, Openbox desktop

Hello, I have a similar problems ... I can't start RPD.

kooka@kooka-pc:~$ rapid-photo-downloader
/usr/lib/python2.5/site-packages/rapid/gnomeglade.py:131: Warning: g_set_prgname() called multiple times
  self.program = gnome.program_init(name, version)
libnotify-Message: GetServerInformation call failed: Too few arguments in reply
Traceback (most recent call last):
  File "/usr/bin/rapid-photo-downloader", line 5, in <module>
    rapid.rapid.start ()
  File "/usr/lib/python2.5/site-packages/rapid/rapid.py", line 3702, in start
    app = RapidApp (bus, '/', config.DBUS_NAME)
  File "/usr/lib/python2.5/site-packages/rapid/rapid.py", line 2521, in __init__
    self.initPyNotify()
  File "/usr/lib/python2.5/site-packages/rapid/rapid.py", line 2851, in initPyNotify
    if info['name'] == 'Notification Daemon':
TypeError: 'NoneType' object is unsubscriptable
kooka@kooka-pc:~$

Damon Lynch (dlynch3) on 2010-01-19
Changed in rapid:
importance: Undecided → Medium
assignee: nobody → Damon Lynch (dlynch3)
milestone: none → 0.1.3
Damon Lynch (dlynch3) wrote :

Please run the attached python file (test-pynotify.py), and copy and paste the results in this bug report, thanks.

You can run it like this:

python test-pynotify.py

Kookaburra (dimi-roger) wrote :
Download full text (4.5 KiB)

* The "install" return in Terminal :

kooka@kooka-pc:~/PaquetsDebian/rapid-photo-downloader-0/rapid-photo-downloader-0.1.2$ sudo python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
creating /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/common.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/rapid.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/paths.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/__init__.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/gnomeglade.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/prefs.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/config.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/higdefaults.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/ValidatedEntry.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/tableplusminus.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/idletube.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/media.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/misc.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/metadata.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/renamesubfolderprefs.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/renamesubfolderprefstest.py -> /usr/lib/python2.5/site-packages/rapid
creating /usr/lib/python2.5/site-packages/rapid/glade3
copying build/lib/rapid/glade3/rapid-photo-downloader-about.png -> /usr/lib/python2.5/site-packages/rapid/glade3
copying build/lib/rapid/glade3/rapid.glade -> /usr/lib/python2.5/site-packages/rapid/glade3
copying build/lib/rapid/glade3/image-missing.svg -> /usr/lib/python2.5/site-packages/rapid/glade3
byte-compiling /usr/lib/python2.5/site-packages/rapid/common.py to common.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/rapid.py to rapid.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/paths.py to paths.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/__init__.py to __init__.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/gnomeglade.py to gnomeglade.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/prefs.py to prefs.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/config.py to config.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/higdefaults.py to higdefaults.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/ValidatedEntry.py to ValidatedEntry.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/tableplusminus.py to tableplusminus.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/idletube.py to idletube.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/media.py to media.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/misc.py to misc.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/metadata.py to metadata.pyc
byte-compiling /usr/lib/python2.5/site-packages/rapid/renamesubfolderprefs.py to renamesubfolderprefs.pyc
byte-compiling /usr/lib/python2...

Read more...

Damon Lynch (dlynch3) wrote :

Thank you. Are you by any chance running the Awesome window manager?

Kookaburra (dimi-roger) wrote :

No sorry, I have just "Openbox" windows manager ...

Damon Lynch (dlynch3) wrote :

This is definitely a bug in another library / application, but obviously Rapid Photo Downloader needs to be able to handle it. I've added some code to handle the problem. Are you willing to help test it out?

Damon Lynch (dlynch3) on 2010-01-21
Changed in rapid:
status: New → Fix Committed
Damon Lynch (dlynch3) on 2010-01-22
Changed in rapid:
status: Fix Committed → Fix Released
Kookaburra (dimi-roger) wrote :

Sorry for late response ;)
Yes of course, I would help you to test it !
If you prefer, you have my e-mail on my launchpad account ! :)
Thanks.

Damon Lynch (dlynch3) wrote :

Try out the latest release then ;-) Hopefully it will work this time.

Kookaburra (dimi-roger) wrote :
Download full text (8.5 KiB)

Sorry, I have the same type of errors with the last release ... :-(
I think I have another bug on my Debian who makes theirs errors, but I don't know how to fix it ???

kooka@kooka-pc:~/PaquetsDebian/rapid-photo-downloader-0/rapid-photo-downloader-0.1.3$ sudo python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/rapid
copying rapid/common.py -> build/lib/rapid
copying rapid/rapid.py -> build/lib/rapid
copying rapid/paths.py -> build/lib/rapid
copying rapid/__init__.py -> build/lib/rapid
copying rapid/gnomeglade.py -> build/lib/rapid
copying rapid/prefs.py -> build/lib/rapid
copying rapid/config.py -> build/lib/rapid
copying rapid/higdefaults.py -> build/lib/rapid
copying rapid/ValidatedEntry.py -> build/lib/rapid
copying rapid/tableplusminus.py -> build/lib/rapid
copying rapid/idletube.py -> build/lib/rapid
copying rapid/media.py -> build/lib/rapid
copying rapid/misc.py -> build/lib/rapid
copying rapid/metadata.py -> build/lib/rapid
copying rapid/renamesubfolderprefs.py -> build/lib/rapid
copying rapid/renamesubfolderprefstest.py -> build/lib/rapid
creating build/lib/rapid/glade3
copying rapid/glade3/rapid.glade -> build/lib/rapid/glade3
copying rapid/glade3/rapid-photo-downloader-about.png -> build/lib/rapid/glade3
copying rapid/glade3/image-missing.svg -> build/lib/rapid/glade3
running build_scripts
creating build/scripts-2.5
copying and adjusting rapid-photo-downloader -> build/scripts-2.5
changing mode of build/scripts-2.5/rapid-photo-downloader from 644 to 755
running install_lib
creating /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/common.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/rapid.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/paths.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/__init__.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/gnomeglade.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/prefs.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/config.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/higdefaults.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/ValidatedEntry.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/tableplusminus.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/idletube.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/media.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/misc.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/metadata.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/renamesubfolderprefs.py -> /usr/lib/python2.5/site-packages/rapid
copying build/lib/rapid/renamesubfolderprefstest.py -> /usr/lib/python2.5/site-packages/rapid
creating /usr/lib/python2.5/site-packages/rapid/glade3
copying build/lib/rapid/glade3/rapid-photo-downloader-about.png -> /usr/lib/python2.5/site-packages/rapid/glade3
copying build/lib/rapid/glade3/rapid.glade -> /usr/lib/python2.5/site-packages/rapid/glade3
copying build/lib/rapid/glade3/image-m...

Read more...

Kookaburra (dimi-roger) wrote :

Thank to Damon Lynch for the solving of this bug by e-mail, good job !

:-)

Ok that's great. Sorry I didn't fix it properly the first time! It should
work well now. Please let me know if you don't get any notifications
whenever a download has finished.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments