Running ddrescue gui on Windows

Asked by Christopher

Hi there,
I have tried to run ddrescue gui on windows but I have failed, even-though I have installed Python 2.7 and wxPython 3.0, an error show in the command promote.
I have had success compiling ddrescue 1.17 source code to a windows executable using cygwin, and it works perfectly.

Here is the error that shows when trying to run ddrescue gui python on windows cmd :

    warndlg = wx.MessageDialog(None, 'DDRescue-GUI has been unable to determine
if it is being run on a Linux system, or an Apple system. This information is re
quired, so please click yes for a Linux system, and click no for an Apple system
. Thank you.', 'DDRescue-GUI - Exclamation!', wx.YES_NO | wx.ICON_EXCLAMATION).S
howModal()
  File "G:\Python27\lib\site-packages\wx-3.0-msw\wx\_windows.py", line 3623, in
__init__
    _windows_.MessageDialog_swiginit(self,_windows_.new_MessageDialog(*args, **k
wargs))
wx._core.PyNoAppError: The wx.App object must be created first!

Question information

Language:
English Edit question
Status:
Solved
For:
DDRescue-GUI Edit question
Assignee:
Hamish McIntyre-Bhatty Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#2

Sorry! I never saw this because for some unknown reason I wasn't emailed, so it expired before I looked for new questions manually.

Anyway, sorry, DDRescue-GUI doesn't work on Windows, but I have now fixed the error shown in the description.

Hamish

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#3

I didn't see this before it expired

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) said :
#4

Answered and fixed the bug mentioned in the question.