Page 1 of 1

Add OS/arch to spellcontrol check

Posted: Thu Mar 01, 2018 9:57 pm
by bds
Hi all --

I understand that this doesn't really qualify as a *common* problem, but it is one that I encounter occassionally: I use FreeBSD and I get the following error when I invoke oXygen or diff* from the command line:

Code: Select all


13:44:52,484 0 ERROR [ main ] ro.sync.azcheck.ui.spellcontrol.hunspell.f - The hunspell library or dictionary could not be loaded, due to java.lang.UnsupportedOperationException: Unknown OS/arch: freebsd/amd64
java.lang.UnsupportedOperationException: Unknown OS/arch: freebsd/amd64
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.k(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.m(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.<init>(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.d.e(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.f$_b.<init>(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.hunspell.f.hb(Unknown Source)
at ro.sync.azcheck.ui.spellcontrol.f.p(Unknown Source)
at ro.sync.azcheck.ui.p.x(Unknown Source)
at ro.sync.azcheck.ui.p.o(Unknown Source)
at ro.sync.azcheck.ui.p.vb(Unknown Source)
at ro.sync.azcheck.ui.p.lb(Unknown Source)
at ro.sync.azcheck.ui.p.m(Unknown Source)
at ro.sync.azcheck.ui.n.<init>(Unknown Source)
at ro.sync.azcheck.ui.i.<init>(Unknown Source)
at ro.sync.contentcompletion.editor.u.zen(Unknown Source)
at ro.sync.contentcompletion.editor.u.enableAutomaticSpellCheck(Unknown Source)
at ro.sync.exml.editor.pagetext.f.wjm(Unknown Source)
at ro.sync.exml.editor.pagetext.f.iyk(Unknown Source)
at ro.sync.exml.editor.xmleditor.e.j.iyk(Unknown Source)
at ro.sync.exml.editor.xmleditor.e.p.iyk(Unknown Source)
at ro.sync.exml.editor.p.ymg(Unknown Source)
at ro.sync.exml.editor.xmleditor.e.j.ymg(Unknown Source)
at ro.sync.exml.editor.vc.changePage(Unknown Source)
at ro.sync.exml.editor.vc.changePage(Unknown Source)
at ro.sync.exml.editor.validate.q.changePage(Unknown Source)
at ro.sync.exml.editor.vc.initFrame(Unknown Source)
at ro.sync.exml.editor.validate.q.initFrame(Unknown Source)
at ro.sync.exml.editor.xmleditor.sb.initFrame(Unknown Source)
at ro.sync.diff.ui.l.<init>(Unknown Source)
at ro.sync.diff.d.f.<init>(Unknown Source)
at ro.sync.diff.ui.d.t.<init>(Unknown Source)
at ro.sync.diff.ui.DiffFilesMainFrame.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at ro.sync.ui.application.ApplicationLauncher.d(Unknown Source)
at ro.sync.ui.application.ApplicationLauncher.launch(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at ro.sync.exml.Oxygen.main(Unknown Source)
Is this something you all might consider for a fix?
Thanks very much!

Re: Add OS/arch to spellcontrol check

Posted: Thu Mar 01, 2018 9:58 pm
by bds
And apologies - if this is more appropriate for the Feature Request subforum, please move it.

Thank you!

Re: Add OS/arch to spellcontrol check

Posted: Fri Mar 02, 2018 1:08 pm
by adrian
Hello,

FreeBSD isn't officially supported by Oxygen. What you're seeing is an error message from the Hunspell spell checker library loader. The spell checker implementation is native, so it tries to load a native library according to the detected platform and architecture. Oxygen provides spell checker implementations for Windows, Linux and macOS. However, FreeBSD doesn't quite fall in the Linux category, hence the error message.

I've logged a feature request for this, but AFAIK there are no plans to support FreeBSD in the near future.

Regards,
Adrian

Re: Add OS/arch to spellcontrol check

Posted: Mon Mar 19, 2018 11:47 pm
by bds
Hi Adrian,

that's perfectly reasonable. Thanks for your time!

Best,
Bridger