I try to run a custom command when an icon is clicked but it fails. The custom command is "open.sh http://www.google.com". It gave me the following errors:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/googsystray/GIcon.py", line 143, in activate
subprocess.Popen(self.get_config())
NameError: global name 'subprocess' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/googsystray/GIcon.py", line 143, in activate
subprocess.Popen(self.get_config())
NameError: global name 'subprocess' is not defined
My custom script simply use the currently opened web browser instead of firefox
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I like the new features in svn…mail count indication and mark as read/spam/delete option. I just want to let you know that "run other command" is again broken. I know it's svn, there will be bug, I don't expect it fix…just letting you know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Seriously? With the same error in the log? That's the exact same code for running other commands as in 1.0.2, I don't see why it would act any differently.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try to run a custom command when an icon is clicked but it fails. The custom command is "open.sh http://www.google.com". It gave me the following errors:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/googsystray/GIcon.py", line 143, in activate
subprocess.Popen(self.get_config())
NameError: global name 'subprocess' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/googsystray/GIcon.py", line 143, in activate
subprocess.Popen(self.get_config())
NameError: global name 'subprocess' is not defined
My custom script simply use the currently opened web browser instead of firefox
My bad. I apparently messed that up when I cleaned up all my imports. Will be fixed in 1.0 when it gets released Real Soon Now.
I've been looking for something like this on linux for awhile. Thank you.
I'm still having problem with "run other command" option using 1.0.0 release. Please see the bug I reported here http://sourceforge.net/tracker/?func=detail&aid=2908467&group_id=277278&atid=1177508
I like the new features in svn…mail count indication and mark as read/spam/delete option. I just want to let you know that "run other command" is again broken. I know it's svn, there will be bug, I don't expect it fix…just letting you know.
Seriously? With the same error in the log? That's the exact same code for running other commands as in 1.0.2, I don't see why it would act any differently.