Project

Profile

Help

Bug #75

Error when checking for updates but no update is available

Added by Vincent Le Goff over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Sprint/Milestone:
% Done:

100%

Company:
-
Contact person:
-
Additional contact persons:
-

Description

When clicking on the Help -> Check for updates menu, and no update is available, an exception is raised:

Traceback (most recent call last):
  File "C:\python27\lib\site-packages\wx-3.0-msw\wx\_core.py", line 16766, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "C:\python27\lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core\kwargs\publisher.py", line 27, in sendMessage
    topicObj.publish(**kwargs)
  File "C:\python27\lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core\kwargs\publishermixin.py", line 24, in publish
    self._publish(msgKwargs)
  File "C:\python27\lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core\topicobj.py", line 376, in _publish
    self.__sendMessage(data, self, iterState)
  File "C:\python27\lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core\topicobj.py", line 397, in __sendMessage
    self._mix_callListener(listener, data, iterState)
  File "C:\python27\lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core\kwargs\publishermixin.py", line 64, in _mix_callListener
    listener(iterState.filteredArgs, self, msgKwargs)
  File "C:\python27\lib\site-packages\wx-3.0-msw\wx\lib\pubsub\core\kwargs\listenerimpl.py", line 43, in __call__
    cb(**kwargs)
  File "C:\Users\Vincent\src\cocomud\src\ui\window.py", line 453, in OnResponseUpdate
    wx.MessageBox(message, t("ui.message.information"),
  File "C:\python27\lib\site-packages\ytranslate\tools.py", line 98, in t
    return FSLoader.current_catalog.retrieve(address, count, **kwargs)
  File "C:\python27\lib\site-packages\ytranslate\catalog.py", line 241, in retrieve
    "catalog".format(repr(address)))
ValueError: address 'ui.message.information' cannot be found in this catalog

This probably comes from the fact that this particular message has been moved in the catalogs of translations.

Associated revisions

Revision fe34eba5 (diff) View on GitHub
Added by Vincent Le Goff over 3 years ago

Fix #75: when no update is available, explicitly checking for updates raises an exception

History

#1 Updated by Vincent Le Goff over 3 years ago

  • Status changed from Open to Closed
  • Assignee set to Vincent Le Goff
  • % Done changed from 0 to 100

Please register to edit this issue

Also available in: Atom PDF Tracking page