Hey Guys,
While trying to print a song, as soon as I click "Selected Song > Print" the OpenSong app instantly stops responding.
I've tried the solutions on this tread: 497 to no avail.
While trying to save settings from "Settings > Print Settings..." I get the following error message:
NilObjectException:
OpenSong v3.4.8 (1457).1457 Build date: 2021-06-01 17:08:57 Windows
Stacktrace:
Window.ShowModalWithin%%o<Window>o<Window>
MainWindow.MainWindow._mnu_settings_print_Action%b%o<MainWindow.MainWindow>
Delegate.Invoke%%
Application._CallFunctionWithExceptionHandling%%o<Application>p
REALbasic._RuntimeRun
_Main
main
Could you please tell me how to proceed?
I appreciate your help!
Anonymous
Hi,
thank you for your report, and thank you for having searched the site for the problem and having tried many things already to solve the issue. That is very commendable.
The installation option "Reset OpenSong Preferences" replaces preferences.plist with a known good one, which is very similar to just deleting it, and so reverting to known good defaults.
Unfortunately I don't know what's going wrong, and I don't have many ideas left what to try.
One thing you can try is to remove all files from the settings folder in OpenSong's document folder while OpenSong is not running. Then, on the next start of OpenSong, it will ask to copy the defaults. Please decline. OpenSong will then use defaults for all it's settings that are not kept in preferences.plist. Now, without even opening up the settings, check if you can print a song, if the preview window opens and shows a proper rendering of the song, and if you then can print this song (or save it using the Microsoft Print to PDF printer). Try to open the print settings dialog from the preview window. If that worked, close the preview window and open the print settings window from the main menu.
If this all works, try to restore some of your previous settings at a time, and retry opening the preview, so you may narrow down, what setting makes it to fail, or, in the best case, restore all your former settings, but now working again.
If even resetting the setup as described above does not help, check if you can print from some other application.
You may also try some other printer. Or even switch to a different display driver (yes, printing utilizes services provided by the display driver on Windows).
Then, you may want to try a different user on the same machine. That may help.
What version of Windows are you using? Is this Windows 11?
The top level function in the stacktrace of your error message baffles me. It is a framework function not under our direct control. So, our only option is to try isolate the cause by trial and error.
Hey SvA, thanks for the prompt response.
I've done the process you suggested and it worked!
I'm using Windows 10.
If I find out what is causing that crash I'll let you know in this tread!
Thank you so much!