Just installed OpenSong v3.4.8 (1457)-Beta.
Open song crashes when trying to print a song(leadsheet)
and before this error appears:
OutOfBoundsException, error is 'Width/Height needs to be in the range 1-32767':
OpenSong v3.4.8 (1457).1457 Build date: 2021-06-01 17:08:57 Windows
Stacktrace:
Picture.Constructor%%o<picture>i4i4i4
LeadSheetReport.Generate%b%o<leadsheetreport>f8o<group2d>
MainWindow.MainWindow.ActionSongPrint%%o<mainwindow.mainwindow>
MainWindow.MainWindow.btn_song_print_Action%%o<mainwindow.mainwindow>o<sbutton>
Delegate.IM_Invoke%%o<sbutton>
AddHandler.Stub.26%%
SButton.Event_MouseUp%%o<sbutton>i4i4
Delegate.Invoke%%
Application._CallFunctionWithExceptionHandling%%o<application>p
REALbasic._RuntimeRun
_Main
main</application></sbutton></sbutton></sbutton></mainwindow.mainwindow></mainwindow.mainwindow></group2d></leadsheetreport></picture>
Anonymous
The problem is cause by an invalid page setup or invalid or unexpected properties reported by windows for your selected (or default) printer.
Changes have been made concerning this issue which should help avoid the crash. They will be included in the next release.
I also had older versions of OpenSong installed and used 2.1.2 .
Now i have these versions uninstalled and now no crash occurs.
But in the print preview i see why i did go back to an older version.
The word-spacing in this version is too tight for some words. see attachment. But thats maybe another bug
Anonymous post was mine..
Yes, changes have been made regarding this. It should get much better. However I do not consider this to be solved. The printout is based on vector graphics. This provides the advantage that the quality of characters is better, printout is faster, printing to .pdf and .oxps yields smaller files, and text can be selected and copied. On the other hand there is still that spacing issue (to a smaller extent), because we cannot get the length of text strings as vector graphics and thus have to use the length of the same string rendered as a pixel image for spacing.
Work is in progress to have a native pdf export. We might then switch to rendering the pages for print as pixel graphics to avoid these mismatches.
Hey. I have the same problem. New computer. Windows 11. Someone on my team said they couldn't print to PDFs because the program crashed and I thought it might be their computer was old. But now mine is brand new and while I had no issues in the previous laptop, with this version of OpenSong (3.4.8 Beta) it doesn't even show a preview. Just goes in to "Not Responding". Help, anyone? Is there a way to maybe install an older version and maybe the problem will go away?
Hi,
Thank you for reporting. We would like to find the cause for this, so we can fix it. So far, we have no clue and need additional information from you. There are some things here you can try to get it working again. Please report back, what you tried and what effect it had.
I cannot replicate the issue here. I will have to set up a Windows 11 machine for testing, but as you report, the issue is not only on Windows 11.
Please make sure you have a printer installed and it is selected as the default printer. If you use Windows' auto-switching the default printer, please switch it off temporarily for testing.
Please work through the items above, in my first reply.
I think the issue is either related to your Windows setup, or some problem with the printer settings in OpenSong. You may first chek if deleting the file
preferences.plisthelps. It is located in AppData. Navigate there by enteringshell:appdata\OpenSonginto the address bar of windows explorer. Rename, move, or delete the file while OpenSong is not running. The file contains stuff OpenSong remembers between sessions, but not the configuration per se.Also check the Printer Settings in OpenSong. Make sure all configured fonts exist, font sizes, spacing, border thickness, page margins, and page dimensions all make sense. In case you can't open the dialog, or can't alter the values, delete, move, or rename the file
PrintSettingswhich is located in thesettingssubfolder to OpenSong's Document folder as configured in General Settings. Note: you cannot edit the page dimensions and margins on that page in Windows. Use the Page Setup button instead.