-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMA in Wine #230
Comments
Thanks for your input @alessivs
Let's take a look at some of SMA's claims:
I'm not familiar with C#, and so I have difficulty reading the source and verifying these claims or how productive the functionality is in practice. However should they be true, exposing the knowledge tree, elements, manipulating reviews and schedules and the ability to alter displayed content seem enormous to me. What about a I have seen no such work elsewhere to create a full fledged API for SM. The remote chance of it working in Linux under Wine seems an incredible opportunity to me to assist users in integrating SM into workflows - even if we have to learn C# to get things working in our niche. But perhaps my naivety is showing. |
Could you post the .NET stacktrace ? It should have been prepended to the rest of the text you have already posted. As far as I can tell, the full crash report should be structured like the excerpt below. From my limited experience with running .NET on Linux, and considering the technical implementation of SMA, I believe it will take more than tweaking your wine configuration to successfully run SMA, if that's possible at all. Compiling SMA with Mono would probably be a good start.
|
No longer having trouble with the installer (it no longer throws an error) but now am having trouble actually running the SuperMemoAssistant.exe. Attempting to start SuperMemoAssisstant.exe fails silently, producing only a Wine Virtual Desktop where I can see the SMA icon and a windows start button (courtesy of the Virtual Desktop).
Of note seems to be this DLL not found error:
|
Have you hit a blocking issue @nanjigen ? |
Description
Attempting to install SuperMemoAssistant in a Wine prefix using Lutris.
Expected behavior
Be able to run SuperMemoAssistant.exe in a Wine prefix.
The installer completes when the prefix is provided with the correct .NET version and a SMA dialogue appears saying the install was successful. However immediately after the winedbg backtrace appears and an SMA dialogue box appears saying that the application could not be started.
On inspecting the install files for SMA I see that the .exe's are in the correct folders. Perhaps the backtrace could reveal if we are missing some .dll (sometimes when it fails it says it could not find run32dll.exe, if that helps).
Logs, Screenshots, ...
If applicable, add relevant files:
My Documents\SuperMemoAssistant\Logs
)No logs produced (Dialogue box does appear however, but doesn't create any files in above folder).
Environment (fill where applicable)
Version:
SMA 2.0.3.435
No plugins used
Last version that did not exhibit the issue:
N/A
SM Version:
SM 18.04
OS: [e.g. Windows 10 64bit]
Manjaro Linux/Lutris with 32bit Wine prefix using a wine-4.21 Wine runner
OS Language: [e.g. English (UK), French (FR)]
English (AU)
Browser: [e.g. Chrome 68, Safari 45]
Firefox 71
Additional context
I first attempted to use the Wine prefix generated by @alessivs supermemo-wine .verb Here and later their Lutris version Here.
However these use
wine-mono
and SMA requires .NET 4.72 and so I created an additional script to test just the installer.Here is the .yml I used:
This can be run with
lutris -i sma-test.yml
Please also change instances of
nanjigen
with your own username, I'm not sure what the equivalent of $USER is in Windows (%USER% ??)This is the backtrace produced by Wine:
Maybe someone like @alessivs who is more versed in Wine could assist with some testing should they have the time.
The text was updated successfully, but these errors were encountered: