Re: MediaTray 0.0.1

Abrolag <[email protected]> Fri, 13 Mar 2015 16:33:44 +0000
Newsgroups gmane.comp.desktop.rox.user
Message-ID <20150313163344.4d0924d0@debian>
On Fri, 13 Mar 2015 16:30:17 +0100
Dennis Tomas <[email protected]> wrote:

> On 13.03.2015 16:23, Abrolag wrote:
> > On Fri, 13 Mar 2015 13:54:05 +0100
> > Dennis Tomas <[email protected]> wrote:
> >
> >> Digging out TaskTray has got me back into ROX applet development, so I
> >> wrote a little applet to show removable media, since DevTray does not
> >> work on recent distros. You need python-gobject to run it. If
> >> python-wnck is installed, it also shows open filer windows of mounted
> >> volumes.
> >>
> >> Installation (on debian-based distros):
> >>
> >> sudo apt-get install git python-gobject python-wnck
> >> git clone --recursive https://github.com/dtomas/MediaTray.git
> >>
> >> And if you'd like to add it to an XFCE panel:
> >> cd MediaTray
> >> sudo python install_xfce.py
> > Absolutely delighted to see this. I've been bumping along the bottom using
> > pmount for some time :(
> >
> > However I'm getting a problem with removable hard drives with 2 partitions. Only
> > one of them disappears when it's unplugged, and I get the message:
> > KeyError: None
> Can you get at the stack trace (click on "Details" in the error dialog)?

I can see it, but I can't save it! I get a 'save' window that is totally
unresponsive :(

OK, worked that one out. You have to close the error report window before the
save one becomes active - strange!

Contents:
Traceback (most recent call last):
  File "/home/will/LocalProgs/MediaTray/AppletRun", line 20, in <module>
    MediaTrayMain().mainloop(sys.argv)
  File "/home/will/LocalProgs/MediaTray/mediatray/main.py", line 30, in mainloop
    Main.mainloop(self, app_args, MediaTray, self.__win_config)
  File "/home/will/LocalProgs/MediaTray/TrayLib/traylib/main.py", line 70, in
mainloop rox.mainloop()
  File
"/home/will/LocalProgs/MediaTray/rox-lib/ROX-Lib2/python/rox/__init__.py", line
359, in mainloop g.main() File
"/home/will/LocalProgs/MediaTray/mediatray/mediaicon_manager.py", line 38, in
__volume_removed self.tray.remove_icon(volume.get_uuid()) File
"/home/will/LocalProgs/MediaTray/TrayLib/traylib/tray.py", line 114, in
remove_icon icon = self.__icons[icon_id] KeyError: None



-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/