hannesrauhe / lunchinator

Tool to call colleagues for lunch
Other
1 stars 0 forks source link

cannot activate Auto Update on SLES #101

Closed hannesrauhe closed 10 years ago

hannesrauhe commented 10 years ago
[   INFO] Activating plugin 'Auto Update' of type 'general'
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/lunchinator/gui_controller.py", line 507, in toggle_plugin
    po = get_plugin_manager().activatePluginByName(p_name, p_cat)
  File "/usr/local/lib64/python2.6/site-packages/Yapsy-1.10.323-py2.6.egg/yapsy/ConfigurablePluginManager.py", line 225,
 in activatePluginByName
    plugin_object = self._component.activatePluginByName(plugin_name,category_name)
  File "/usr/local/lib64/python2.6/site-packages/Yapsy-1.10.323-py2.6.egg/yapsy/PluginManager.py", line 552, in activate
PluginByName
    plugin_to_activate.activate()
  File "/usr/share/lunchinator/plugins/online_update/__init__.py", line 40, in activate
    elif ExternalUpdateHandler.appliesToConfiguration():
  File "/usr/share/lunchinator/plugins/online_update/appupdate/external_update.py", line 16, in appliesToConfiguration
    p = subprocess.Popen(call,stdout=fh, stderr=fh)
  File "/usr/lib64/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
entropia1 commented 10 years ago

Should at least start now. However, the current nightly build does not seem to recognize it correctly on Ubuntu.

hannesrauhe commented 10 years ago

Sure, because the package has another name... Hm.

hannesrauhe commented 10 years ago

If you have the lunchinator installed via apt and a git version in parallel, this will not update, right? (not a huge problem, I know...)

entropia1 commented 10 years ago

It's not due to the package name, unfortunately. dpkg -s lunchinator returns with 0 anyways, because it was once installed. So simply adding an asterisk wouldn't help, I guess...

Git update is preferred over ExternalUpdate. So it will still update via git.

entropia1 commented 10 years ago

Well, if one actually executes dpkg, it works quite well.