pyWinContext crashes when saving
When i'm saving my configuration, the program crashes. It gives the pyWinContext-32 doesn't work anymore error.
(Note: The language in this picture is Dutch.)
It crashes in both direct edit mode as in file export mode.
I use the latest pre-compiled beta version (0.1.2). My Windows version is Windows 10 Enterprise LTSB 2016 (1607).
Currently i use the program for Sox, a commandline program i use to downsample audio and generate spectral images to see if a lossless file is lossless or not can also be handy if the MP3 file is encoded with LAME or not.
The commands are as followed:
Name: 24bit to 16bit Description: 24bit to 16bit audio
Command list: MKDIR converted FOR %%A IN (%*) DO sox %%A -G -b 16 "converted%%~nxA" rate -v -L dither
Filetypes: flac and wav
Name: Downsample to 48kHz Description: For 96kHz audio files
Command list: MKDIR converted FOR %%A IN (%*) DO sox %%A -G -b 16 "converted%%~nxA" rate -v -L 48000 dither
Filetypes: flac and wav
Name: Spectrogram Description: Lets see you if the quallity is good
Command list: FOR %%A IN (%*) DO sox %%A -n spectrogram -x 2000 -Y 2050 -o "%%~nA.png"
Filetypes: flac, mp3 and wav
Since there is no error message reporting yet, I'm not in a position to be able to say what could be happening simply from the fact that it crashes. Adding a means to log what's been done for troubleshooting is probably what I will next be working on to solve that exact problem.
In the meantime, the options for being able to debug this would require you to run from the source code with Python directly, from the command line as admin. If you would rather wait, I'll make sure to get back to you when logging is added.
@VodBox Where does the app store the .reg files? I'll try clearing them
@Melvinkooi Clearing %appdata%\pyWinContext fixed it.
@dxf It fixed my issue too. Thanks!
EDIT: Nope, after replacing a command line of an action it occurs again.
I'll have to take the time to add debugging and logging, and then get back to you on this @Melvinkooi . Been away from any PCs I can use for dev in the last few days, but will definitely set aside time once a replacement laptop arrives.
This happens when setting the menu context, leaving the option empty (no file type context) the program does not crash. At least in non-English language and on windows systems. But without this option, don't work.